New issue
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
python3Packages.hjson: fix wrapper #105398
Conversation
CC @SuperSandro2000 @lukegb as a follow-up to #105309, I propose we simply |
Instead of removing them, can we maybe wrap them so people can use this tool from the cli too? |
I spent a little while messing around with wrapProgram and wrapPythonPrograms, but wasn't quite sure how to make it work after re-reading the manual. Any tips? Agreed it would be nicer to leave the wrappers than to remove them. |
I mean, |
Looks much better now! $ /nix/store/i5vczg3za00s2015zgj0w5y95hzampni-python3.8-hjson-3.0.2/bin/hjson --help
Hjson, a user interface for JSON
Usage:
hjson [options]
hjson [options] <input>
hjson (-h | --help)
hjson (-V | --version)
Options:
-h --help Show this screen.
-j Output as formatted JSON.
-c Output as JSON.
-V --version Show version.
|
Result of 3 packages built:
|
Result of 3 packages built:
|
And add a basic import test with the standard hook.
9fbfaf1
to
60d8c84
Compare
And add a basic import test with the standard hook.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)