From 423d3061b1e00767e594136260fee966502b477f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 16 Apr 2018 13:01:28 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bragi.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bragi.nix b/bragi.nix index a7059836..a9df4061 100644 --- a/bragi.nix +++ b/bragi.nix @@ -82,7 +82,8 @@ in rec { wantedBy = [ "network.target" ]; }; - nixpkgs.config.packageOverrides = pkgs: with pkgs; { + nixpkgs.config = { + packageOverrides = pkgs: with pkgs; { haskellPackages = haskellPackages.override { overrides = self: super: { encoding = haskell.lib.overrideCabal super.encoding ( oldAttrs: { src = fetchFromGitHub { owner = "pngwjpgh"; repo = "encoding"; rev = "extended-version-bounds"; sha256 = "0pzxixp384a1ywzj56pl7xc4ln7i9x6mq8spqjwcs80y0pgfpp9s"; }; } ); @@ -103,7 +104,8 @@ in rec { inherit (haskellPackages) trivmix thermoprint-server thermoprint-webgui tprint; }; - nixpkgs.config.allowUnfree = true; + allowUnfree = true; + }; environment.systemPackages = with pkgs; [ git -- cgit v1.2.3