2023-05-06 23:47:03 +02:00
|
|
|
{
|
|
|
|
stdenv
|
|
|
|
, nix
|
|
|
|
, cpio
|
2023-05-07 23:51:10 +02:00
|
|
|
, openssh
|
2023-05-06 23:47:03 +02:00
|
|
|
}: stdenv.mkDerivation {
|
|
|
|
name = "min-copy-closure";
|
2023-05-07 23:51:10 +02:00
|
|
|
buildInputs = [ ];
|
|
|
|
propagatedBuildInputs = [ cpio openssh nix ];
|
2023-05-06 23:47:03 +02:00
|
|
|
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
|
2023-05-06 23:47:03 +02:00
|
|
|
'';
|
|
|
|
}
|