1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 13:41:15 +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

@ -305,7 +305,7 @@ public:
/* Return true if path is a store path, i.e. a direct child of
the Nix store. */
bool isStorePath(const Path & path) const;
bool isStorePath(std::string_view path) const;
/* Chop off the parts after the top-level store name, e.g.,
/nix/store/abcd-foo/bar => /nix/store/abcd-foo. */