-
Notifications
You must be signed in to change notification settings - Fork 55
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
modernize nix a little #173
Conversation
Thanks, I'll have a look soon. |
one of the files is the generated json parser from niv |
17a5187
to
9e772e2
Compare
|
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.
@AlexeyRaga All this is doing is pinning nixpkgs instead of getting whatever version is in the user's channels. Until flakes take over (eventually, I hope, because they seem good in theory), niv
seems to be the predominant way of pinning remote nix deps.
@michaelglass There was a bit of a mess with branches (GH force-switched the default branch from |
9e772e2
to
e6ceb60
Compare
thanks @AlexeyRaga. rebased on main |
the problems
librdkafka
from nix is an arduous processnix-shell
is slow to launchthe solutions
1.
niv
handles nix versioning.before
https://github.com/nixos/nixpkgs
after
$ niv update
2. [opt-in] if you have direnv installed and setup,
direnv allow
will cache nix-shell launchthis PR adds a
.envrc
, which in combination withdirenv
makes nix usage snappyit also updates change the existing
nixpkgs
version to resolve security warnings with modern nixpkgs.