diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2021-08-21 20:17:05 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2021-08-21 20:17:05 +0200 |
commit | 2d66a31f015a26f182f8a70fa09c635d1c7a1739 (patch) | |
tree | 4e8eae1ecd5998cc14c9a1a5030cd921e720a716 /src/nix/bundle.cc | |
parent | d7b6c8f59197c5b5a0f8a8ea077538372992d7ef (diff) |
nix {bundle,run}: drop broken flake attr-path prefixes
“packages” was probably meant to be “packages.${system}.” but that
is already listed in `getDefaultFlakeAttrPathPrefixes` in `installables`,
which is probably why no one noticed it was broken.
Diffstat (limited to 'src/nix/bundle.cc')
-rw-r--r-- | src/nix/bundle.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/bundle.cc b/src/nix/bundle.cc index cedb5704c..aca024bca 100644 --- a/src/nix/bundle.cc +++ b/src/nix/bundle.cc @@ -59,7 +59,7 @@ struct CmdBundle : InstallableCommand Strings getDefaultFlakeAttrPathPrefixes() override { - Strings res{"apps." + settings.thisSystem.get() + ".", "packages"}; + Strings res{"apps." + settings.thisSystem.get() + "."}; for (auto & s : SourceExprCommand::getDefaultFlakeAttrPathPrefixes()) res.push_back(s); return res; |