polkit_qt4: Use multiple outputs
This commit is contained in:
parent
39181d4418
commit
711b536934
@ -10,10 +10,21 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "1ip78x20hjqvm08kxhp6gb8hf6k5n6sxyx6kk2yvvq53djzh7yv7";
|
sha256 = "1ip78x20hjqvm08kxhp6gb8hf6k5n6sxyx6kk2yvvq53djzh7yv7";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig automoc4 ];
|
nativeBuildInputs = [ cmake pkgconfig automoc4 ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ polkit glib qt4 ];
|
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 = {
|
meta = {
|
||||||
description = "A Qt wrapper around PolKit";
|
description = "A Qt wrapper around PolKit";
|
||||||
maintainers = with stdenv.lib.maintainers; [ ttuegel ];
|
maintainers = with stdenv.lib.maintainers; [ ttuegel ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user