diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-22 12:49:20 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-22 12:49:20 +0100 |
commit | 9d90e7e281e8f4cf9371c17c812a1ac9c08aa66d (patch) | |
tree | 0b011ca0aeeef02dce03a3c825d9a037c5cfc01a /libs.nix | |
parent | 0f3047a77ee1e0b3d943e39d50301ba85821c572 (diff) | |
download | Nix-9d90e7e281e8f4cf9371c17c812a1ac9c08aa66d.tar.gz Nix-9d90e7e281e8f4cf9371c17c812a1ac9c08aa66d.tar.zst Nix-9d90e7e281e8f4cf9371c17c812a1ac9c08aa66d.zip |
Remove use of environment variables
Fixes https://git.immae.eu/mantisbt/view.php?id=113
Diffstat (limited to 'libs.nix')
-rw-r--r-- | libs.nix | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -36,8 +36,6 @@ in | |||
36 | src = fetchgitPrivate json.git; | 36 | src = fetchgitPrivate json.git; |
37 | }; | 37 | }; |
38 | 38 | ||
39 | checkEnv = var: builtins.stringLength (builtins.getEnv var) > 0; | ||
40 | |||
41 | wrap = { paths ? [], vars ? {}, file ? null, script ? null, name ? "wrap" }: | 39 | wrap = { paths ? [], vars ? {}, file ? null, script ? null, name ? "wrap" }: |
42 | assert file != null || script != null || | 40 | assert file != null || script != null || |
43 | abort "wrap needs 'file' or 'script' argument"; | 41 | abort "wrap needs 'file' or 'script' argument"; |