aboutsummaryrefslogtreecommitdiff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorDominik Xaver Hörl <hoe.dom@gmx.de>2020-12-01 09:39:15 +0100
committerDominik Xaver Hörl <hoe.dom@gmx.de>2020-12-02 08:56:57 +0100
commit1d1e17ae609c611a67e322f428226820df16c279 (patch)
tree13f56219ae8b41c0674208f3134e9f9502fbe204 /pkgs/os-specific
parent29f1edf2f388947305471e840b42f1683b31d559 (diff)
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.
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/iwd/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/iwd/default.nix b/pkgs/os-specific/linux/iwd/default.nix
index adf37a1b71b6..1bd1d9b77620 100644
--- a/pkgs/os-specific/linux/iwd/default.nix
+++ b/pkgs/os-specific/linux/iwd/default.nix
@@ -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/