Init
This commit is contained in:
commit
c8991b8e7e
3 changed files with 49 additions and 0 deletions
9
overlays/my-pkgs.nix
Normal file
9
overlays/my-pkgs.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
self: super: let
|
||||
pkgsDir = ./../pkgs;
|
||||
pkgNames = builtins.attrNames (builtins.readDir pkgsDir);
|
||||
myPkgs = builtins.listToAttrs (map (name: {
|
||||
name = name; value = super.callPackage (pkgsDir + "/" + name) {};
|
||||
}) pkgNames);
|
||||
|
||||
in
|
||||
super // myPkgs
|
||||
Loading…
Add table
Add a link
Reference in a new issue