refactor
This commit is contained in:
parent
9b623aa532
commit
022e27b7d4
1 changed files with 4 additions and 7 deletions
11
flake.nix
11
flake.nix
|
@ -32,6 +32,10 @@
|
||||||
utils.lib.mkFlake {
|
utils.lib.mkFlake {
|
||||||
inherit self inputs;
|
inherit self inputs;
|
||||||
|
|
||||||
|
overlay = import ./overlays { inherit inputs; };
|
||||||
|
overlays = utils.lib.exportOverlays {
|
||||||
|
inherit (self) pkgs inputs;
|
||||||
|
};
|
||||||
|
|
||||||
channels.nixpkgs.overlaysBuilder = channels: [
|
channels.nixpkgs.overlaysBuilder = channels: [
|
||||||
self.overlay
|
self.overlay
|
||||||
|
@ -40,13 +44,6 @@
|
||||||
inputs.nur.overlay
|
inputs.nur.overlay
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
overlay = import ./overlays { inherit inputs; };
|
|
||||||
overlays = utils.lib.exportOverlays {
|
|
||||||
inherit (self) pkgs inputs;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
outputsBuilder = channels: {
|
outputsBuilder = channels: {
|
||||||
packages = utils.lib.exportPackages self.overlays channels;
|
packages = utils.lib.exportPackages self.overlays channels;
|
||||||
devShell = channels.nixpkgs.mkShell {
|
devShell = channels.nixpkgs.mkShell {
|
||||||
|
|
Loading…
Reference in a new issue