bmon: build on darwin

This commit is contained in:
Sebastián Mancilla
2021-07-12 19:35:55 -04:00
parent 0230167a17
commit 7deb6b2aef
+2 -2
View File
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ ncurses libconfuse libnl ];
buildInputs = [ ncurses libconfuse ] ++ lib.optional stdenv.isLinux libnl;
preConfigure = ''
# 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.MIT
license = licenses.bsd2;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ bjornfor pSub ];
};
}