Skip to content

Commit 9895bd6

Browse files
committed
haskellPackages.Agda: fix build on aarch64-darwin
1 parent f2ef2c1 commit 9895bd6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pkgs/development/haskell-modules/configuration-darwin.nix

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,12 @@ self: super:
393393
libraryHaskellDepends = drv.libraryHaskellDepends ++ [ self.file-embed ];
394394
}) (disableCabalFlag "fixity-th" super.fourmolu);
395395

396-
# https://github.com/NixOS/nixpkgs/issues/149692
397-
Agda = disableCabalFlag "optimise-heavily" super.Agda;
396+
Agda = lib.pipe super.Agda [
397+
# https://github.com/NixOS/nixpkgs/issues/149692
398+
(disableCabalFlag "optimise-heavily")
399+
# https://github.com/agda/agda/issues/8016
400+
(appendConfigureFlag "--ghc-option=-Wwarn=deprecations")
401+
];
398402

399403
# https://github.com/NixOS/nixpkgs/issues/198495
400404
eventsourcing-postgresql = dontCheck super.eventsourcing-postgresql;

0 commit comments

Comments
 (0)