Skip to content

Commit 5eec493

Browse files
committed
Use PHP config and extensions in devShell
1 parent 5f1e68b commit 5eec493

File tree

3 files changed

+190
-14
lines changed

3 files changed

+190
-14
lines changed

dev/flake.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,12 @@
285285
depends_on."mysql1-configure".condition = "process_completed";
286286
};
287287
};
288+
devShells.default = pkgs.mkShell {
289+
buildInputs = [
290+
php
291+
wp-cli
292+
];
293+
};
288294
};
289295
};
290296
}

flake.lock

Lines changed: 182 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
inputs = {
55
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
6+
dev.url = ./dev;
67
finefile = {
78
url = "github:john-shaffer/finefile";
89
inputs.nixpkgs.follows = "nixpkgs";
@@ -49,8 +50,8 @@
4950
omnix
5051
parallel
5152
siege
52-
wp-cli
5353
];
54+
inputsFrom = [ inputs.dev.devShells.${system}.default ];
5455
shellHook = ''
5556
echo
5657
echo -e "Run '\033[1mjust <recipe>\033[0m' to get started"

0 commit comments

Comments
 (0)