Skip to content

Commit 07b3f53

Browse files
committed
fix missing gfortran lib on Mac+Nix
1 parent e79e113 commit 07b3f53

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flake.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@
7272
});
7373
groups = [ ];
7474
checkGroups = [ ];
75+
76+
# Add gfortran on macOS to ensure libgfortran.x.dylib is in the runtime path
77+
nativeBuildInputs = pkgs.lib.optionals pkgs.stdenv.isDarwin [ pkgs.gfortran ];
7578
};
7679

7780
mkKomet = {komet-rust ? null, komet-stellar ? null}@args: pkgs.stdenv.mkDerivation {

0 commit comments

Comments
 (0)