diff options
author | Orivej Desh <orivej@gmx.fr> | 2018-06-09 07:41:38 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2018-06-09 07:41:38 +0000 |
commit | a448357dc62b26c95c3df84a156656e54aaf58b1 (patch) | |
tree | f12d66a0b81f2fbaa70db89b516a66bddc1b838c /pkgs/development/ocaml-modules/gg | |
parent | 06fa8674984e8ab637a29b91bdaa11dc5cbacb80 (diff) | |
parent | 0e07efa3c53b588dcd2efca8fafb35c779869d4e (diff) | |
download | nixlib-a448357dc62b26c95c3df84a156656e54aaf58b1.tar nixlib-a448357dc62b26c95c3df84a156656e54aaf58b1.tar.gz nixlib-a448357dc62b26c95c3df84a156656e54aaf58b1.tar.bz2 nixlib-a448357dc62b26c95c3df84a156656e54aaf58b1.tar.lz nixlib-a448357dc62b26c95c3df84a156656e54aaf58b1.tar.xz nixlib-a448357dc62b26c95c3df84a156656e54aaf58b1.tar.zst nixlib-a448357dc62b26c95c3df84a156656e54aaf58b1.zip |
Merge branch 'master' into staging
* master: (71 commits) xen: enable parallel building spice: 0.13.3 -> 0.14.0 powerline-rs: 0.1.7 -> 0.1.8 (#41736) xidlehook: 0.4.6 -> 0.4.8 (#41094) serf: update scons patch, enable kerberos on darwin firefox-bin: Add ffmpeg to lib path firefox-beta-bin: 61.0b10 -> 61.0b12 firefox-devedition-bin: 61.0b10 -> 61.0b12 wireguard-go: assign yegortimoshenko as maintainer wireguard-go: 0.0.20180519 -> 0.0.20180531 zfs: Fix "zfs-sync" for modern systemd nixos/memcached: added simple set/get test jenkins: 2.89.4 -> 2.107.3 (#41618) focuswriter: 1.6.12 -> 1.6.13 (#41567) ne: 3.0.1 -> 3.1.1 (#41536) libpqxx: 6.2.3 -> 6.2.4 (#41547) mate.mate-applets: 1.20.1 -> 1.20.2 (#41546) mate.mate-themes: 3.22.16 -> 3.22.17 (#41541) nixos/munge: run munge as user munge instead of root. (#41509) pstoedit: 3.71 -> 3.73 (#41528) ...
Diffstat (limited to 'pkgs/development/ocaml-modules/gg')
-rw-r--r-- | pkgs/development/ocaml-modules/gg/default.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/development/ocaml-modules/gg/default.nix b/pkgs/development/ocaml-modules/gg/default.nix index 0839ff361aea..0c80f39d9d7d 100644 --- a/pkgs/development/ocaml-modules/gg/default.nix +++ b/pkgs/development/ocaml-modules/gg/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam }: +{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opaline }: let inherit (stdenv.lib) getVersion versionAtLeast; @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { sha256 = "0czj41sr8jsivl3z8wyblf9k971j3kx2wc3s0c1nhzcc8allg9i2"; }; - buildInputs = [ ocaml findlib ocamlbuild opam ]; + buildInputs = [ ocaml findlib ocamlbuild opaline ]; createFindlibDestdir = true; @@ -27,10 +27,7 @@ stdenv.mkDerivation rec { buildPhase = "ocaml pkg/build.ml native=true native-dynlink=true"; - installPhase = '' - opam-installer --script --prefix=$out ${pname}.install | sh - ln -s $out/lib/${pname} $out/lib/ocaml/${getVersion ocaml}/site-lib/${pname} - ''; + installPhase = "opaline -libdir $OCAMLFIND_DESTDIR"; meta = with stdenv.lib; { description = "Basic types for computer graphics in OCaml"; |