home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

default.nix (201B)


      1 { stdenv }:
      2 
      3 stdenv.mkDerivation rec {
      4   name = "vrsync";
      5   src = ./.;
      6 
      7   phases = [ "install" ];
      8 
      9   install = ''
     10     mkdir -p $out/bin
     11     cp $src/vrsync $out/bin
     12     chmod +x $out/bin/vrsync
     13   '';
     14 }