allow nix-env -f <stockholm>

This commit is contained in:
tv 2015-10-17 06:30:20 +02:00
parent fbab9828da
commit 41dc859d7e

View File

@ -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>;