summary refs log tree commit diff
path: root/pkgs/os-specific/linux/iwd
diff options
context:
space:
mode:
authorReplayCoding <replaycoding@gmail.com>2022-03-09 13:47:37 -0800
committerReplayCoding <replaycoding@gmail.com>2022-03-09 14:04:53 -0800
commit12d29578c810dba32a39552de11b6b6eb0ce5622 (patch)
tree003d4b1d3e386aacc4d767aa15e7d6ccfa048ac3 /pkgs/os-specific/linux/iwd
parent7460096bb3011ae7af37ed2ec2420bf5e25f3aa5 (diff)
downloadnixpkgs-12d29578c810dba32a39552de11b6b6eb0ce5622.tar
nixpkgs-12d29578c810dba32a39552de11b6b6eb0ce5622.tar.gz
nixpkgs-12d29578c810dba32a39552de11b6b6eb0ce5622.tar.bz2
nixpkgs-12d29578c810dba32a39552de11b6b6eb0ce5622.tar.lz
nixpkgs-12d29578c810dba32a39552de11b6b6eb0ce5622.tar.xz
nixpkgs-12d29578c810dba32a39552de11b6b6eb0ce5622.tar.zst
nixpkgs-12d29578c810dba32a39552de11b6b6eb0ce5622.zip
iwd: move documentation to seperate output
Diffstat (limited to 'pkgs/os-specific/linux/iwd')
-rw-r--r--pkgs/os-specific/linux/iwd/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/iwd/default.nix b/pkgs/os-specific/linux/iwd/default.nix
index 3f725e3e5b2..72ecaffe5f5 100644
--- a/pkgs/os-specific/linux/iwd/default.nix
+++ b/pkgs/os-specific/linux/iwd/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-GcqmMqrZSgvSrsY8FJbPynNWTzSi5A6kmyq+xJ+2i3Y=";
   };
 
-  outputs = [ "out" "man" ]
+  outputs = [ "out" "man" "doc" ]
     ++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) "test";
 
   nativeBuildInputs = [
@@ -65,9 +65,9 @@ stdenv.mkDerivation rec {
   doCheck = true;
 
   postInstall = ''
-    mkdir -p $out/share
-    cp -a doc $out/share/
-    cp -a README AUTHORS TODO $out/share/doc/
+    mkdir -p $doc/share/doc
+    cp -a doc $doc/share/doc/iwd
+    cp -a README AUTHORS TODO $doc/share/doc/iwd
   '' + lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
     mkdir -p $test/bin
     cp -a test/* $test/bin/