A layer on top of the NixOS module system to make some tasks simpler.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 331B

123456789101112131415161718192021
  1. { pkgs ? import <nixpkgs> { }
  2. , ...
  3. }:
  4. pkgs.stdenvNoCC.mkDerivation rec {
  5. name = "phoebe-${version}";
  6. version = "0.2";
  7. src = ./.;
  8. phases =
  9. [ "unpackPhase"
  10. "installPhase"
  11. "fixupPhase"
  12. ];
  13. installPhase = ''
  14. mkdir -p $out
  15. cp -rp bin modules lib pkgs scripts $out/
  16. chmod 0555 $out/bin/*
  17. '';
  18. }