summary refs log tree commit diff
path: root/pkgs/tools/misc
diff options
context:
space:
mode:
authorAllan Espinosa <allan.espinosa@outlook.com>2015-12-18 00:12:31 -0600
committerAllan Espinosa <allan.espinosa@outlook.com>2015-12-18 00:12:31 -0600
commit37341582bb738a6d0ab0abdf33e710f862897c84 (patch)
tree25647287be541b8063a74a9203046f84fef5f76a /pkgs/tools/misc
parent59455da5281f628b0269373d8dfd7323eb2a9737 (diff)
downloadnixlib-37341582bb738a6d0ab0abdf33e710f862897c84.tar
nixlib-37341582bb738a6d0ab0abdf33e710f862897c84.tar.gz
nixlib-37341582bb738a6d0ab0abdf33e710f862897c84.tar.bz2
nixlib-37341582bb738a6d0ab0abdf33e710f862897c84.tar.lz
nixlib-37341582bb738a6d0ab0abdf33e710f862897c84.tar.xz
nixlib-37341582bb738a6d0ab0abdf33e710f862897c84.tar.zst
nixlib-37341582bb738a6d0ab0abdf33e710f862897c84.zip
screen: include the utmp from the apple_sdk
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r--pkgs/tools/misc/screen/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/misc/screen/default.nix b/pkgs/tools/misc/screen/default.nix
index 3e130154e468..de9836422e66 100644
--- a/pkgs/tools/misc/screen/default.nix
+++ b/pkgs/tools/misc/screen/default.nix
@@ -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;