liminix-fork/pkgs/min-copy-closure/default.nix

17 lines
324 B
Nix
Raw Normal View History

{
stdenv
, nix
, cpio
2023-05-07 23:51:10 +02:00
, openssh
}: stdenv.mkDerivation {
name = "min-copy-closure";
2023-05-07 23:51:10 +02:00
buildInputs = [ ];
propagatedBuildInputs = [ cpio openssh nix ];
src = ./.;
installPhase = ''
mkdir -p $out/bin
2023-05-07 23:51:10 +02:00
cp min-copy-closure.sh $out/bin/min-copy-closure
2023-05-17 16:03:45 +02:00
cp liminix-rebuild.sh $out/bin/liminix-rebuild
'';
}