Merge pull request #167 from JamesReynolds/main

Fix error: attribute 'lastModifiedDate' missing
This commit is contained in:
vaxerski 2022-06-06 13:06:40 +02:00 committed by GitHub
commit 322a495412
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}; };
}); });