git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.gsl: fix building on darwin
commitff48d9500eaa663be951b90627569f2704b86112 authorSandro Jäckel <sandro.jaeckel@gmail.com> dateWed 4 Nov 2020, 18:02 (6 years ago) parent8071b8b
1 file changed+5−6
pkgs/development/ocaml-modules/gsl/default.nix+5−6
pkgs/development/ocaml-modules/gsl/default.nix+5−6
@@ -1,6 +1,4 @@
1−{ lib, fetchurl, buildDunePackage, pkg-config, gsl
2−, dune-configurator
3−}:
1+{ stdenv, fetchurl, buildDunePackage, pkg-config, gsl, darwin, dune-configurator }:
42
53buildDunePackage rec {
64 pname = "gsl";
@@ -14,11 +12,12 @@ buildDunePackage rec {
1412 };
1513
1614 buildInputs = [ dune-configurator gsl pkg-config ];
15+ propagatedBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Accelerate ];
1716
18− meta = {
17+ meta = with stdenv.lib; {
1918 homepage = "https://mmottl.github.io/gsl-ocaml/";
2019 description = "OCaml bindings to the GNU Scientific Library";
21− license = lib.licenses.gpl3Plus;
22− maintainers = [ lib.maintainers.vbgl ];
20+ license = licenses.gpl3Plus;
21+ maintainers = with maintainers; [ vbgl ];
2322 };
2423}