aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-03-11 23:36:44 +0900
committernsfisis <nsfisis@gmail.com>2024-03-11 23:36:44 +0900
commit054533d3e8a46c64082ae804315944685ef5cca9 (patch)
treec637b642d839c64fd902716015cbfa5c7a0b36d1
parentec40e3fa1b4317fec126d6cc8ea112b4303abe79 (diff)
downloaddotfiles-054533d3e8a46c64082ae804315944685ef5cca9.tar.gz
dotfiles-054533d3e8a46c64082ae804315944685ef5cca9.tar.zst
dotfiles-054533d3e8a46c64082ae804315944685ef5cca9.zip
home-manager/php: update php to 8.3 and enable ffi
-rw-r--r--home-manager/home.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/home-manager/home.nix b/home-manager/home.nix
index da5d1b5..01f71d2 100644
--- a/home-manager/home.nix
+++ b/home-manager/home.nix
@@ -32,7 +32,6 @@ in
pkgs.neovim
pkgs.nodejs_18
pkgs.pandoc
- pkgs.php
pkgs.pwgen
pkgs.python311
pkgs.ripgrep
@@ -44,6 +43,15 @@ in
pkgs.vim
pkgs.zig
+ (pkgs.php83.buildEnv {
+ extensions = ({ enabled, all }: enabled ++ (with all; [
+ ffi
+ ]));
+ extraConfig = ''
+ ffi.enable=true
+ '';
+ })
+
pkgs.nodePackages.typescript-language-server
] ++ pkgs.lib.optional requiresWlClipboard pkgs.wl-clipboard;