mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
gcal: fix build w/glibc-2.30
See https://lists.gnu.org/archive/html/bug-gcal/2018-10/msg00000.html for further reference.
This commit is contained in:
parent
1200d06f82
commit
feb29ae15e
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, ncurses }:
|
||||
{ stdenv, fetchurl, ncurses, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gcal";
|
||||
|
@ -9,6 +9,13 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1av11zkfirbixn05hyq4xvilin0ncddfjqzc4zd9pviyp506rdci";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://src.fedoraproject.org/rpms/gcal/raw/master/f/gcal-glibc-no-libio.patch";
|
||||
sha256 = "0l4nw9kgzsay32rsdwvs75pbp4fhx6pfm85paynfbd20cdm2n2kv";
|
||||
})
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
|
|
Loading…
Reference in a new issue