diff options
author | tv <tv@krebsco.de> | 2016-02-14 16:43:44 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-14 16:43:44 +0100 |
commit | 673853e092c211e26a08030f87f9c868c6442a71 (patch) | |
tree | c71d2ac88a48cd74c37f03d1665e666030500d1d /krebs/3modules/nixpkgs.nix | |
parent | 9f16d7ea71a2566b973ad0ac603c63ac3c6f4311 (diff) |
RIP specialArgs.lib
Diffstat (limited to 'krebs/3modules/nixpkgs.nix')
-rw-r--r-- | krebs/3modules/nixpkgs.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/krebs/3modules/nixpkgs.nix b/krebs/3modules/nixpkgs.nix index 4129f9483..5816b8a30 100644 --- a/krebs/3modules/nixpkgs.nix +++ b/krebs/3modules/nixpkgs.nix @@ -1,11 +1,11 @@ -{ config, pkgs, lib, ... }: -with lib; +{ config, lib, pkgs, ... }: +with config.krebs.lib; let cfg = config.krebs.nixpkgs; out = { options.krebs.nixpkgs = api; - config = mkIf cfg.enable imp; + config = lib.mkIf cfg.enable imp; }; api = { @@ -37,7 +37,7 @@ let }; }; - imp = mkIf (cfg.allowUnfreePredicate != null) { + imp = lib.mkIf (cfg.allowUnfreePredicate != null) { nixpkgs.config.allowUnfreePredicate = cfg.allowUnfreePredicate; }; in out |