mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
iproute: add $dev output (#46558)
to provide the user API include/ that was previously dropped.
This commit is contained in:
parent
cb8fb7e71b
commit
d8b7ffc7ef
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user