summary refs log tree commit diff
path: root/pkgs/os-specific/linux/iproute
diff options
context:
space:
mode:
authorMatthieu Coudron <coudron@iij.ad.jp>2018-09-12 21:55:03 +0900
committerxeji <36407913+xeji@users.noreply.github.com>2018-09-12 14:55:03 +0200
commitd8b7ffc7efa63d03eeaf3ee26555c75b14c43881 (patch)
treebfb245b7c61089a3f78f7ebed91ae9909237d05b /pkgs/os-specific/linux/iproute
parentcb8fb7e71ba7b99321156027934cc96fdf0f0ad7 (diff)
downloadnixpkgs-d8b7ffc7efa63d03eeaf3ee26555c75b14c43881.tar
nixpkgs-d8b7ffc7efa63d03eeaf3ee26555c75b14c43881.tar.gz
nixpkgs-d8b7ffc7efa63d03eeaf3ee26555c75b14c43881.tar.bz2
nixpkgs-d8b7ffc7efa63d03eeaf3ee26555c75b14c43881.tar.lz
nixpkgs-d8b7ffc7efa63d03eeaf3ee26555c75b14c43881.tar.xz
nixpkgs-d8b7ffc7efa63d03eeaf3ee26555c75b14c43881.tar.zst
nixpkgs-d8b7ffc7efa63d03eeaf3ee26555c75b14c43881.zip
iproute: add $dev output (#46558)
to provide the user API include/ that was previously dropped.
Diffstat (limited to 'pkgs/os-specific/linux/iproute')
-rw-r--r--pkgs/os-specific/linux/iproute/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/iproute/default.nix b/pkgs/os-specific/linux/iproute/default.nix
index 13135844aa7..8f81ec4918e 100644
--- a/pkgs/os-specific/linux/iproute/default.nix
+++ b/pkgs/os-specific/linux/iproute/default.nix
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
     substituteInPlace Makefile --replace " netem " " "
   '';
 
+  outputs = [ "out" "dev"];
+
   makeFlags = [
     "DESTDIR="
     "LIBDIR=$(out)/lib"
@@ -23,7 +25,7 @@ stdenv.mkDerivation rec {
     "MANDIR=$(out)/share/man"
     "BASH_COMPDIR=$(out)/share/bash-completion/completions"
     "DOCDIR=$(TMPDIR)/share/doc/${name}" # Don't install docs
-    "HDRDIR=$(TMPDIR)/include/iproute2" # Don't install headers
+    "HDRDIR=$(dev)/include/iproute2"
   ];
 
   buildFlags = [