From 56c2631e5bec6065a39cf91517bd6ceaa0a63ca9 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Mon, 23 Jan 2023 19:29:34 -0500 Subject: [PATCH] dxvk: fix Darwin build --- pkgs/misc/dxvk/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/misc/dxvk/default.nix b/pkgs/misc/dxvk/default.nix index b93c46f09100..2c55b6b50cef 100644 --- a/pkgs/misc/dxvk/default.nix +++ b/pkgs/misc/dxvk/default.nix @@ -7,7 +7,8 @@ stdenvNoCC.mkDerivation (finalAttrs: let - inherit (stdenvNoCC.hostPlatform.uname) system; + system = lib.toLower stdenvNoCC.targetPlatform.uname.system; + # DXVK needs to be a separate derivation because it’s actually a set of DLLs for Windows that # needs to be built with a cross-compiler. dxvk32 = pkgsCross.mingw32.callPackage ./dxvk.nix {