Skip to content

Commit 4d4e8f4

Browse files
committed
Nix: Adjust test case.
1 parent c768c59 commit 4d4e8f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/Stack/NixSpec.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ spec = beforeAll setup $ afterAll teardown $ do
6363
it "sees that the only package asked for is glpk and adds GHC from nixpkgs mirror of LTS resolver" $ \T{..} -> inTempDir $ do
6464
writeFile (toFilePath stackDotYaml) sampleConfig
6565
lc <- loadConfig' manager
66-
(nixPackages $ configNix $ lcConfig lc) `shouldBe` ["glpk", "haskell.packages.lts-2_10.ghc"]
67-
66+
(nixPackages $ configNix $ lcConfig lc) `shouldBe` ["glpk"]
67+
(nixCompiler $ configNix $ lcConfig lc) Nothing Nothing `shouldBe` "haskell.packages.lts-2_10.ghc"

0 commit comments

Comments
 (0)