diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2020-11-04 18:02:32 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2020-11-05 08:26:14 +0100 |
commit | ff48d9500eaa663be951b90627569f2704b86112 (patch) | |
tree | cfc4923102b7888bd90cac1525b4752ca12af33c /pkgs | |
parent | 8071b8ba821c1a00c7d05d013b10edb93eaa38a0 (diff) |
ocamlPackages.gsl: fix building on darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/ocaml-modules/gsl/default.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/development/ocaml-modules/gsl/default.nix b/pkgs/development/ocaml-modules/gsl/default.nix index c292c3d6ab5f2..aebdf4adb27f7 100644 --- a/pkgs/development/ocaml-modules/gsl/default.nix +++ b/pkgs/development/ocaml-modules/gsl/default.nix @@ -1,6 +1,4 @@ -{ lib, fetchurl, buildDunePackage, pkg-config, gsl -, dune-configurator -}: +{ stdenv, fetchurl, buildDunePackage, pkg-config, gsl, darwin, dune-configurator }: buildDunePackage rec { pname = "gsl"; @@ -14,11 +12,12 @@ buildDunePackage rec { }; buildInputs = [ dune-configurator gsl pkg-config ]; + propagatedBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Accelerate ]; - meta = { + meta = with stdenv.lib; { homepage = "https://mmottl.github.io/gsl-ocaml/"; description = "OCaml bindings to the GNU Scientific Library"; - license = lib.licenses.gpl3Plus; - maintainers = [ lib.maintainers.vbgl ]; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ vbgl ]; }; } |