summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-16 21:01:23 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-16 21:01:23 +0200
commit81f0ca32cc172b51dba3c6236b738fc34a32ce03 (patch)
treed1ac903c97ebb8e07e1930d932c1e73e070aac9d /bragi.nix
parentc8b84c2b2d57d9b7cf7e0480c9ee34f2101bb8b3 (diff)
downloadnixos-81f0ca32cc172b51dba3c6236b738fc34a32ce03.tar
nixos-81f0ca32cc172b51dba3c6236b738fc34a32ce03.tar.gz
nixos-81f0ca32cc172b51dba3c6236b738fc34a32ce03.tar.bz2
nixos-81f0ca32cc172b51dba3c6236b738fc34a32ce03.tar.xz
nixos-81f0ca32cc172b51dba3c6236b738fc34a32ce03.zip
try overriding self
Diffstat (limited to 'bragi.nix')
-rw-r--r--bragi.nix4
1 files 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 {
85 nixpkgs.config = { 85 nixpkgs.config = {
86 packageOverrides = oldPkgs: with oldPkgs; { 86 packageOverrides = oldPkgs: with oldPkgs; {
87 haskellPackages = haskellPackages.override { 87 haskellPackages = haskellPackages.override {
88 overrides = self: super: with super; { 88 overrides = self: super: with self; {
89 encoding = haskell.lib.overrideCabal encoding ( oldAttrs: { 89 encoding = haskell.lib.overrideCabal encoding ( oldAttrs: {
90 src = fetchFromGitHub { owner = "pngwjpgh"; repo = "encoding"; rev = "extended-version-bounds"; sha256 = "0pzxixp384a1ywzj56pl7xc4ln7i9x6mq8spqjwcs80y0pgfpp9s"; }; 90 src = fetchFromGitHub { owner = "pngwjpgh"; repo = "encoding"; rev = "extended-version-bounds"; sha256 = "0pzxixp384a1ywzj56pl7xc4ln7i9x6mq8spqjwcs80y0pgfpp9s"; };
91 }); 91 });
92 inherit 92 inherit
93 (lib.mapAttrs (name: haskell.lib.dontCheck) super) 93 (lib.mapAttrs (name: haskell.lib.dontCheck) self)
94 Glob filelock hedgehog; 94 Glob filelock hedgehog;
95 inherit 95 inherit
96 (self.callPackage ./custom/thermoprint { inherit runCommand makeWrapper; extraPackages = (p: with p; [ persistent-postgresql ]); }) 96 (self.callPackage ./custom/thermoprint { inherit runCommand makeWrapper; extraPackages = (p: with p; [ persistent-postgresql ]); })