From 6a2200d338f02a7a4f26cc719fdbfe14aaf87b55 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 9 May 2023 10:16:02 +0000 Subject: [PATCH] pkgsStatic.libhwy: fix build (#230761) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was changed in 7328b78fb58, but I don't understand why — the only difference should be in static builds, which worked before that change and didn't work after. Fixes: 7328b78fb58 ("libhwy: 0.15.0 -> 1.0.2") --- pkgs/development/libraries/libhwy/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libhwy/default.nix b/pkgs/development/libraries/libhwy/default.nix index e9434c23aae..371708d81fa 100644 --- a/pkgs/development/libraries/libhwy/default.nix +++ b/pkgs/development/libraries/libhwy/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { dontUseCmakeBuildDir = true; cmakeFlags = let - libExt = stdenv.hostPlatform.extensions.sharedLibrary; + libExt = stdenv.hostPlatform.extensions.library; in [ "-GNinja" "-DCMAKE_INSTALL_LIBDIR=lib"