-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
42 lines (39 loc) · 1017 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=24.05";
unstable-pkgs.url = "github:nixos/nixpkgs?ref=770e9947f466ce80c414702b0db27123dd985eb8";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, unstable-pkgs, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
unstable = unstable-pkgs.legacyPackages.${system};
php = unstable.php83.buildEnv {
extensions = ({ enabled, all }: enabled ++ (with all; [
redis
pcov
]));
};
packages = with pkgs; [
unstable.docker_27
python312
unstable.uv
unstable.bun
unstable.biome
symfony-cli
pulumi
gnupg
sops
php
php.packages.composer
just
];
in
{
devShell = pkgs.mkShell {
buildInputs = packages;
};
}
);
}