Merge pull request #11802 from aespinosa/add-missing-utmp-lib

screen: include the utmp from the apple_sdk
This commit is contained in:
Peter Simons 2015-12-18 11:42:45 +01:00
commit 817d6d5149
2 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, ncurses, pam ? null }:
{ stdenv, fetchurl, fetchpatch, ncurses, utmp, pam ? null }:
stdenv.mkDerivation rec {
name = "screen-4.3.1";
@ -26,7 +26,8 @@ stdenv.mkDerivation rec {
sha256 = "192dsa8hm1zw8m638avzhwhnrddgizhyrwaxgwa96zr9vwai2nvc";
});
buildInputs = [ ncurses ] ++ stdenv.lib.optional stdenv.isLinux pam;
buildInputs = [ ncurses ] ++ stdenv.lib.optional stdenv.isLinux pam
++ stdenv.lib.optional stdenv.isDarwin utmp;
doCheck = true;

View file

@ -2985,7 +2985,9 @@ let
samplicator = callPackage ../tools/networking/samplicator { };
screen = callPackage ../tools/misc/screen { };
screen = callPackage ../tools/misc/screen {
inherit (darwin.apple_sdk.libs) utmp;
};
screen-message = callPackage ../tools/X11/screen-message { };