diff options
author | Et7f3 <cadeaudeelie@gmail.com> | 2023-01-24 23:41:28 +0100 |
---|---|---|
committer | Et7f3 <cadeaudeelie@gmail.com> | 2023-01-24 23:41:28 +0100 |
commit | a5ffa79932244d21f7f7445b0ce35c2f0d37c5e8 (patch) | |
tree | 28b4e9305daddfbd80f2bd0e7d672edc634a3cc7 | |
parent | 5a99c240a96ab61f37c6990b0d9c8a1aee4123e1 (diff) | |
download | nixpkgs-a5ffa79932244d21f7f7445b0ce35c2f0d37c5e8.tar nixpkgs-a5ffa79932244d21f7f7445b0ce35c2f0d37c5e8.tar.gz nixpkgs-a5ffa79932244d21f7f7445b0ce35c2f0d37c5e8.tar.bz2 nixpkgs-a5ffa79932244d21f7f7445b0ce35c2f0d37c5e8.tar.lz nixpkgs-a5ffa79932244d21f7f7445b0ce35c2f0d37c5e8.tar.xz nixpkgs-a5ffa79932244d21f7f7445b0ce35c2f0d37c5e8.tar.zst nixpkgs-a5ffa79932244d21f7f7445b0ce35c2f0d37c5e8.zip |
ocamlPackages.gd4o: fix build on darwin and probably on linux
-rw-r--r-- | pkgs/development/ocaml-modules/gd4o/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/gd4o/default.nix b/pkgs/development/ocaml-modules/gd4o/default.nix index 19a1b42f06b..9923edc2e8d 100644 --- a/pkgs/development/ocaml-modules/gd4o/default.nix +++ b/pkgs/development/ocaml-modules/gd4o/default.nix @@ -12,6 +12,9 @@ stdenv.mkDerivation rec { buildInputs = [ ocaml findlib libjpeg libpng ]; propagatedBuildInputs = [ gd zlib freetype ]; + prePatch = '' + substituteInPlace Makefile --replace gcc cc + ''; preInstall = '' mkdir -p $OCAMLFIND_DESTDIR/stublibs |