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.cc | |
parent | 79f27500a45f9b1eda3d54114cf835f73775af8e (diff) |
Offer suggestions for nix-env -i
Closes https://github.com/NixOS/nix/issues/972
Diffstat (limited to 'src/libstore/names.cc')
-rw-r--r-- | src/libstore/names.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/names.cc b/src/libstore/names.cc index ce808accc..54c95055d 100644 --- a/src/libstore/names.cc +++ b/src/libstore/names.cc @@ -42,7 +42,7 @@ DrvName::~DrvName() { } -bool DrvName::matches(DrvName & n) +bool DrvName::matches(const DrvName & n) { if (name != "*") { if (!regex) { |