diff --git a/shell.nix b/shell.nix index ed4e26b..501ae7b 100644 --- a/shell.nix +++ b/shell.nix @@ -1,5 +1,6 @@ -attrs@ - { compiler ? "ghc8101" - , withHoogle ? true - }: -(import ./. attrs).env +attrs@{...}: +let defaultAttrs = { + withHoogle = true; + compiler = "ghc8101"; +}; +in (import ./. (defaultAttrs // attrs)).env