koreader-from-src: nit: tidy fetchgit impl

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

View File

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