From d59d8621cd105b7e5f10cab6705388ccec7b19e1 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Mon, 28 Mar 2022 18:45:17 +0200 Subject: [PATCH] pakcs: build using GHC 8.10.7 Possibly updating the compiler will make it possible to build it with GHC 9.0.2 out of the box or patching it to work with it would be trivial (only errors so far are whitespace-related), but I couldn't be bothered at this time. Sadly the maintainer of the package has disappeared since adding it. --- pkgs/top-level/all-packages.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index aefa4d2fe484..1514342e245e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8830,7 +8830,11 @@ with pkgs; pagmo2 = callPackage ../development/libraries/pagmo2 { }; - pakcs = callPackage ../development/compilers/pakcs { }; + pakcs = callPackage ../development/compilers/pakcs { + # Doesn't compile with GHC 9.0 due to whitespace syntax changes + # see also https://github.com/NixOS/nixpkgs/issues/166108 + haskellPackages = haskell.packages.ghc8107; + }; pal = callPackage ../tools/misc/pal { };