bitscope: refactored to expose to nixpkgs-lint #33834
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
The linter (nixpkgs-lint) was not able to find the bitscope packages
because I forgot to
recurseIntoAttrs
the bitscope suite set. Furthermore, I inherit themeta
andname
attributes from the package builder helper. This fixesa naming problem since the name of the derivation was formerly set to
the
attrs.toolName
which didn't postfix the version, whereas nixpackages are required to adhere to the
${PACKAGENAME}-${VERSION}
pattern.
In order to keep the produced FHSEnv binary's name short and sweet and produced it with a versionless name and subsequently merged the versioned-name into the resulting derivation.
Not sure if I'm doing some weird 馃挬... if so, please yell at me so I can fix that and developed a good mental association from preventing me from doing the same in the future 馃槈.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)