liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

default.nix (324B)


      1 {
      2   stdenv
      3 , nix
      4 , cpio
      5 , openssh
      6 }: stdenv.mkDerivation {
      7   name = "min-copy-closure";
      8   buildInputs = [ ];
      9   propagatedBuildInputs = [ cpio openssh nix ];
     10   src = ./.;
     11   installPhase = ''
     12     mkdir -p $out/bin
     13     for i in min-copy-closure liminix-rebuild; do
     14       echo $i
     15       cp ''${i}.sh $out/bin/$i
     16     done
     17   '';
     18 }