about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2019-03-16 10:38:12 +0100
committerJoachim Breitner <mail@joachim-breitner.de>2019-03-16 11:32:39 +0100
commitc1eeb8f3abe92e41e5d3bc0a584dcb1c924c4a57 (patch)
treead99a840aa797986a50a1d3649feaea25e27c11a /pkgs/development/haskell-modules/configuration-common.nix
parent3aecf21239d105aadad229595348a0da4bcdbcd8 (diff)
downloadnixlib-c1eeb8f3abe92e41e5d3bc0a584dcb1c924c4a57.tar
nixlib-c1eeb8f3abe92e41e5d3bc0a584dcb1c924c4a57.tar.gz
nixlib-c1eeb8f3abe92e41e5d3bc0a584dcb1c924c4a57.tar.bz2
nixlib-c1eeb8f3abe92e41e5d3bc0a584dcb1c924c4a57.tar.lz
nixlib-c1eeb8f3abe92e41e5d3bc0a584dcb1c924c4a57.tar.xz
nixlib-c1eeb8f3abe92e41e5d3bc0a584dcb1c924c4a57.tar.zst
nixlib-c1eeb8f3abe92e41e5d3bc0a584dcb1c924c4a57.zip
Import cross-compilation patch for clock
taken form https://github.com/input-output-hk/iohk-nix/blob/master/patches/clock-0.7.2.patch
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 9b89787531cc..22cbd4dbf25a 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -48,7 +48,6 @@ self: super: {
 
   # Break infinite recursions.
   attoparsec-varword = super.attoparsec-varword.override { bytestring-builder-varword = dontCheck self.bytestring-builder-varword; };
-  clock = dontCheck super.clock;
   Dust-crypto = dontCheck super.Dust-crypto;
   hasql-postgres = dontCheck super.hasql-postgres;
   hspec-core = super.hspec-core.override { silently = dontCheck self.silently; temporary = dontCheck self.temporary; };
@@ -1037,6 +1036,8 @@ self: super: {
   # https://github.com/dmwit/encoding/pull/3
   encoding = appendPatch super.encoding ./patches/encoding-Cabal-2.0.patch;
 
+  clock = dontCheck (appendPatch super.clock ./patches/clock-0.7.2.patch);
+
   # Work around overspecified constraint on github ==0.18.
   github-backup = doJailbreak super.github-backup;