diff options
Diffstat (limited to 'dev-haskell/stack/files/stack-2.5.1.1-disable-network-tests.patch')
-rw-r--r-- | dev-haskell/stack/files/stack-2.5.1.1-disable-network-tests.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-haskell/stack/files/stack-2.5.1.1-disable-network-tests.patch b/dev-haskell/stack/files/stack-2.5.1.1-disable-network-tests.patch new file mode 100644 index 000000000000..d3890d16af9a --- /dev/null +++ b/dev-haskell/stack/files/stack-2.5.1.1-disable-network-tests.patch @@ -0,0 +1,22 @@ +diff --git a/src/test/Stack/ConfigSpec.hs b/src/test/Stack/ConfigSpec.hs +index 0b1b93f..d047d86 100644 +--- a/src/test/Stack/ConfigSpec.hs ++++ b/src/test/Stack/ConfigSpec.hs +@@ -183,7 +183,7 @@ spec = beforeAll setup $ do + boptsReconfigure `shouldBe` True + boptsCabalVerbose `shouldBe` True + +- it "finds the config file in a parent directory" $ inTempDir $ do ++ xit "finds the config file in a parent directory" $ inTempDir $ do + writeFile "package.yaml" "name: foo" + writeFile (toFilePath stackDotYaml) sampleConfig + parentDir <- getCurrentDirectory >>= parseAbsDir +@@ -194,7 +194,7 @@ spec = beforeAll setup $ do + bc <- runRIO config $ withBuildConfig ask + view projectRootL bc `shouldBe` parentDir + +- it "respects the STACK_YAML env variable" $ inTempDir $ do ++ xit "respects the STACK_YAML env variable" $ inTempDir $ do + withSystemTempDir "config-is-here" $ \dir -> do + let stackYamlFp = toFilePath (dir </> stackDotYaml) + writeFile stackYamlFp sampleConfig |