diff options
author | sternenseemann <sternenseemann@systemli.org> | 2023-07-20 01:26:26 +0200 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2023-07-20 01:34:31 +0200 |
commit | 0ded80fcf59ff2d0e7485f1d1e39337bd5b6ad3f (patch) | |
tree | 3e86e083559600ca5ca791c6d908ce76127827f7 /pkgs/development/haskell-modules/configuration-common.nix | |
parent | 2ae77417684142658105185a72019c484d5dd0df (diff) | |
download | nixpkgs-0ded80fcf59ff2d0e7485f1d1e39337bd5b6ad3f.tar nixpkgs-0ded80fcf59ff2d0e7485f1d1e39337bd5b6ad3f.tar.gz nixpkgs-0ded80fcf59ff2d0e7485f1d1e39337bd5b6ad3f.tar.bz2 nixpkgs-0ded80fcf59ff2d0e7485f1d1e39337bd5b6ad3f.tar.lz nixpkgs-0ded80fcf59ff2d0e7485f1d1e39337bd5b6ad3f.tar.xz nixpkgs-0ded80fcf59ff2d0e7485f1d1e39337bd5b6ad3f.tar.zst nixpkgs-0ded80fcf59ff2d0e7485f1d1e39337bd5b6ad3f.zip |
haskellPackages.digits: work around broken Setup.hs
pandoc now (indirectly) depends on this and it's easy to fix.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 19f9c2d6c2b..bff27fc7775 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2432,6 +2432,8 @@ self: super: { # The shipped Setup.hs file is broken. csv = overrideCabal (drv: { preCompileBuildDriver = "rm Setup.hs"; }) super.csv; + # Build-type is simple, but ships a broken Setup.hs + digits = overrideCabal (drv: { preCompileBuildDriver = "rm Setup.lhs"; }) super.digits; cabal-fmt = doJailbreak (super.cabal-fmt.override { # Needs newer Cabal-syntax version. |