diff --git a/modules/home-environment.nix b/modules/home-environment.nix index db4a9847..24c1a40c 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, ... }: with lib; -with import ./lib/dag.nix; +with import ./lib/dag.nix { inherit lib; }; let diff --git a/modules/lib/dag.nix b/modules/lib/dag.nix index cb7e6f89..535dec35 100644 --- a/modules/lib/dag.nix +++ b/modules/lib/dag.nix @@ -7,9 +7,9 @@ # - the addition of the function `dagEntryBefore` indicating a # "wanted by" relationship. -with import ; -with import ; -with import ; +{ lib }: + +with lib; rec { diff --git a/modules/programs/gnome-terminal.nix b/modules/programs/gnome-terminal.nix index dc8990a9..ee9db93b 100644 --- a/modules/programs/gnome-terminal.nix +++ b/modules/programs/gnome-terminal.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, ... }: with lib; -with import ../lib/dag.nix; +with import ../lib/dag.nix { inherit lib; }; let diff --git a/modules/programs/home-manager.nix b/modules/programs/home-manager.nix index 413f5668..a8950a74 100644 --- a/modules/programs/home-manager.nix +++ b/modules/programs/home-manager.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, ... }: with lib; -with import ../lib/dag.nix; +with import ../lib/dag.nix { inherit lib; }; let diff --git a/modules/programs/info.nix b/modules/programs/info.nix index 3042331c..3671c5c4 100644 --- a/modules/programs/info.nix +++ b/modules/programs/info.nix @@ -21,7 +21,7 @@ { config, lib, pkgs, ... }: with lib; -with import ../lib/dag.nix; +with import ../lib/dag.nix { inherit lib; }; let cfg = config.programs.info; diff --git a/modules/systemd.nix b/modules/systemd.nix index 6ca8e217..57017a66 100644 --- a/modules/systemd.nix +++ b/modules/systemd.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, ... }: with lib; -with import ./lib/dag.nix; +with import ./lib/dag.nix { inherit lib; }; let