1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

polkit_qt4: Use multiple outputs

This commit is contained in:
Eelco Dolstra 2016-09-22 16:48:35 +02:00
parent 39181d4418
commit 711b536934

View file

@ -10,10 +10,21 @@ stdenv.mkDerivation {
sha256 = "1ip78x20hjqvm08kxhp6gb8hf6k5n6sxyx6kk2yvvq53djzh7yv7";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [ cmake pkgconfig automoc4 ];
propagatedBuildInputs = [ polkit glib qt4 ];
postFixup =
''
for i in $dev/lib/cmake/*/*.cmake; do
echo "fixing $i"
substituteInPlace $i \
--replace "\''${PACKAGE_PREFIX_DIR}/lib" $out/lib
done
'';
meta = {
description = "A Qt wrapper around PolKit";
maintainers = with stdenv.lib.maintainers; [ ttuegel ];