haskellPackages.linear-base: work around upstream's broken Setup.hs

With GHC 9.0.2 being the default, it's about time this package worked.
main
sternenseemann 2 years ago
parent e95f451ea6
commit 600b5f43f0
  1. 10
      pkgs/development/haskell-modules/configuration-common.nix
  2. 1
      pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
  3. 2
      pkgs/development/haskell-modules/hackage-packages.nix

@ -2167,4 +2167,14 @@ self: super: {
})
] super.hie-bios;
# Ships a custom cabal-doctest Setup.hs in the release tarball, but the actual
# test suite is commented out, so the required dependency is missing naturally.
# We need to use a default Setup.hs instead. Current master doesn't exhibit
# this anymore, so this override should be fine to remove once the assert fires.
linear-base = assert super.linear-base.version == "0.1.0"; overrideCabal (drv: {
preCompileBuildDriver = drv.preCompileBuildDriver or "" + ''
rm Setup.hs
'';
}) super.linear-base;
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

@ -2900,7 +2900,6 @@ broken-packages:
- linden
- linear-accelerate
- linear-algebra-cblas
- linear-base
- linear-code
- linear-generics
- linear-maps

@ -168453,8 +168453,6 @@ self: {
];
description = "Standard library for linear types";
license = lib.licenses.mit;
hydraPlatforms = lib.platforms.none;
broken = true;
}) {};
"linear-circuit" = callPackage

Loading…
Cancel
Save