remove redundant functions from pkgs that are in trivionomicon
This commit is contained in:
parent
051303028a
commit
935ca29100
3 changed files with 1 additions and 26 deletions
|
@ -5,10 +5,8 @@
|
|||
with prev.lib; let
|
||||
inherit (final) callPackage fetchpatch;
|
||||
in {
|
||||
lib = callPackage ./lib {};
|
||||
|
||||
override =
|
||||
{
|
||||
{# add python modules here to make them available in all versions
|
||||
}
|
||||
// (
|
||||
let
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
{callPackage}: {
|
||||
importAll = callPackage ./importAll.nix {};
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
{lib}: {
|
||||
root,
|
||||
exclude ? [],
|
||||
}:
|
||||
with builtins;
|
||||
with lib;
|
||||
# http://chriswarbo.net/projects/nixos/useful_hacks.html
|
||||
let
|
||||
basename = removeSuffix ".nix";
|
||||
|
||||
isMatch = name: type:
|
||||
(hasSuffix ".nix" name || type == "directory")
|
||||
&& ! elem name (map basename exclude);
|
||||
|
||||
entry = name: _: {
|
||||
name = basename name;
|
||||
value = import (root + "/${name}");
|
||||
};
|
||||
in
|
||||
mapAttrs' entry (filterAttrs isMatch (readDir root))
|
Loading…
Add table
Add a link
Reference in a new issue