1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

libksba: Use multiple outputs

This commit is contained in:
Eelco Dolstra 2016-09-19 14:54:20 +02:00
parent cc8b44b103
commit dc8ebab12f

View file

@ -8,8 +8,16 @@ stdenv.mkDerivation rec {
sha256 = "0kxdb02z41cwm1xbwfwj9nbc0dzjhwyq8c475mlhhmpcxcy8ihpn";
};
outputs = [ "out" "dev" "doc" ];
propagatedBuildInputs = [ libgpgerror ];
postInstall = ''
mkdir -p $dev/bin
mv $out/bin/*-config $dev/bin/
rmdir --ignore-fail-on-non-empty $out/bin
'';
meta = with stdenv.lib; {
homepage = https://www.gnupg.org;
description = "CMS and X.509 access library";