fix: Do not apply default installables when using --stdin

This commit is contained in:
Tom Bereknyei 2023-06-11 13:33:38 -04:00
parent 03f9ff6ea5
commit 08089fdd32

View file

@ -730,9 +730,9 @@ void RawInstallablesCommand::run(ref<Store> store)
while (std::cin >> word) {
rawInstallables.emplace_back(std::move(word));
}
}
} else {
applyDefaultInstallables(rawInstallables);
}
run(store, std::move(rawInstallables));
}