gretl: fix compilation on aarch64-darwin

This commit is contained in:
Pol Dellaiera 2023-09-02 22:51:40 +02:00
parent 0346e4c01d
commit ed6e675844
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA
2 changed files with 6 additions and 1 deletions

View File

@ -13,6 +13,7 @@
, mpfr
, openblas
, readline
, Accelerate
, pkg-config
}:
@ -38,6 +39,8 @@ stdenv.mkDerivation (finalAttrs: {
mpfr
openblas
readline
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
Accelerate
];
nativeBuildInputs = [

View File

@ -843,7 +843,9 @@ with pkgs;
autoreconfHook = buildPackages.autoreconfHook269;
};
gretl = callPackage ../applications/science/math/gretl { };
gretl = callPackage ../applications/science/math/gretl {
inherit (darwin.apple_sdk.frameworks) Accelerate;
};
grsync = callPackage ../applications/misc/grsync { };