From 23e870d828f1e4337c119d9448335bfe94148031 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Wed, 12 Aug 2020 22:34:20 +0200 Subject: [PATCH] nvidia-texture-tools: fix build w/glibc-2.32 --- .../libraries/nvidia-texture-tools/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/nvidia-texture-tools/default.nix b/pkgs/development/libraries/nvidia-texture-tools/default.nix index f9b745e882f3..a2bdbc798eb0 100644 --- a/pkgs/development/libraries/nvidia-texture-tools/default.nix +++ b/pkgs/development/libraries/nvidia-texture-tools/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, cmake }: +{ stdenv, fetchFromGitHub, cmake, fetchpatch }: stdenv.mkDerivation rec { pname = "nvidia-texture-tools"; @@ -11,6 +11,13 @@ stdenv.mkDerivation rec { sha256 = "1qzyr3ib5dpxyq1y33lq02qv4cww075sm9bm4f651d34q5x38sk3"; }; + patches = [ + (fetchpatch { + url = "https://github.com/castano/nvidia-texture-tools/commit/6474f2593428d89ec152da2502aa136ababe66ca.patch"; + sha256 = "0akbkvm55hiv58jx71h9hj173rbnqlb5a430y9azjiix7zga42vd"; + }) + ]; + nativeBuildInputs = [ cmake ]; outputs = [ "out" "dev" "lib" ];