lib: make dag.nix take lib
as argument
This commit is contained in:
parent
61042c7606
commit
742d1889c5
|
@ -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