summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2018-01-04 16:51:32 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2018-01-04 16:54:38 +0000
commitd7944aba3ea519d0fff5adefbab80a19552bcf27 (patch)
tree053c36d7334fe812143b5037301b799e145ccc46 /pkgs/development/haskell-modules/configuration-common.nix
parent61da89bc8a5490c06642f6ff4b9a6ea61e5dc13b (diff)
downloadnixlib-d7944aba3ea519d0fff5adefbab80a19552bcf27.tar
nixlib-d7944aba3ea519d0fff5adefbab80a19552bcf27.tar.gz
nixlib-d7944aba3ea519d0fff5adefbab80a19552bcf27.tar.bz2
nixlib-d7944aba3ea519d0fff5adefbab80a19552bcf27.tar.lz
nixlib-d7944aba3ea519d0fff5adefbab80a19552bcf27.tar.xz
nixlib-d7944aba3ea519d0fff5adefbab80a19552bcf27.tar.zst
nixlib-d7944aba3ea519d0fff5adefbab80a19552bcf27.zip
Use self rather than super to make stringbuilder overridable
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 4253283d3c86..473402e031c8 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -48,7 +48,7 @@ self: super: {
   clock = dontCheck super.clock;
   Dust-crypto = dontCheck super.Dust-crypto;
   hasql-postgres = dontCheck super.hasql-postgres;
-  hspec = super.hspec.override { stringbuilder = dontCheck super.stringbuilder; };
+  hspec = super.hspec.override { stringbuilder = dontCheck self.stringbuilder; };
   hspec-core = super.hspec-core.override { silently = dontCheck super.silently; temporary = dontCheck super.temporary; };
   hspec-expectations = dontCheck super.hspec-expectations;
   HTTP = dontCheck super.HTTP;