-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
parallel-full: init SQL and CSV support #77619
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
Conversation
Does |
822746f
to
aba7a2a
Compare
Added CSV support and changed name to |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
pkgs/tools/misc/parallel/default.nix
Outdated
wrapProgram $out/bin/parallel \ | ||
--prefix PATH : "${stdenv.lib.makeBinPath [ procps perl ]}" | ||
--prefix PATH : "${stdenv.lib.makeBinPath [ procps perl ]}" \ | ||
--set PERL5LIB "${perlPackages.makeFullPerlPath extraPerlPackages}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it is just an environment variable added I would make parallel-full
a wrapper around parallel
that adds these packages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not 100% sure if the wrapper approach i used is correct, but it works. Open to a better approach.
bdb48ab
to
de25fed
Compare
parallel: add pacakges for CSV function parallel: use wrapper to include more libraries parallel: remove unneeded with parallel: remove args Co-Authored-By: Jörg Thalheim <Mic92@users.noreply.github.com> parallel: move default pacakges for full into wrapper
de25fed
to
52f46fe
Compare
Motivation for this change
Allow using parallel's SQL features.
--sqlmaster
and--sqlworker
Things done
Created parallel-extra to prevent adding dependencies to existing users.
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): increased by 14.7M to add SQL support (93.2M -> 107.9M)