lib: make dag.nix take lib as argument

This commit is contained in:
Robert Helgesson 2017-09-21 13:19:29 +02:00
parent 61042c7606
commit 742d1889c5
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