mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 17:16:15 +02:00
* Forgot to add.
This commit is contained in:
parent
39d45a6b09
commit
9b7df1ef00
1 changed files with 13 additions and 0 deletions
13
corepkgs/config.nix.in
Normal file
13
corepkgs/config.nix.in
Normal file
|
@ -0,0 +1,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@";
|
||||||
|
}
|
Loading…
Reference in a new issue