mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-08-17 02:10:31 +03:00
chore: remove some more lib // builtins
This commit is contained in:
parent
9d01389c49
commit
8032f96d8e
@ -1,6 +1,5 @@
|
|||||||
{config, ...}: let
|
{config, ...}: let
|
||||||
lib = config.lib;
|
l = config.lib;
|
||||||
l = lib // builtins;
|
|
||||||
defaults = {
|
defaults = {
|
||||||
# TODO: define a priority in each builder and remove the defaults here.
|
# TODO: define a priority in each builder and remove the defaults here.
|
||||||
rust = "build-rust-package";
|
rust = "build-rust-package";
|
||||||
@ -19,7 +18,7 @@ in {
|
|||||||
builders = funcs.import_ collectedModules;
|
builders = funcs.import_ collectedModules;
|
||||||
|
|
||||||
buildersBySubsystem =
|
buildersBySubsystem =
|
||||||
lib.mapAttrs
|
l.mapAttrs
|
||||||
(
|
(
|
||||||
subsystem: builders:
|
subsystem: builders:
|
||||||
builders
|
builders
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
...
|
...
|
||||||
} @ args: let
|
} @ args: let
|
||||||
b = builtins;
|
b = builtins;
|
||||||
l = lib // builtins;
|
l = config.lib;
|
||||||
|
|
||||||
# resolve to individual fetcher calls
|
# resolve to individual fetcher calls
|
||||||
defaultFetched = (defaultFetcher args).fetchedSources;
|
defaultFetched = (defaultFetcher args).fetchedSources;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{framework, ...}: let
|
{lib, ...}: let
|
||||||
l = framework.lib // builtins;
|
l = lib // builtins;
|
||||||
t = l.types;
|
t = l.types;
|
||||||
|
|
||||||
outputsOptions = {
|
outputsOptions = {
|
||||||
|
Loading…
Reference in New Issue
Block a user