about summary refs log blame commit diff
path: root/corepkgs/config.nix.in
blob: 26e821d0e2d7cc871085f47f8cf2e0913eabc77f (plain) (tree)
1
2
3
4
5
6
7
8
9
10







                                     

                    

                
                  

                                               
let
  fromEnv = var: def:
    let val = builtins.getEnv var; in
    if val != "" then val else def;
in {
  perl = "@perl@";
  shell = "@shell@";
  coreutils = "@coreutils@";
  bzip2 = "@bzip2@";
  xz = "@xz@";
  tar = "@tar@";
  tr = "@tr@";
  curl = "@curl@";
  nixBinDir = fromEnv "NIX_BIN_DIR" "@bindir@";
}