about summary refs log tree commit diff
path: root/corepkgs/config.nix.in
blob: 1be4bd0904ba9b66c10cf6988622d7ba6f26f2d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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@";
  nixBinDir = fromEnv "NIX_BIN_DIR" "@bindir@";
}