bmon: build on darwin

This commit is contained in:
Sebastián Mancilla 2021-07-12 18:20:11 -04:00
parent 0230167a17
commit 7deb6b2aef

View file

@ -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 ];
}; };
} }