mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-09-11 14:35:30 +03:00
fix: utils.override: replace builtins.functionArgs -> lib.functionArgs
This commit is contained in:
parent
6ec1584c79
commit
c38d013134
@ -1,6 +1,10 @@
|
||||
{config, ...}: let
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
b = builtins;
|
||||
l = config.lib // builtins;
|
||||
l = config.lib;
|
||||
|
||||
loadOverridesDirs = overridesDirs: pkgs: let
|
||||
loadOverrides = dir:
|
||||
@ -47,7 +51,7 @@
|
||||
'';
|
||||
|
||||
getOverrideFunctionArgs = function: let
|
||||
funcArgs = l.functionArgs function;
|
||||
funcArgs = lib.functionArgs function;
|
||||
in
|
||||
if funcArgs != {}
|
||||
then b.attrNames funcArgs
|
||||
|
Loading…
Reference in New Issue
Block a user