zstd: Fix MinGW build
This commit is contained in:
parent
53ce0bfc90
commit
437dc4c047
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake ]
|
nativeBuildInputs = [ cmake ]
|
||||||
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||||
buildInputs = [ bash ];
|
buildInputs = stdenv.lib.optional stdenv.hostPlatform.isUnix bash;
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./playtests-darwin.patch
|
./playtests-darwin.patch
|
||||||
@ -72,7 +72,9 @@ stdenv.mkDerivation rec {
|
|||||||
--replace "zstdcat" "$bin/bin/zstdcat"
|
--replace "zstdcat" "$bin/bin/zstdcat"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
outputs = [ "bin" "dev" "man" "out" ];
|
outputs = [ "bin" "dev" ]
|
||||||
|
++ stdenv.lib.optional stdenv.hostPlatform.isUnix "man"
|
||||||
|
++ [ "out" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Zstandard real-time compression algorithm";
|
description = "Zstandard real-time compression algorithm";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user