Merge pull request #182143 from hamishmack/patch-7

libredirect: Fix cross compilation `buildPackages`
This commit is contained in:
Sergei Trofimovich 2022-07-20 15:41:39 +01:00 committed by GitHub
commit cf2e2a65ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ else stdenv.mkDerivation rec {
outputs = ["out" "hook"];
libName = "libredirect" + stdenv.targetPlatform.extensions.sharedLibrary;
libName = "libredirect" + stdenv.hostPlatform.extensions.sharedLibrary;
buildPhase = ''
runHook preBuild