1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

nix-build: Fix !<output> handling

This was broken by 22a754c091.

https://hydra.nixos.org/eval/1573669
This commit is contained in:
Eelco Dolstra 2020-03-04 13:55:15 +01:00
parent 887030f211
commit d37dc71e3c
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
3 changed files with 4 additions and 3 deletions

View file

@ -64,7 +64,7 @@ std::optional<StorePath> Store::maybeParseStorePath(std::string_view path) const
}
}
bool Store::isStorePath(const Path & path) const
bool Store::isStorePath(std::string_view path) const
{
return (bool) maybeParseStorePath(path);
}