fix Nix build and add updater

- move unnecessary toplevel files to nix/
- added patch that ignores the submodule (revert)
- add update script run by a workflow
This commit is contained in:
Mihai Fufezan
2022-06-01 01:52:34 +03:00
parent 9acf15efd7
commit 9447fcd603
7 changed files with 162 additions and 8 deletions

View File

@@ -36,7 +36,7 @@
version = mkVersion inputs.wlroots.lastModifiedDate;
src = inputs.wlroots;
});
default = pkgsFor.${system}.callPackage ./default.nix {
default = pkgsFor.${system}.callPackage ./nix/default.nix {
version = mkVersion self.lastModifiedDate;
inherit (self.packages.${system}) wlroots;
};
@@ -44,7 +44,7 @@
formatter = genSystems (system: pkgsFor.${system}.alejandra);
nixosModules.default = import ./module.nix self;
nixosModules.default = import ./nix/module.nix self;
# Deprecated
overlays.default = _: prev: {