git.iko.soy/typeable/nixpkgs
on master help sign in
primusLib: fix receiving long library paths
commita841f6097c3b22df9898dd305342d16350eb0eb7 authorNikolay Amiantov <ab@fmap.me> dateMon 30 Jan 2017, 19:21 (10 years ago) parent2fd2fcf
1 file changed+9−1
pkgs/tools/X11/primus/lib.nix+9−1
pkgs/tools/X11/primus/lib.nix+9−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub
1+{ stdenv, fetchFromGitHub, fetchpatch
22, libX11, mesa_noglu
33, nvidia_x11 ? null
44, libglvnd
@@ -20,6 +20,14 @@ in stdenv.mkDerivation {
2020 sha256 = "118jm57ccawskb8vjq3a9dpa2gh72nxzvx2zk7zknpy0arrdznj1";
2121 };
2222
23+ patches = [
24+ # Bump buffer size for long library paths.
25+ (fetchpatch {
26+ url = "https://github.com/abbradar/primus/commit/2f429e232581c556df4f4bf210aee8a0c99c60b7.patch";
27+ sha256 = "1da6ynz7r7x98495i329sf821308j1rpy8prcdraqahz7p4c89nc";
28+ })
29+ ];
30+
2331 buildInputs = [ libX11 mesa_noglu ];
2432
2533 makeFlags = [ "LIBDIR=$(out)/lib"