Skip to content

Commit 317b72c

Browse files
authored
haskellPackages.Agda: fix build on aarch64-darwin (NixOS#427394)
2 parents 3f3bd4c + 9895bd6 commit 317b72c

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
@@ -383,8 +383,12 @@ self: super:
383383
libraryHaskellDepends = drv.libraryHaskellDepends ++ [ self.file-embed ];
384384
}) (disableCabalFlag "fixity-th" super.fourmolu);
385385

386-
# https://github.com/NixOS/nixpkgs/issues/149692
387-
Agda = disableCabalFlag "optimise-heavily" super.Agda;
386+
Agda = lib.pipe super.Agda [
387+
# https://github.com/NixOS/nixpkgs/issues/149692
388+
(disableCabalFlag "optimise-heavily")
389+
# https://github.com/agda/agda/issues/8016
390+
(appendConfigureFlag "--ghc-option=-Wwarn=deprecations")
391+
];
388392

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

0 commit comments

Comments
 (0)