default.nix: lib = import 4lib/krebs

This commit is contained in:
tv 2015-07-27 21:36:15 +02:00
parent 5a03593b3a
commit 981664337f
2 changed files with 7 additions and 8 deletions

View File

@ -1,8 +1,12 @@
{ user-name, system-name }:
let
lib = import 4lib/krebs {
lib = import <nixpkgs/lib>;
};
eval = import <nixpkgs/nixos/lib/eval-config.nix> {
inherit lib;
system = builtins.currentSystem;
modules = map (p: ./. + "/${p}") [
"${user-name}/systems/${system-name}.nix"

View File

@ -1,16 +1,11 @@
{ lib, pkgs, ... }:
let
krebs = import ../../4lib/krebs { inherit lib; };
in
with lib;
with krebs;
krebs // rec {
lib // rec {
git = import ./git.nix {
lib = krebs;
inherit pkgs;
inherit lib pkgs;
};
# "7.4.335" -> "74"