summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/yojson
diff options
context:
space:
mode:
authorVincent Laporte <vincent.laporte@gmail.com>2014-08-19 18:39:45 +0200
committerVincent Laporte <vincent.laporte@gmail.com>2014-08-19 18:41:16 +0200
commit559c7cc2dad4a971f0519c9f4861259fca55c3d1 (patch)
tree380277e637737313156e7ec5c6c0d99db0df0ec5 /pkgs/development/ocaml-modules/yojson
parentb18f503f1a1323908d662f27411d2c0febe761bb (diff)
downloadnixlib-559c7cc2dad4a971f0519c9f4861259fca55c3d1.tar
nixlib-559c7cc2dad4a971f0519c9f4861259fca55c3d1.tar.gz
nixlib-559c7cc2dad4a971f0519c9f4861259fca55c3d1.tar.bz2
nixlib-559c7cc2dad4a971f0519c9f4861259fca55c3d1.tar.lz
nixlib-559c7cc2dad4a971f0519c9f4861259fca55c3d1.tar.xz
nixlib-559c7cc2dad4a971f0519c9f4861259fca55c3d1.tar.zst
nixlib-559c7cc2dad4a971f0519c9f4861259fca55c3d1.zip
yojson: propagate build inputs (as in PR #3404)
Diffstat (limited to 'pkgs/development/ocaml-modules/yojson')
-rw-r--r--pkgs/development/ocaml-modules/yojson/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/ocaml-modules/yojson/default.nix b/pkgs/development/ocaml-modules/yojson/default.nix
index 9237db080d67..562d25550dae 100644
--- a/pkgs/development/ocaml-modules/yojson/default.nix
+++ b/pkgs/development/ocaml-modules/yojson/default.nix
@@ -4,16 +4,18 @@ let
   version = "1.1.8";
   webpage = "http://mjambon.com/${pname}.html";
 in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
 
-  name = "${pname}-${version}";
+  name = "ocaml-${pname}-${version}";
 
   src = fetchurl {
-    url = "http://mjambon.com/releases/${pname}/${name}.tar.gz";
+    url = "http://mjambon.com/releases/${pname}/${pname}-${version}.tar.gz";
     sha256 = "0ayx17dimnpavdfyq6dk9xv2x1fx69by85vc6vl3nqxjkcv5d2rv";
   };
 
-  buildInputs = [ ocaml findlib cppo easy-format biniou ];
+  buildInputs = [ ocaml findlib ];
+
+  propagatedBuildInputs = [ cppo easy-format biniou ];
 
   createFindlibDestdir = true;