systemd: Don't propagate libcap
Instead delete the *.la files. The propagation of libcap was apparently only necessary because there was a gratuitous -lcap in the *.la files. http://hydra.nixos.org/build/22182620
This commit is contained in:
parent
ab91aaaeb8
commit
11ce1cab97
|
@ -25,13 +25,11 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig intltool gperf kmod xz pam acl
|
||||
[ pkgconfig intltool gperf libcap kmod xz pam acl
|
||||
/* cryptsetup */ libuuid m4 glib libxslt libgcrypt
|
||||
libmicrohttpd linuxHeaders kexectools
|
||||
] ++ stdenv.lib.optionals pythonSupport [pythonPackages.python pythonPackages.lxml];
|
||||
|
||||
propagatedBuildInputs = [ libcap ];
|
||||
|
||||
configureFlags =
|
||||
[ "--localstatedir=/var"
|
||||
"--sysconfdir=/etc"
|
||||
|
@ -150,6 +148,8 @@ stdenv.mkDerivation rec {
|
|||
done
|
||||
|
||||
rm -rf $out/etc/rpm
|
||||
|
||||
rm $out/lib/*.la
|
||||
''; # */
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
Loading…
Reference in New Issue