mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-07 03:45:34 +01:00
build: generate a phar version of build-configs
This commit is contained in:
parent
ae6155dc39
commit
3a86b4813a
4 changed files with 72 additions and 24 deletions
20
flake.nix
20
flake.nix
|
@ -10,22 +10,10 @@
|
|||
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"
|
||||
'';
|
||||
};
|
||||
packages.default = pkgs.runCommand "default" { src = "./."; } ''
|
||||
mkdir -p $out
|
||||
cp ./build-configs $out
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue