home

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

default.nix (227B)


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