1
1
Fork 0
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:
Robert Hensing 2025-02-15 17:30:57 +01:00 committed by GitHub
commit 2d36679663
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 40 additions and 2 deletions

View file

@ -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))