From b6063571b1ae94e4bcf20b51d900378627310ee2 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 10 Jan 2024 09:38:04 +0000 Subject: linuxPackages.amdgpu-pro: use `libffi_3_3`, not an override Without the change `amdgpu-pro` tried to build `libffi-3.3` with patches for `libffi-3.4` and failed as: patching file include/ffi_common.h Hunk #1 succeeded at 103 with fuzz 2 (offset -25 lines). can't find file to patch at input line 36 THe change uses `libffi_3_3` instead. Closes: https://github.com/NixOS/nixpkgs/issues/279955 --- pkgs/os-specific/linux/amdgpu-pro/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/os-specific/linux/amdgpu-pro/default.nix') diff --git a/pkgs/os-specific/linux/amdgpu-pro/default.nix b/pkgs/os-specific/linux/amdgpu-pro/default.nix index 96339c1d164f5..ade6da99810b2 100644 --- a/pkgs/os-specific/linux/amdgpu-pro/default.nix +++ b/pkgs/os-specific/linux/amdgpu-pro/default.nix @@ -9,7 +9,7 @@ , perl , zlib , expat -, libffi +, libffi_3_3 , libselinux , libdrm , udev @@ -119,7 +119,7 @@ in stdenv.mkDerivation rec { libxshmfence elfutils expat - libffi + libffi_3_3 libselinux # libudev is not listed in any dependencies, but is loaded dynamically udev -- cgit 1.4.1