flake: move 'lib' to 'flake/'

This commit is contained in:
Bruno BELANYI 2023-03-07 10:44:29 +00:00
parent 819ce1a320
commit 90d1d81983
2 changed files with 10 additions and 5 deletions

7
flake/lib.nix Normal file
View file

@ -0,0 +1,7 @@
{ self, nixpkgs, ... } @ inputs:
let
lib = nixpkgs.lib.extend (final: _: {
my = import "${self}/lib" { inherit inputs; pkgs = nixpkgs; lib = final; };
});
in
lib