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

+3 -3
+3 -3
pkgs/os-specific/linux/systemd/default.nix
··· 25 25 ]; 26 26 27 27 buildInputs = 28 - [ pkgconfig intltool gperf kmod xz pam acl 28 + [ pkgconfig intltool gperf libcap kmod xz pam acl 29 29 /* cryptsetup */ libuuid m4 glib libxslt libgcrypt 30 30 libmicrohttpd linuxHeaders kexectools 31 31 ] ++ stdenv.lib.optionals pythonSupport [pythonPackages.python pythonPackages.lxml]; 32 - 33 - propagatedBuildInputs = [ libcap ]; 34 32 35 33 configureFlags = 36 34 [ "--localstatedir=/var" ··· 150 148 done 151 149 152 150 rm -rf $out/etc/rpm 151 + 152 + rm $out/lib/*.la 153 153 ''; # */ 154 154 155 155 enableParallelBuilding = true;