lib: import shell from krebs/4lib

This commit is contained in:
tv 2016-08-02 20:24:45 +02:00
parent 6a91d7257b
commit aa167d3e26
3 changed files with 8 additions and 3 deletions

View File

@ -3,7 +3,7 @@
with builtins;
with lib;
let out = rec {
let out = import <stockholm/lib> // rec {
eq = x: y: x == y;
ne = x: y: x != y;
@ -34,7 +34,6 @@ let out = rec {
genid = import ./genid.nix { lib = lib // out; };
git = import ./git.nix { lib = lib // out; };
shell = import ./shell.nix { inherit lib; };
tree = import ./tree.nix { inherit lib; };
lpad = n: c: s:

7
lib/default.nix Normal file
View File

@ -0,0 +1,7 @@
let
lib = import <nixpkgs/lib> // builtins // {
shell = import ./shell.nix { inherit lib; };
};
in
lib

View File

@ -1,6 +1,5 @@
{ lib, ... }:
with builtins;
with lib;
rec {