From 45752fc633d0991b320aa3f900a5a737a38c8f4c Mon Sep 17 00:00:00 2001 From: Anton-Latukha Date: Sun, 1 Nov 2020 19:56:58 +0200 Subject: [PATCH] shell.nix: use Haskell notation, use explicit attrs Since variadic (...) attr passing does not work in Nix - the least of evils - is to expicitly state the few attrs affecting the `shell.nix`. --- shell.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index 0e50343..ed4e26b 100644 --- a/shell.nix +++ b/shell.nix @@ -1 +1,5 @@ -{} @ attrs: (import ./. attrs).env +attrs@ + { compiler ? "ghc8101" + , withHoogle ? true + }: +(import ./. attrs).env