Work around nix default values behavior

This commit is contained in:
Guillaume Maudoux 2020-11-18 11:53:36 +01:00
parent b8cc8dfdee
commit ad078200f9
1 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,6 @@
attrs@ attrs@{...}:
{ compiler ? "ghc8101" let defaultAttrs = {
, withHoogle ? true withHoogle = true;
}: compiler = "ghc8101";
(import ./. attrs).env };
in (import ./. (defaultAttrs // attrs)).env