aboutsummaryrefslogtreecommitdiff
path: root/corepkgs/config.nix.in
blob: b324d732a1a2a655694ff83dbb9b55ea35bb1355 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
let
  fromEnv = var: def:
    let val = builtins.getEnv var; in
    if val != "" then val else def;
in {
  perl = "@perl@";
  shell = "@shell@";
  coreutils = "@coreutils@";
  bzip2 = fromEnv "NIX_BZIP2" "@bzip2@";
  tar = "@tar@";
  tr = "@tr@";
  nixBinDir = fromEnv "NIX_BIN_DIR" "@bindir@";
}