zstd: fix cygwin build
This commit is contained in:
@@ -111,6 +111,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
''
|
||||
);
|
||||
|
||||
# replace invalid symlinks when executable suffix is .exe
|
||||
postInstall = lib.optionalString stdenv.hostPlatform.isCygwin ''
|
||||
for link in unzstd zstdcat zstdmt; do
|
||||
ln -sf zstd.exe $bin/bin/$link
|
||||
done
|
||||
'';
|
||||
|
||||
outputs = [
|
||||
"bin"
|
||||
"dev"
|
||||
|
||||
Reference in New Issue
Block a user