iproute: add $dev output (#46558)

to provide the user API include/ that was previously dropped.
This commit is contained in:
Matthieu Coudron 2018-09-12 21:55:03 +09:00 committed by xeji
parent cb8fb7e71b
commit d8b7ffc7ef

View File

@ -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 = [