unixtools: replace darwin.ps

This commit is contained in:
Matthew Bauer
2018-03-27 18:17:46 -05:00
parent 00e6cc94ae
commit 11f0e07d4f
3 changed files with 5 additions and 11 deletions
@@ -1,11 +1,10 @@
{ stdenv, fetchurl, fetchpatch, replace, curl, expat, zlib, bzip2
, useNcurses ? false, ncurses, useQt4 ? false, qt4, wantPS ? false, ps ? null
, useNcurses ? false, ncurses, useQt4 ? false, qt4
, buildPlatform, hostPlatform
}:
with stdenv.lib;
assert wantPS -> (ps != null);
assert stdenv ? cc;
assert stdenv.cc ? libc;
@@ -52,7 +51,7 @@ stdenv.mkDerivation rec {
++ optional useNcurses ncurses
++ optional useQt4 qt4;
propagatedBuildInputs = optional wantPS ps;
propagatedBuildInputs = [ ps ];
CMAKE_PREFIX_PATH = concatStringsSep ":"
(concatMap (p: [ (p.dev or p) (p.out or p) ]) buildInputs);