mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
Merge pull request #196348 from viraptor/darwin-applgrid
applgrid: fix darwin build
This commit is contained in:
commit
2f1aa3e807
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, gfortran, hoppet, lhapdf, root5, zlib }:
|
||||
{ lib, stdenv, fetchurl, gfortran, hoppet, lhapdf, root5, zlib, Cocoa }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "applgrid";
|
||||
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ gfortran ];
|
||||
|
||||
# For some reason zlib was only needed after bump to gfortran8
|
||||
buildInputs = [ hoppet lhapdf root5 zlib ];
|
||||
buildInputs = [ hoppet lhapdf root5 zlib ] ++ lib.optionals stdenv.isDarwin [ Cocoa ];
|
||||
|
||||
patches = [
|
||||
./bad_code.patch
|
||||
|
@ -35869,7 +35869,9 @@ with pkgs;
|
||||
|
||||
apfel = callPackage ../development/libraries/physics/apfel { };
|
||||
|
||||
applgrid = callPackage ../development/libraries/physics/applgrid { };
|
||||
applgrid = callPackage ../development/libraries/physics/applgrid {
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||
};
|
||||
|
||||
hoppet = callPackage ../development/libraries/physics/hoppet { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user