We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sbomnix reads the nix package meta info from the json file given via the command-line --meta option.
--meta
This needs to be re-done properly, ultimately aiming to get rid of the need for --meta command line argument completely.
The text was updated successfully, but these errors were encountered:
How about:
diff --git a/pkgs/stdenv/generic/make-derivation.nix b/pkgs/stdenv/generic/make-derivation.nix index 51c78c55d599..f4ad35af2c1a 100644 --- a/pkgs/stdenv/generic/make-derivation.nix +++ b/pkgs/stdenv/generic/make-derivation.nix @@ -299,6 +299,7 @@ else let "__impureHostDeps" "__propagatedImpureHostDeps" "sandboxProfile" "propagatedSandboxProfile"] ++ lib.optional (__structuredAttrs || envIsExportable) "env")) + // { meta = builtins.toJSON (attrs.meta or {}); } // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { name = let
Sorry, something went wrong.
@domenkozar : thanks for providing input to this issue!
What you are proposing requires a change in nixpkgs, right?
NixOS/nixpkgs#256296
Resolved with #100
No branches or pull requests
sbomnix reads the nix package meta info from the json file given via the command-line
--meta
option.This needs to be re-done properly, ultimately aiming to get rid of the need for
--meta
command line argument completely.The text was updated successfully, but these errors were encountered: