diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-04-12 14:50:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-12 14:50:32 +0300 |
commit | b3e98b8080c23fa5170ea9cecc37b52ec957a0c5 (patch) | |
tree | fd087dc6d24fe0f0515b3cc4cefc36743e78ce5f /pkgs/development/compilers/chicken | |
parent | ca3bd88b64bae837e52f3c2dfb2d382cb54e4856 (diff) | |
parent | 6b7f0fbe8a3f670a046d411a335ed924bb8026db (diff) |
Merge pull request #225878 from wegank/chicken-frameworks
chickenPackages: add missing deps
Diffstat (limited to 'pkgs/development/compilers/chicken')
-rw-r--r-- | pkgs/development/compilers/chicken/5/overrides.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/development/compilers/chicken/5/overrides.nix b/pkgs/development/compilers/chicken/5/overrides.nix index 4466b116d113..55571594a61e 100644 --- a/pkgs/development/compilers/chicken/5/overrides.nix +++ b/pkgs/development/compilers/chicken/5/overrides.nix @@ -17,9 +17,8 @@ let broken = old: { meta = old.meta // { broken = true; }; }; brokenOnDarwin = old: { meta = old.meta // { broken = stdenv.isDarwin; }; }; in { - allegro = old: - (brokenOnDarwin old) - // (addToBuildInputsWithPkgConfig [ pkgs.allegro5 pkgs.libglvnd ] old); + allegro = addToBuildInputsWithPkgConfig ([ pkgs.allegro5 pkgs.libglvnd ] + ++ lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.OpenGL ]); breadline = addToBuildInputs pkgs.readline; blas = addToBuildInputsWithPkgConfig pkgs.blas; blosc = addToBuildInputs pkgs.c-blosc; @@ -45,9 +44,8 @@ in { mdh = old: (brokenOnDarwin old) // (addToBuildInputs pkgs.pcre old); nanomsg = addToBuildInputs pkgs.nanomsg; ncurses = addToBuildInputsWithPkgConfig [ pkgs.ncurses ]; - opencl = old: - (brokenOnDarwin old) - // (addToBuildInputs [ pkgs.opencl-headers pkgs.ocl-icd ] old); + opencl = addToBuildInputs ([ pkgs.opencl-headers pkgs.ocl-icd ] + ++ lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.OpenCL ]); opengl = old: (brokenOnDarwin old) // (addToBuildInputsWithPkgConfig [ pkgs.libGL pkgs.libGLU ] old); |