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
nixos/modules: stdenv.lib -> lib #109665
nixos/modules: stdenv.lib -> lib #109665
Conversation
0b1912f
to
66dc9db
Compare
@@ -2,7 +2,7 @@ import ./make-test-python.nix ({ pkgs, ...} : | |||
|
|||
{ | |||
name = "searx"; | |||
meta = with pkgs.stdenv.lib.maintainers; { | |||
meta = with pkgs.lib.maintainers; { |
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.
Should we also do pkgs.lib
-> lib
in NixOS modules?
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 sure, but I prefer not to do this in this commit anyway.
Most of other modules use pkgs.lib
at the moment.
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.
Diff looks good and it evaluates.
@@ -1,11 +1,9 @@ | |||
{ config, lib, pkgs, ... }: | |||
|
|||
with lib; |
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.
Good riddance!
❤️
Motivation for this change
Part of #108938
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)