mirror of
https://github.com/NixOS/nix.git
synced 2025-12-21 08:21:08 +01:00
Merge pull request #12468 from kip93/self-input-attrs-lfs
Add `inputs.self.lfs` flake attribute
This commit is contained in:
commit
2d36679663
3 changed files with 40 additions and 2 deletions
|
|
@ -381,7 +381,7 @@ static FlakeRef applySelfAttrs(
|
|||
{
|
||||
auto newRef(ref);
|
||||
|
||||
std::set<std::string> allowedAttrs{"submodules"};
|
||||
std::set<std::string> allowedAttrs{"submodules", "lfs"};
|
||||
|
||||
for (auto & attr : flake.selfAttrs) {
|
||||
if (!allowedAttrs.contains(attr.first))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue