Merge pull request #119465 from alyssais/fetchcvs
fetch{cvs,svn}: Hack around splicing annoyance
This commit is contained in:
commit
6802c2e2ce
@ -1,8 +1,8 @@
|
|||||||
{ stdenv, stdenvNoCC, lib, groff, mandoc, zlib, bison, flex
|
{ stdenv, stdenvNoCC, fetchcvs, lib, groff, mandoc, zlib, bison, flex
|
||||||
, writeText, buildPackages, splicePackages, symlinkJoin }:
|
, writeText, buildPackages, splicePackages, symlinkJoin }:
|
||||||
|
|
||||||
let
|
let
|
||||||
fetchNetBSD = path: version: sha256: buildPackages.fetchcvs {
|
fetchNetBSD = path: version: sha256: fetchcvs {
|
||||||
cvsRoot = ":pserver:anoncvs@anoncvs.NetBSD.org:/cvsroot";
|
cvsRoot = ":pserver:anoncvs@anoncvs.NetBSD.org:/cvsroot";
|
||||||
module = "src/${path}";
|
module = "src/${path}";
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
|
@ -375,7 +375,10 @@ in
|
|||||||
|
|
||||||
fetchbzr = callPackage ../build-support/fetchbzr { };
|
fetchbzr = callPackage ../build-support/fetchbzr { };
|
||||||
|
|
||||||
fetchcvs = callPackage ../build-support/fetchcvs { };
|
fetchcvs = if stdenv.buildPlatform != stdenv.hostPlatform
|
||||||
|
# hack around splicing being crummy with things that (correctly) don't eval.
|
||||||
|
then buildPackages.fetchcvs
|
||||||
|
else callPackage ../build-support/fetchcvs { };
|
||||||
|
|
||||||
fetchdarcs = callPackage ../build-support/fetchdarcs { };
|
fetchdarcs = callPackage ../build-support/fetchdarcs { };
|
||||||
|
|
||||||
@ -427,7 +430,10 @@ in
|
|||||||
|
|
||||||
fetchs3 = callPackage ../build-support/fetchs3 { };
|
fetchs3 = callPackage ../build-support/fetchs3 { };
|
||||||
|
|
||||||
fetchsvn = callPackage ../build-support/fetchsvn { };
|
fetchsvn = if stdenv.buildPlatform != stdenv.hostPlatform
|
||||||
|
# hack around splicing being crummy with things that (correctly) don't eval.
|
||||||
|
then buildPackages.fetchsvn
|
||||||
|
else callPackage ../build-support/fetchsvn { };
|
||||||
|
|
||||||
fetchsvnrevision = import ../build-support/fetchsvnrevision runCommand subversion;
|
fetchsvnrevision = import ../build-support/fetchsvnrevision runCommand subversion;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user