libcap*: fix with multiple outputs

I don't think we need the license file in each of these,
so I only left it with the library (it isn't big).
This commit is contained in:
Vladimír Čunát
2015-10-04 09:49:19 +02:00
parent c83b59130f
commit 54eef65533
4 changed files with 5 additions and 5 deletions
@@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
makeFlags = "lib=lib prefix=$(out)";
postInstall = ''
rm "$out"/lib/*.a
mkdir -p "$dev/share/doc/${name}"
cp ../License "$dev/share/doc/${name}/License"
'';