forked from Anankke/SSPanel-UIM
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
28 lines (27 loc) · 734 Bytes
/
Copy pathflake.nix
File metadata and controls
28 lines (27 loc) · 734 Bytes
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
{
description = "SSPanel V3 UIM mod";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils = {
url = "github:numtide/flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachSystem [ "armv7l-linux" "x86_64-linux" "x86_64-darwin" ] (system: let
pkgs = import nixpkgs {
system = system;
};
in
{
devShell = (pkgs.mkShell {
buildInputs = with pkgs; let
phpWithExtensions = php74.withExtensions ({ enabled, all }:
enabled ++ [ all.imagick all.xdebug ]);
in [
phpWithExtensions php74Packages.composer
];
});
}
);
}