nixos
Moritz Böhme 2021-09-14 23:34:26 +02:00
parent 9b623aa532
commit 022e27b7d4
1 changed files with 4 additions and 7 deletions

View File

@ -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 {