1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

screen: include the utmp from the apple_sdk

This commit is contained in:
Allan Espinosa 2015-12-18 00:12:31 -06:00
parent 59455da528
commit 37341582bb
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 { };