summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/expat
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-10-15 13:57:38 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-10-28 10:09:34 +0100
commitdd915f82e7ca180ad9adfef024e408e666e12c9d (patch)
tree41f93c2c5422596a71aae6476bf90f38dfddf63a /pkgs/development/ocaml-modules/expat
parentad02a45af0cd9043337a424b76fb98cdb9488ba4 (diff)
downloadnixlib-dd915f82e7ca180ad9adfef024e408e666e12c9d.tar
nixlib-dd915f82e7ca180ad9adfef024e408e666e12c9d.tar.gz
nixlib-dd915f82e7ca180ad9adfef024e408e666e12c9d.tar.bz2
nixlib-dd915f82e7ca180ad9adfef024e408e666e12c9d.tar.lz
nixlib-dd915f82e7ca180ad9adfef024e408e666e12c9d.tar.xz
nixlib-dd915f82e7ca180ad9adfef024e408e666e12c9d.tar.zst
nixlib-dd915f82e7ca180ad9adfef024e408e666e12c9d.zip
expat: split dev output
Diffstat (limited to 'pkgs/development/ocaml-modules/expat')
-rw-r--r--pkgs/development/ocaml-modules/expat/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/expat/default.nix b/pkgs/development/ocaml-modules/expat/default.nix
index f4837bd047f5..b6ee0d192e33 100644
--- a/pkgs/development/ocaml-modules/expat/default.nix
+++ b/pkgs/development/ocaml-modules/expat/default.nix
@@ -28,8 +28,8 @@ stdenv.mkDerivation {
   postPatch = ''
     substituteInPlace "unittest.ml" \
       --replace "/home/maas/xml-samples/REC-xml-19980210.xml.txt" "${testcase}"
-    substituteInPlace Makefile --replace "EXPAT_LIBDIR=/usr/local/lib" "EXPAT_LIBDIR=${expat}/lib" \
-    substituteInPlace Makefile --replace "EXPAT_INCDIR=/usr/local/include" "EXPAT_INCDIR=${expat}/include" \
+    substituteInPlace Makefile --replace "EXPAT_LIBDIR=/usr/local/lib" "EXPAT_LIBDIR=${expat.out}/lib" \
+    substituteInPlace Makefile --replace "EXPAT_INCDIR=/usr/local/include" "EXPAT_INCDIR=${expat.dev}/include" \
   '';
 
   configurePhase = "true";  	# Skip configure