pkgsStatic.libhwy: fix build (#230761)

This was changed in 7328b78fb5, 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: 7328b78fb5 ("libhwy: 0.15.0 -> 1.0.2")
This commit is contained in:
Alyssa Ross 2023-05-09 10:16:02 +00:00 committed by GitHub
parent 90ce902383
commit 6a2200d338
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"