about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-01-10T19·56+0100
committerProfpatsch <mail@profpatsch.de>2021-01-10T20·03+0000
commit2f807d7f141068d2d60676a89213eaa5353ca6e0 (patch)
tree4f2b13aab630c4febb5d9ccd3d701565009b6c39 /tools
parentc1cb4c260c97ad83a68f323dfeb4534f972c375a (diff)
feat(users/Profpatsch): add a rewriter for lib.stdenv changes r/2070
This is in order to advance the rewriting from stdenv.lib to lib.
https://github.com/NixOS/nixpkgs/issues/108938

The hard part about changing the argument is that a package might not
include lib in its arguments, which is why I use hnix to check whether
lib is included and add it to the import list if it doesn’t already
exist there.

So far, only the really common pattern of

    meta = with stdenv.lib;

is rewritten.

Change-Id: I370f0a321b0e5a5bd21ec21fc7cefdd65ec845ed
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2345
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions