Skip to content

Commit

Permalink
Remove patch replaced by ghc source patch
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Mar 15, 2024
1 parent 02a578c commit 4f381e2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
11 changes: 0 additions & 11 deletions modules/configuration-nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,6 @@ in {
(config.hsPkgs.buildPackages.happy.components.exes.happy or pkgs.buildPackages.happy)
]);

packages.ghc.prePatch =
pkgs.lib.optionalString (builtins.compareVersions config.compiler.version "9.9" > 0) ''
cp -L Setup.hs Setup.hs.temp
rm Setup.hs
mv Setup.hs.temp Setup.hs
chmod +w Setup.hs
'';
packages.ghc.patches = [
(fromUntil "9.9" "9.10" ../overlays/patches/ghc/ghc-9.9-setup-hs.patch)
];

# Remove dependency on hsc2hs (hsc2hs should be in ghc derivation)
packages.mintty.components.library.build-tools = pkgs.lib.mkForce [];

Expand Down
13 changes: 0 additions & 13 deletions overlays/patches/ghc/ghc-9.9-setup-hs.patch

This file was deleted.

0 comments on commit 4f381e2

Please sign in to comment.