mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
bmon: build on darwin
This commit is contained in:
parent
0230167a17
commit
7deb6b2aef
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ ncurses libconfuse libnl ];
|
buildInputs = [ ncurses libconfuse ] ++ lib.optional stdenv.isLinux libnl;
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
# Must be an absolute path
|
# Must be an absolute path
|
||||||
|
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||||
# - https://github.com/tgraf/bmon/blob/master/LICENSE.BSD
|
# - https://github.com/tgraf/bmon/blob/master/LICENSE.BSD
|
||||||
# - https://github.com/tgraf/bmon/blob/master/LICENSE.MIT
|
# - https://github.com/tgraf/bmon/blob/master/LICENSE.MIT
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ bjornfor pSub ];
|
maintainers = with maintainers; [ bjornfor pSub ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue