diff options
-rw-r--r-- | default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/default.nix b/default.nix index b561cb7dd..7223a46e6 100644 --- a/default.nix +++ b/default.nix @@ -1,8 +1,10 @@ -{ current-date -, current-host-name -, current-user-name +{ current-date ? abort "current-date not defined" +, current-host-name ? abort "current-host-name not defined" +, current-user-name ? builtins.getEnv "LOGNAME" }: +assert current-user-name != ""; + let lib = import <nixpkgs/lib>; |