From 81f0ca32cc172b51dba3c6236b738fc34a32ce03 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 16 Apr 2018 21:01:23 +0200 Subject: try overriding self --- bragi.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bragi.nix b/bragi.nix index 59bcbd1e..ba1a121b 100644 --- a/bragi.nix +++ b/bragi.nix @@ -85,12 +85,12 @@ in rec { nixpkgs.config = { packageOverrides = oldPkgs: with oldPkgs; { haskellPackages = haskellPackages.override { - overrides = self: super: with super; { + overrides = self: super: with self; { encoding = haskell.lib.overrideCabal encoding ( oldAttrs: { src = fetchFromGitHub { owner = "pngwjpgh"; repo = "encoding"; rev = "extended-version-bounds"; sha256 = "0pzxixp384a1ywzj56pl7xc4ln7i9x6mq8spqjwcs80y0pgfpp9s"; }; }); inherit - (lib.mapAttrs (name: haskell.lib.dontCheck) super) + (lib.mapAttrs (name: haskell.lib.dontCheck) self) Glob filelock hedgehog; inherit (self.callPackage ./custom/thermoprint { inherit runCommand makeWrapper; extraPackages = (p: with p; [ persistent-postgresql ]); }) -- cgit v1.2.3