nix: misc tweaks to flake

This commit is contained in:
Fernando Ayats 2022-05-17 14:03:58 +02:00
parent c02e163591
commit c7dc0fd509

View file

@ -23,6 +23,7 @@
in {
packages = genSystems (system: {
wlroots = pkgsFor.${system}.wlroots.overrideAttrs (prev: {
version = inputs.wlroots.lastModifiedDate;
src = inputs.wlroots;
});
default = pkgsFor.${system}.callPackage ./default.nix {
@ -30,5 +31,8 @@
inherit (self.packages.${system}) wlroots;
};
});
formatter = genSystems (system: pkgsFor.${system}.alejandra);
# TODO Provide a nixos module for easy installation
# nixosModules.default = import ./module.nix;
};
}