about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/patches
diff options
context:
space:
mode:
authorIlan Joselevich <personal@ilanjoselevich.com>2023-07-09 18:00:26 +0300
committerIlan Joselevich <personal@ilanjoselevich.com>2023-07-09 18:02:44 +0300
commit65f90b5469e0b036262d21822c942f71274f897a (patch)
tree693dd3319121eb7be1cdd7d59c7a968aa05501a7 /pkgs/development/haskell-modules/patches
parentca0091f00ba635f486185f2613face27c5699052 (diff)
downloadnixlib-65f90b5469e0b036262d21822c942f71274f897a.tar
nixlib-65f90b5469e0b036262d21822c942f71274f897a.tar.gz
nixlib-65f90b5469e0b036262d21822c942f71274f897a.tar.bz2
nixlib-65f90b5469e0b036262d21822c942f71274f897a.tar.lz
nixlib-65f90b5469e0b036262d21822c942f71274f897a.tar.xz
nixlib-65f90b5469e0b036262d21822c942f71274f897a.tar.zst
nixlib-65f90b5469e0b036262d21822c942f71274f897a.zip
haskellPackages.{cachix,hercules-ci-agent}: fix build
Diffstat (limited to 'pkgs/development/haskell-modules/patches')
-rw-r--r--pkgs/development/haskell-modules/patches/hercules-ci-agent-cachix-1.6.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/pkgs/development/haskell-modules/patches/hercules-ci-agent-cachix-1.6.patch b/pkgs/development/haskell-modules/patches/hercules-ci-agent-cachix-1.6.patch
deleted file mode 100644
index 71145a3a3e4a..000000000000
--- a/pkgs/development/haskell-modules/patches/hercules-ci-agent-cachix-1.6.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff --git a/hercules-ci-agent/hercules-ci-agent/Hercules/Agent/Cachix.hs b/hercules-ci-agent/hercules-ci-agent/Hercules/Agent/Cachix.hs
-index 849d9bc..972bc90 100644
---- hercules-ci-agent/hercules-ci-agent/Hercules/Agent/Cachix.hs
-+++ hercules-ci-agent/hercules-ci-agent/Hercules/Agent/Cachix.hs
-@@ -17,6 +17,7 @@ import Hercules.Agent.Log
- import Hercules.CNix.Store (StorePath)
- import Hercules.Error
- import qualified Hercules.Formats.CachixCache as CachixCache
-+import qualified Data.Conduit as Conduit
- import Protolude
- 
- push :: Text -> [StorePath] -> Int -> App ()
-@@ -36,6 +37,9 @@ push cache paths workers = withNamedContext "cache" cache $ do
-         Cachix.Push.PushParams
-           { pushParamsName = Agent.Cachix.pushCacheName pushCache,
-             pushParamsSecret = Agent.Cachix.pushCacheSecret pushCache,
-+#if MIN_VERSION_cachix(1,6,0)
-+            pushOnClosureAttempt = \_ missing -> return missing,
-+#endif
-             pushParamsStore = nixStore,
-             pushParamsClientEnv = clientEnv,
-             pushParamsStrategy = \storePath ->
-@@ -59,6 +63,9 @@ push cache paths workers = withNamedContext "cache" cache $ do
-                       compressionLevel = 2,
- #else
-                       withXzipCompressor = Cachix.Push.defaultWithXzipCompressor,
-+#endif
-+#if MIN_VERSION_cachix(1,6,0)
-+                      onUncompressedNARStream = \_ _ -> Conduit.awaitForever Conduit.yield,
- #endif
-                       omitDeriver = False
-                     }