mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
dff372db3c
problem is that configuration values below a mkIf are evaluated strictly even if the condition is false. Thus "${luksRoot}" causes an evaluation error. As a workaround, use the empty string instead of `null' as the default value. However, we should really fix the laziness of mkIf. It's likely that NixOS evaluation would be much faster if it didn't have to evaluate disabled configuration values. svn path=/nixos/trunk/; revision=24477 |
||
---|---|---|
.. | ||
kernel.nix | ||
luksroot.nix | ||
modprobe.nix | ||
stage-1-init.sh | ||
stage-1.nix | ||
stage-2-init.sh | ||
stage-2.nix |