diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-16 12:53:53 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-16 12:53:53 +0200 |
| commit | 907554c15a1b7ed02e54688eb8ffe2b9cff39e25 (patch) | |
| tree | f2ccbd8cc69653b2c88943168596206894405254 | |
| parent | df4e3499c9dd2e1ef79db1dde40eeb7f6b7f4c88 (diff) | |
| download | nixos-907554c15a1b7ed02e54688eb8ffe2b9cff39e25.tar nixos-907554c15a1b7ed02e54688eb8ffe2b9cff39e25.tar.gz nixos-907554c15a1b7ed02e54688eb8ffe2b9cff39e25.tar.bz2 nixos-907554c15a1b7ed02e54688eb8ffe2b9cff39e25.tar.xz nixos-907554c15a1b7ed02e54688eb8ffe2b9cff39e25.zip | |
…
| -rw-r--r-- | bragi.nix | 9 |
1 files changed, 4 insertions, 5 deletions
| @@ -82,11 +82,10 @@ in rec { | |||
| 82 | wantedBy = [ "network.target" ]; | 82 | wantedBy = [ "network.target" ]; |
| 83 | }; | 83 | }; |
| 84 | 84 | ||
| 85 | nixpkgs.config.packageOverrides = oldPkgs: | 85 | nixpkgs.config.packageOverrides = oldPkgs: { |
| 86 | rec { | ||
| 87 | haskellPackages = oldPkgs.haskellPackages.override { | 86 | haskellPackages = oldPkgs.haskellPackages.override { |
| 88 | overrides = self: super: rec { | 87 | overrides = self: super: { |
| 89 | encoding = oldPkgs.haskell.lib.overrideCabal encoding ( oldAttrs: { src = pkgs.fetchFromGitHub { owner = "pngwjpgh"; repo = "encoding"; rev = "extended-version-bounds"; sha256 = "0pzxixp384a1ywzj56pl7xc4ln7i9x6mq8spqjwcs80y0pgfpp9s"; }; } ); | 88 | encoding = pkgs.haskell.lib.overrideCabal super.encoding ( oldAttrs: { src = pkgs.fetchFromGitHub { owner = "pngwjpgh"; repo = "encoding"; rev = "extended-version-bounds"; sha256 = "0pzxixp384a1ywzj56pl7xc4ln7i9x6mq8spqjwcs80y0pgfpp9s"; }; } ); |
| 90 | trivmix = self.callPackage ./custom/trivmix/trivmix.nix {}; | 89 | trivmix = self.callPackage ./custom/trivmix/trivmix.nix {}; |
| 91 | inherit | 90 | inherit |
| 92 | (lib.mapAttrs (name: oldPkgs.haskell.lib.dontCheck) super) | 91 | (lib.mapAttrs (name: oldPkgs.haskell.lib.dontCheck) super) |
| @@ -101,7 +100,7 @@ in rec { | |||
| 101 | 100 | ||
| 102 | mpd = oldPkgs.mpd.override { gmeSupport = false; pulseaudioSupport = false; }; | 101 | mpd = oldPkgs.mpd.override { gmeSupport = false; pulseaudioSupport = false; }; |
| 103 | 102 | ||
| 104 | inherit (haskellPackages) trivmix thermoprint-server thermoprint-webgui tprint; | 103 | inherit (pkgs.haskellPackages) trivmix thermoprint-server thermoprint-webgui tprint; |
| 105 | }; | 104 | }; |
| 106 | 105 | ||
| 107 | nixpkgs.config.allowUnfree = true; | 106 | nixpkgs.config.allowUnfree = true; |
