2023-02-15 13:59:26 +00:00
|
|
|
{
|
2023-10-06 20:54:02 +00:00
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
2023-02-15 13:59:26 +00:00
|
|
|
|
2023-06-23 19:24:04 +00:00
|
|
|
outputs = inputs@{ flake-parts, ... }:
|
|
|
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
|
|
systems = [ "x86_64-linux" ];
|
|
|
|
|
|
|
|
perSystem = { config, self', inputs', pkgs, system, ... }: {
|
2023-10-06 20:54:02 +00:00
|
|
|
devShells.default = pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; [ php82 php82Packages.composer ];
|
|
|
|
};
|
|
|
|
|
|
|
|
packages.default = pkgs.stdenv.mkDerivation {
|
|
|
|
name = "build-configs2";
|
|
|
|
src = ".";
|
|
|
|
|
|
|
|
# buildPhase = ''
|
|
|
|
# echo "build"
|
|
|
|
# ls
|
|
|
|
# '';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
touch $out
|
|
|
|
# mkdir $out
|
|
|
|
# cp bin vendor $out
|
|
|
|
# ls "$out"
|
|
|
|
'';
|
2023-02-15 13:59:26 +00:00
|
|
|
};
|
2023-06-23 19:24:04 +00:00
|
|
|
};
|
|
|
|
};
|
2023-02-15 13:59:26 +00:00
|
|
|
}
|