diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-12-30 00:40:08 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-12-30 00:40:08 +0100 |
commit | 6cd8d6ce21e3efeda631037851653c04ad64e41c (patch) | |
tree | 43fb8054ed293ce5d643d71f11def5e9c8e9a5d9 /libs.nix | |
parent | 02bf0d911c2f7b100e22f9d9fd0b1b6b39274293 (diff) | |
download | Nix-6cd8d6ce21e3efeda631037851653c04ad64e41c.tar.gz Nix-6cd8d6ce21e3efeda631037851653c04ad64e41c.tar.zst Nix-6cd8d6ce21e3efeda631037851653c04ad64e41c.zip |
Check environment variables at build time
Diffstat (limited to 'libs.nix')
-rw-r--r-- | libs.nix | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,4 +26,6 @@ in | |||
26 | name = "${json.meta.name}-${version}"; | 26 | name = "${json.meta.name}-${version}"; |
27 | src = fetchgit json.git; | 27 | src = fetchgit json.git; |
28 | }; | 28 | }; |
29 | |||
30 | checkEnv = var: builtins.stringLength (builtins.getEnv var) > 0; | ||
29 | } | 31 | } |