liminix-fork/pkgs/min-copy-closure/default.nix
2023-05-17 15:38:22 +01:00

16 lines
324 B
Nix

{
stdenv
, nix
, cpio
, openssh
}: stdenv.mkDerivation {
name = "min-copy-closure";
buildInputs = [ ];
propagatedBuildInputs = [ cpio openssh nix ];
src = ./.;
installPhase = ''
mkdir -p $out/bin
cp min-copy-closure.sh $out/bin/min-copy-closure
cp liminix-rebuild.sh $out/bin/liminix-rebuild
'';
}