mirror of
https://github.com/nix-community/home-manager
synced 2024-11-24 03:59:46 +01:00
lib: make dag.nix take lib
as argument
(cherry picked from commit 742d1889c5
)
This commit is contained in:
parent
21a4dedd6f
commit
d31a1ba6e2
6 changed files with 8 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
with import ./lib/dag.nix;
|
with import ./lib/dag.nix { inherit lib; };
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
# - the addition of the function `dagEntryBefore` indicating a
|
# - the addition of the function `dagEntryBefore` indicating a
|
||||||
# "wanted by" relationship.
|
# "wanted by" relationship.
|
||||||
|
|
||||||
with import <nixpkgs/lib/strings.nix>;
|
{ lib }:
|
||||||
with import <nixpkgs/lib/attrsets.nix>;
|
|
||||||
with import <nixpkgs/lib/lists.nix>;
|
with lib;
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
with import ../lib/dag.nix;
|
with import ../lib/dag.nix { inherit lib; };
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
with import ../lib/dag.nix;
|
with import ../lib/dag.nix { inherit lib; };
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
with import ../lib/dag.nix;
|
with import ../lib/dag.nix { inherit lib; };
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.programs.info;
|
cfg = config.programs.info;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
with import ./lib/dag.nix;
|
with import ./lib/dag.nix { inherit lib; };
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue