koreader-from-src: nit: tidy fetchgit impl
This commit is contained in:
parent
7e5904c073
commit
5ce0805046
|
@ -35,11 +35,15 @@ stdenv.mkDerivation rec {
|
|||
# hash = "sha256-gdf7AUTpIJ6T4H915YqRG1WzxYHrGmzX6X4dMriWzRA=";
|
||||
name = "koreader";
|
||||
})
|
||||
] ++ (builtins.map (s: fetchgit {
|
||||
inherit (s) url rev hash name;
|
||||
] ++ (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
|
||||
}) sources.thirdparty);
|
||||
} // s
|
||||
))
|
||||
sources.thirdparty
|
||||
);
|
||||
|
||||
patches = [
|
||||
(substituteAll (
|
||||
|
|
Loading…
Reference in New Issue
Block a user