diff options
author | Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | 2023-02-01 15:56:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-01 15:56:22 +0100 |
commit | e32c5c2c777bc0ae0b49ab4d9761beaa03d20898 (patch) | |
tree | 7797e3b95e91b61eb51ae2f82be655ab539d3c3e /src/nix | |
parent | 6f0436a337b1a835f0ab6bba892d4f450e1217b0 (diff) | |
parent | 6b779e4b07c42e5780feda5daf6dedc6c49e50d7 (diff) |
Merge pull request #7667 from dramforever/flake-search-attr
Better error message for nix search when attr is not found
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/search.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/search.cc b/src/nix/search.cc index d2a31607d..4fa1e7837 100644 --- a/src/nix/search.cc +++ b/src/nix/search.cc @@ -56,8 +56,8 @@ struct CmdSearch : InstallableCommand, MixJSON Strings getDefaultFlakeAttrPaths() override { return { - "packages." + settings.thisSystem.get() + ".", - "legacyPackages." + settings.thisSystem.get() + "." + "packages." + settings.thisSystem.get(), + "legacyPackages." + settings.thisSystem.get() }; } |