lib: make dag.nix take lib as argument

(cherry picked from commit 742d1889c5)
This commit is contained in:
Robert Helgesson 2017-09-21 13:19:29 +02:00
parent 21a4dedd6f
commit d31a1ba6e2
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86
6 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
with lib;
with import ./lib/dag.nix;
with import ./lib/dag.nix { inherit lib; };
let

View file

@ -7,9 +7,9 @@
# - the addition of the function `dagEntryBefore` indicating a
# "wanted by" relationship.
with import <nixpkgs/lib/strings.nix>;
with import <nixpkgs/lib/attrsets.nix>;
with import <nixpkgs/lib/lists.nix>;
{ lib }:
with lib;
rec {

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
with lib;
with import ../lib/dag.nix;
with import ../lib/dag.nix { inherit lib; };
let

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
with lib;
with import ../lib/dag.nix;
with import ../lib/dag.nix { inherit lib; };
let

View file

@ -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;

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
with lib;
with import ./lib/dag.nix;
with import ./lib/dag.nix { inherit lib; };
let