iwd: don't include testing tools by default

Put the testing tools in a seperate output. They blow up the closure
size by a huge factor.
This commit is contained in:
Dominik Xaver Hörl 2020-12-01 09:39:15 +01:00
parent 29f1edf2f3
commit 1d1e17ae60

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
sha256 = "193wa13i2prfz1zr7nvwbgrxgacms57zj1n7x28yy5hmm3nnwbrd";
};
outputs = [ "out" "man" ];
outputs = [ "out" "man" "test" ];
nativeBuildInputs = [
autoreconfHook
@ -61,7 +61,8 @@ stdenv.mkDerivation rec {
doCheck = true;
postInstall = ''
cp -a test/* $out/bin/
mkdir -p $test/bin
cp -a test/* $test/bin/
mkdir -p $out/share
cp -a doc $out/share/
cp -a README AUTHORS TODO $out/share/doc/