mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
screen: fix utmp messages w/musl
/dev/null/utmp
This commit is contained in:
parent
c0d343bc5f
commit
d67638cc13
|
@ -16,6 +16,13 @@ stdenv.mkDerivation rec {
|
|||
"--enable-colors256"
|
||||
];
|
||||
|
||||
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl
|
||||
(fetchpatch {
|
||||
url = https://gist.githubusercontent.com/yujinakayama/4608863/raw/76b9f89af5e5a2e97d9a0f36aac989fb56cf1447/gistfile1.diff;
|
||||
sha256 = "0f9bf83p8zdxaa1pr75jyf5g8xr3r8kv7cyzzbpraa1q4j15ss1p";
|
||||
stripLen = 1;
|
||||
});
|
||||
|
||||
buildInputs = [ ncurses ] ++ stdenv.lib.optional stdenv.isLinux pam
|
||||
++ stdenv.lib.optional stdenv.isDarwin utmp;
|
||||
|
||||
|
|
Loading…
Reference in a new issue