diff options
author | Alex Shabalin <alex.shabalin@tweag.io> | 2021-11-18 14:32:52 +0100 |
---|---|---|
committer | Alex Shabalin <alex.shabalin@tweag.io> | 2021-11-18 15:34:57 +0100 |
commit | 4b28798bfcb659bf83557a33546a03115f8bfed2 (patch) | |
tree | b4a2c26b05ae1cccecf01831686e2fc088803b0c /src/libstore/names.hh | |
parent | 79f27500a45f9b1eda3d54114cf835f73775af8e (diff) |
Offer suggestions for nix-env -i
Closes https://github.com/NixOS/nix/issues/972
Diffstat (limited to 'src/libstore/names.hh')
-rw-r--r-- | src/libstore/names.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/names.hh b/src/libstore/names.hh index bc62aac93..3f861bc44 100644 --- a/src/libstore/names.hh +++ b/src/libstore/names.hh @@ -19,7 +19,7 @@ struct DrvName DrvName(std::string_view s); ~DrvName(); - bool matches(DrvName & n); + bool matches(const DrvName & n); private: std::unique_ptr<Regex> regex; |