Closed tomeon closed 4 months ago
Thanks for merging this!
It's a deprecated attribute
Indeed -- kinda hard to miss given the warning message in its definition :wink: -- though I think a fuller and more salient description would be "meant-to-be-deprecated attribute whose definition broke the ability to run nix flake check
". I'd be happy to tackle removing defaultPackage
altogether if it would be appropriate at this point, and I suspect it probably is appropriate (or at least safe) given that defaultPackage
was unusable up until you merged my changes, and nobody before me seems to have noticed.
Oh, yeah, it does warn about that. It's also been deprecated for a long time now. Feel free to remove it :+1:
by adding the missing (and in this case ignored) key/attribute-name argument to
lib.mapAttrs
.Without this, trying to evaluate
defaultPackage
triggers the errorerror: value is a string while a set was expected
.Discovered in running
nix flake check
while working on #92.Thanks!