Fix builds on Darwin (#14)
* Fix builds on Darwin … using the trick that @roberth taught me here: https://github.com/NixOS/nixpkgs/pull/196646#issuecomment-1327364634 This requires bumping the Cabal format version, which in turn requires bumping the version of `cabal2nix` * Update README
This commit is contained in:
committed by
GitHub
parent
b6cabad434
commit
1e42286b14
@@ -12,6 +12,10 @@
|
||||
outputs = { nixpkgs, utils, ... }:
|
||||
let
|
||||
overlay = pkgsNew: pkgsOld: {
|
||||
cabal2nix-unwrapped =
|
||||
pkgsNew.haskell.lib.justStaticExecutables
|
||||
pkgsNew.haskell.packages.ghc92.cabal2nix;
|
||||
|
||||
haskellPackages = pkgsOld.haskellPackages.override (old: {
|
||||
overrides =
|
||||
pkgsNew.lib.fold pkgsNew.lib.composeExtensions (old.overrides or (_: _: { })) [
|
||||
|
||||
Reference in New Issue
Block a user