summary refs log tree commit diff
path: root/pkgs/development/libraries/glib-networking
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-10-11 16:06:34 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-10-13 20:18:56 +0200
commit8e381b89a1fd5730b3119bdaa4acb2e61a6c2f0a (patch)
treed09d515cb122b4f8806782e93f6705b5544385e4 /pkgs/development/libraries/glib-networking
parent8db97583ae35fbefbdfced150ea86289b66ffc7b (diff)
downloadnixpkgs-8e381b89a1fd5730b3119bdaa4acb2e61a6c2f0a.tar
nixpkgs-8e381b89a1fd5730b3119bdaa4acb2e61a6c2f0a.tar.gz
nixpkgs-8e381b89a1fd5730b3119bdaa4acb2e61a6c2f0a.tar.bz2
nixpkgs-8e381b89a1fd5730b3119bdaa4acb2e61a6c2f0a.tar.lz
nixpkgs-8e381b89a1fd5730b3119bdaa4acb2e61a6c2f0a.tar.xz
nixpkgs-8e381b89a1fd5730b3119bdaa4acb2e61a6c2f0a.tar.zst
nixpkgs-8e381b89a1fd5730b3119bdaa4acb2e61a6c2f0a.zip
glib-networking: split the dev output
That's done to get rid of propagatedBuildInputs from regular closure.
Also references were fixed, mainly to its gio modules.
Diffstat (limited to 'pkgs/development/libraries/glib-networking')
-rw-r--r--pkgs/development/libraries/glib-networking/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/glib-networking/default.nix b/pkgs/development/libraries/glib-networking/default.nix
index a17b7a21409..869fdcc70a1 100644
--- a/pkgs/development/libraries/glib-networking/default.nix
+++ b/pkgs/development/libraries/glib-networking/default.nix
@@ -13,10 +13,12 @@ stdenv.mkDerivation rec {
     sha256 = "8f8a340d3ba99bfdef38b653da929652ea6640e27969d29f7ac51fbbe11a4346";
   };
 
+  outputs = [ "dev" "out" ]; # to deal with propagatedBuildInputs
+
   configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt";
 
   preBuild = ''
-    sed -e "s@${glib}/lib/gio/modules@$out/lib/gio/modules@g" -i $(find . -name Makefile)
+    sed -e "s@${glib.out}/lib/gio/modules@$out/lib/gio/modules@g" -i $(find . -name Makefile)
   '';
 
   nativeBuildInputs = [ pkgconfig intltool ];