sage: fix fetchSageDiff (#55783)
For some reason I changed it to use `cgit`s `rawdiff` instead of `patch` in the update to sage 8.6. Probably commited that by accident, at least I can't remember the reason. Also changed the excludes filter, the leading slash prevented it from working. As a result, the cypari2 patch changed. Only didn't notice because it was cached. Fixes #55780
This commit is contained in:
parent
b2e2fe8219
commit
9243e85fbc
|
@ -64,10 +64,10 @@ stdenv.mkDerivation rec {
|
||||||
fetchSageDiff = { base, rev, name ? "sage-diff-${base}-${rev}.patch", ...}@args: (
|
fetchSageDiff = { base, rev, name ? "sage-diff-${base}-${rev}.patch", ...}@args: (
|
||||||
fetchpatch ({
|
fetchpatch ({
|
||||||
inherit name;
|
inherit name;
|
||||||
url = "https://git.sagemath.org/sage.git/rawdiff?id2=${base}&id=${rev}";
|
url = "https://git.sagemath.org/sage.git/patch?id2=${base}&id=${rev}";
|
||||||
# We don't care about sage's own build system (which builds all its dependencies).
|
# We don't care about sage's own build system (which builds all its dependencies).
|
||||||
# Exclude build system changes to avoid conflicts.
|
# Exclude build system changes to avoid conflicts.
|
||||||
excludes = [ "/build/*" ];
|
excludes = [ "build/*" ];
|
||||||
} // builtins.removeAttrs args [ "rev" "base" ])
|
} // builtins.removeAttrs args [ "rev" "base" ])
|
||||||
);
|
);
|
||||||
in [
|
in [
|
||||||
|
|
Loading…
Reference in New Issue