From e0b73b8b9535cb56f2c158c19f108e6f42f7492d Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Thu, 20 Sep 2018 16:31:03 -0700 Subject: [PATCH] fix lookupAttrPath --- src/Nix.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nix.hs b/src/Nix.hs index 709ec93..8bd3b2b 100644 --- a/src/Nix.hs +++ b/src/Nix.hs @@ -76,7 +76,7 @@ lookupAttrPath updateEnv = "--attr-path" "--arg" "config" - "'{ allowBroken = true; allowUnfree = true; allowAliases = false; }'" & + "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" & (fmap (head . T.words . head . T.lines) >>> shE >>> rewriteError "nix-env -q failed to find package name with old version")