2023-05-06 21:47:03 +00:00
|
|
|
{
|
2024-06-30 15:58:29 +00:00
|
|
|
stdenv,
|
|
|
|
nix,
|
|
|
|
cpio,
|
|
|
|
openssh,
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
2023-05-06 21:47:03 +00:00
|
|
|
name = "min-copy-closure";
|
2023-05-07 21:51:10 +00:00
|
|
|
buildInputs = [ ];
|
2025-02-10 21:55:08 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
cpio
|
|
|
|
openssh
|
|
|
|
nix
|
|
|
|
];
|
2023-05-06 21:47:03 +00:00
|
|
|
src = ./.;
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
2023-05-19 22:49:11 +00:00
|
|
|
for i in min-copy-closure liminix-rebuild; do
|
|
|
|
echo $i
|
|
|
|
cp ''${i}.sh $out/bin/$i
|
|
|
|
done
|
2023-05-06 21:47:03 +00:00
|
|
|
'';
|
|
|
|
}
|