mirror of
https://github.com/haskell-nix/hnix.git
synced 2024-09-11 06:55:38 +03:00
f0a82dc227
apply switch function only if returnShellEnv is not enable
9 lines
209 B
Nix
9 lines
209 B
Nix
attrs@{...}:
|
|
let defaultAttrs = {
|
|
# Defaults are put in this form deliberately. Details: #748
|
|
withHoogle = true;
|
|
returnShellEnv = true;
|
|
compiler = "ghc8107";
|
|
};
|
|
in (import ./. (defaultAttrs // attrs))
|