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=";
|
# 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
|
{
|
||||||
deepClone = true; # probably not needed
|
leaveDotGit = true; # maybe not needed, but we'd need another way to query the rev during build process below
|
||||||
}) sources.thirdparty);
|
deepClone = true; # probably not needed
|
||||||
|
} // s
|
||||||
|
))
|
||||||
|
sources.thirdparty
|
||||||
|
);
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(substituteAll (
|
(substituteAll (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user