koreader-from-src: nit: tidy fetchgit impl

This commit is contained in:
Colin 2023-07-19 10:25:41 +00:00
parent 7e5904c073
commit 5ce0805046

View File

@ -35,11 +35,15 @@ stdenv.mkDerivation rec {
# hash = "sha256-gdf7AUTpIJ6T4H915YqRG1WzxYHrGmzX6X4dMriWzRA=";
name = "koreader";
})
] ++ (builtins.map (s: fetchgit {
inherit (s) url rev hash name;
leaveDotGit = true; # maybe not needed, but we'd need another way to query the rev during build process below
deepClone = true; # probably not needed
}) sources.thirdparty);
] ++ (builtins.map
(s: fetchgit (
{
leaveDotGit = true; # maybe not needed, but we'd need another way to query the rev during build process below
deepClone = true; # probably not needed
} // s
))
sources.thirdparty
);
patches = [
(substituteAll (