aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-06-06 13:06:40 +0200
committerGitHub <[email protected]>2022-06-06 13:06:40 +0200
commit322a4954123e71295eb035557debaaf093489d31 (patch)
treec53bc571164f84dc9519847acf109779e0ae13b6
parent63d6c594b9d6f96d9393d330f538bdc3c7d628f2 (diff)
parent3d4832990c8770c789c359cdffc505ddb31ca83d (diff)
downloadHyprland-322a4954123e71295eb035557debaaf093489d31.tar.gz
Hyprland-322a4954123e71295eb035557debaaf093489d31.zip
Merge pull request #167 from JamesReynolds/main
Fix error: attribute 'lastModifiedDate' missing
-rw-r--r--flake.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index aee2abd6..a756ed90 100644
--- a/flake.nix
+++ b/flake.nix
@@ -33,11 +33,11 @@
in {
packages = genSystems (system: {
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;
});
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;
};
});