mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 13:06:00 +01:00
Fix error: attribute 'lastModifiedDate' missing
Only applies to some versions of flakes, tested on nix 2.8.1.
This commit is contained in:
parent
84a0fa0f34
commit
3d4832990c
1 changed files with 2 additions and 2 deletions
|
@ -33,11 +33,11 @@
|
||||||
in {
|
in {
|
||||||
packages = genSystems (system: {
|
packages = genSystems (system: {
|
||||||
wlroots = pkgsFor.${system}.wlroots.overrideAttrs (prev: {
|
wlroots = pkgsFor.${system}.wlroots.overrideAttrs (prev: {
|
||||||
version = mkVersion inputs.wlroots.lastModifiedDate;
|
version = mkVersion (toString (inputs.wlroots.lastModifiedDate or inputs.wlroots.lastModified or "19700101"));
|
||||||
src = inputs.wlroots;
|
src = inputs.wlroots;
|
||||||
});
|
});
|
||||||
default = pkgsFor.${system}.callPackage ./nix/default.nix {
|
default = pkgsFor.${system}.callPackage ./nix/default.nix {
|
||||||
version = mkVersion self.lastModifiedDate;
|
version = mkVersion (toString (self.lastModifiedDate or self.lastModified or "19700101"));
|
||||||
inherit (self.packages.${system}) wlroots;
|
inherit (self.packages.${system}) wlroots;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue