Skip to content

Commit 71c4966

Browse files
committed
Fixed build of ormolu on M1 computers
Fix based on https://gist.github.com/Gabriel439/61be09ed5c223c17e5a9268323afa223
1 parent 713fa49 commit 71c4966

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

NixSupport/make-nixpkgs-from-options.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ let
6363
manualOverrides
6464

6565
(self: super: { haskell-language-server = pkgs.haskell.lib.appendConfigureFlag super.haskell-language-server "--enable-executable-dynamic"; })
66+
(self: super: { ormolu = if pkgs.system == "aarch64-darwin" then pkgs.haskell.lib.overrideCabal super.ormolu (_: { enableSeparateBinOutput = false; }) else super.ormolu; })
6667
];
6768
};
6869
}

0 commit comments

Comments
 (0)