forked from mirrors/nixpkgs
polkit: split dev and bin outputs
This commit is contained in:
parent
86cc3d32ac
commit
2490848627
|
@ -90,7 +90,7 @@ in
|
|||
owner = "root";
|
||||
group = "root";
|
||||
setuid = true;
|
||||
source = "${pkgs.polkit}/lib/polkit-1/polkit-agent-helper-1";
|
||||
source = "${pkgs.polkit.out}/lib/polkit-1/polkit-agent-helper-1";
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "109w86kfqrgz83g9ivggplmgc77rz8kx8646izvm2jb57h4rbh71";
|
||||
};
|
||||
|
||||
outputs = [ "dev" "out" "bin" ]; # small man pages in $bin
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig glib expat pam intltool spidermonkey gobjectIntrospection ]
|
||||
++ [ libxslt docbook_xsl docbook_xml_dtd_412 ] # man pages
|
||||
|
|
|
@ -118,7 +118,7 @@ stdenv.mkDerivation rec {
|
|||
PYTHON_BINARY = "${coreutils}/bin/env python"; # don't want a build time dependency on Python
|
||||
|
||||
NIX_CFLAGS_COMPILE =
|
||||
[ # Can't say ${polkit}/bin/pkttyagent here because that would
|
||||
[ # Can't say ${polkit.bin}/bin/pkttyagent here because that would
|
||||
# lead to a cyclic dependency.
|
||||
"-UPOLKIT_AGENT_BINARY_PATH" "-DPOLKIT_AGENT_BINARY_PATH=\"/run/current-system/sw/bin/pkttyagent\""
|
||||
"-fno-stack-protector"
|
||||
|
|
Loading…
Reference in a new issue