diff options
| author | James Reynolds <james.reynolds@cristiesoftware.com> | 2022-06-06 10:20:56 +0100 |
|---|---|---|
| committer | James Reynolds <james.reynolds@cristiesoftware.com> | 2022-06-06 10:20:56 +0100 |
| commit | 3d4832990c8770c789c359cdffc505ddb31ca83d (patch) | |
| tree | 43ef74eea99179bbde3ee89d10c24da7e5ea6017 | |
| parent | 84a0fa0f34ccc82c1bbb961bac0dbe81c82e999c (diff) | |
Fix error: attribute 'lastModifiedDate' missing
Only applies to some versions of flakes, tested on nix 2.8.1.
| -rw-r--r-- | flake.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; }; }); |
