Skip to content

Commit

Permalink
Add more dev outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Sep 25, 2017
1 parent cf599d3 commit 8ccce8d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/desktops/gnome-2/platform/libbonoboui/default.nix
Expand Up @@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
sha256 = "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs";
};

outputs = [ "out" "dev" ];

nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ bison popt gtk libxml2 GConf libglade libtool ];
propagatedBuildInputs = [ libbonobo libgnomecanvas libgnome ];
Expand Down
2 changes: 2 additions & 0 deletions pkgs/desktops/gnome-2/platform/libgnomeui/default.nix
Expand Up @@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf";
};

outputs = [ "out" "dev" ];

nativeBuildInputs = [ pkgconfig intltool ];
buildInputs =
[ xorg.xlibsWrapper libxml2 GConf pango glib libgnome_keyring libglade libtool ];
Expand Down
8 changes: 8 additions & 0 deletions pkgs/development/libraries/xmlsec/default.nix
Expand Up @@ -12,7 +12,10 @@ stdenv.mkDerivation rec {
sha256 = "1lpwj8dxwhha54sby0v5axjk79h56jnhjjiwiasbbk15vwzahz4n";
};

outputs = [ "out" "dev" ];

buildInputs = [ makeWrapper libxml2 gnutls libxslt pkgconfig libgcrypt libtool openssl nss ];

enableParallelBuilding = true;
doCheck = true;

Expand All @@ -23,6 +26,11 @@ stdenv.mkDerivation rec {
# otherwise libxmlsec1-gnutls.so won't find libgcrypt.so, after #909
NIX_LDFLAGS = [ "-lgcrypt" ];

postInstall = ''
moveToOutput "bin/xmlsec1-config" "$dev"
moveToOutput "lib/xmlsec1Conf.sh" "$dev"
'';

postFixup = ''
wrapProgram "$out/bin/xmlsec1" --prefix LD_LIBRARY_PATH ":" "$out/lib"
'';
Expand Down

0 comments on commit 8ccce8d

Please sign in to comment.