1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-16 14:01:05 +01:00

nix/cat: Fix mingw for real

This commit is contained in:
Sergei Zimmerman 2025-12-08 23:57:28 +03:00
parent 26bf932e41
commit 8f89d8c139
No known key found for this signature in database

View file

@ -98,7 +98,7 @@ struct CmdCatNar : StoreCommand, MixCat
if (path == neededPath) { if (path == neededPath) {
logger->stop(); logger->stop();
crfSink.skipContents = false; crfSink.skipContents = false;
crfSink.fd = STDOUT_FILENO; crfSink.fd = getStandardOutput();
found = true; found = true;
} else { } else {
crfSink.skipContents = true; crfSink.skipContents = true;