about summary refs log tree commit diff
path: root/pkgs/build-support/fetchhg
AgeCommit message (Collapse)AuthorFilesLines
2023-02-13treewide: use optionalStringFelix Buehler1-2/+2
2023-01-16treewide: remove usages of header and stopNestArtturin1-3/+1
they're obsolete
2022-12-08treewide: source .attrs in buildersArtturin1-0/+1
if theres a source $stdenv then this is needed for structuredAttrs
2021-01-27treewide: stdenvNoCC.lib -> libBen Siraphob1-2/+2
2019-01-18prefer-fetch-remote: an overlay to fetch on remote buildersJörg Thalheim1-2/+9
This is useful when running tools like NixOps or nix-review on workstations where the upload to the builder is significantly slower then downloading the source on the builder itself.
2018-07-21pkgs/*: remove unreferenced function argumentsvolth1-1/+1
2018-01-10treewide: Fetchers should use `stdenvNoCC`.John Ericson1-3/+3
2018-01-09treewide: Fixed output fetch* derivations should use `nativeBuildInputs`John Ericson1-1/+1
2017-03-20fetch-*: remove md5 supportRobin Gloster1-5/+5
fixes #4491
2016-11-30Remove fetchMD5warnEelco Dolstra1-2/+1
Deprecation warnings should not be used in Nixpkgs because they spam innocent "nix-env -qa" users with (in this case) dozens of messages that they can't do anything about. This also reverts commit 2ca883338389b7ab995924a0cab0211993bdf1da.
2016-10-09fetch*: print a trace warning about md5 deprecationMichael Raskin1-1/+2
2016-09-17lib/fetchers.nix: factor out impure proxy vars (#18702)Profpatsch1-3/+1
Apparently everyone just copied those variables, instead of creating a library constant for them. Some even removed the comment. -.-
2016-02-17nix-prefetch-hg: Various bash style improvements, fixes #9511Benjamin Staffin1-34/+34
2015-10-06fetchhg: fixed nix-prefetch-hg interpreterJuho Östman1-1/+2
2015-05-04Merge pull request #7235 from risicle/fetchhgsubrepoEdward Tjörnhammar3-3/+11
fetchhg: add option to fetch hg subrepos
2015-05-04fetchhg: add option to fetch hg subreposRobert Scott3-4/+12
2015-04-28fetchhg: pass proxyvars to hgEdward Tjörnhammar1-1/+5
2014-08-27build-support: Fix nix-prefetch-* on OS X.aszlig1-1/+1
Fixes a regression on OS X introduced by f83af95. Don't use --tmpdir for mktemp, because that flag doesn't exist on OS X. However, using -t is deprecated in GNU coreutils, so as suggested by @ip1981 we're now using parameter expansion on ${TMPDIR:-/tmp} to provide /tmp as a fallback if TMPDIR is not set and use it instead. Also use this approach for nix-prefetch-cvs now in order to stay consistent. Reported-by: Vladimir Kirillov <proger@wilab.org.ua> Tested-by: Igor Pashev <pashev.igor@gmail.com> Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-08-25build-support: Use mktemp -d in nix-prefetch-*.aszlig1-4/+3
Instead of relying on $$ to not collide with an existing path. Quoting the Bash manual about $$: > Expands to the process ID of the shell. In a () subshell, it expands > to the process ID of the current shell, not the subshell. So, this is different from $BASHPID: > Expands to the process ID of the current bash process. This differs > from $$ under certain circumstances, such as subshells that do not > require bash to be re-initialized. But even $BASHPID is prone to race conditions if the process IDs wrap around, so to be on the safe side, we're using mktemp here. Closes #3784. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-06-28fetchbzr, fetchdarcs, fetchhg: use `rev` attrBenno Fünfstück2-4/+4
This makes it match the behaviour of fetchgit and fetchsvn, so it's easier to write scripts that support all of them.
2014-06-11nix-prefetch-{bzr,hg,svn}: print fetched revisionBenno Fünfstück1-0/+1
2014-05-29Fix regression in fetchhg.Rob Vermaas1-2/+1
2014-05-28Make fetchhg do the same as nix-prefetch-hg, use hg archive. Fixes #2781.Rob Vermaas1-2/+3
2013-05-20fetchhg: allow untrusted certs (merge #540)Jack Cummings1-1/+1
It's for fixed-output derivations, security provided by output hash.
2012-12-28Remove unnecessary parentheses around if conditionsEelco Dolstra1-3/+3
Pet peeve...
2012-08-26fetchhg: removing the nix dependencyLluis Batlle1-1/+1
I don't think it's required for anything. I tried once without it, and it worked equally fine.
2012-01-10prefer local builds for fetchhgRob Vermaas1-0/+1
svn path=/nixpkgs/trunk/; revision=31462
2011-12-19revert previous commit, i'm not awake...Rob Vermaas1-1/+0
svn path=/nixpkgs/trunk/; revision=30971
2011-12-19make sure fetchhg always produces same output for same revisionRob Vermaas1-0/+1
svn path=/nixpkgs/trunk/; revision=30970
2011-11-03remove .hg-archival.txt from nix-prefetch-hg resultRob Vermaas1-0/+1
svn path=/nixpkgs/trunk/; revision=30217
2011-04-11nix-prefetch-hg: if url is local file, do not make clone, but run hg archive ↵Rob Vermaas1-2/+6
on it svn path=/nixpkgs/trunk/; revision=26779
2011-04-11use same name as nix-prefetch-hg for derivationRob Vermaas1-1/+1
svn path=/nixpkgs/trunk/; revision=26778
2010-07-27make nix-prefetch-hg executableRob Vermaas1-0/+0
svn path=/nixpkgs/trunk/; revision=22755
2010-06-12Updating go, and making the go expression work in both i686-linux and ↵Lluís Batlle i Rossell1-4/+4
x86_64-linux. svn path=/nixpkgs/trunk/; revision=22230
2010-01-27applying patches provided by griswoldRob Vermaas1-0/+71
svn path=/nixpkgs/trunk/; revision=19707
2009-11-14* Add a fetchhg builder to checkout mercurial repositories.Nicolas Pierron2-1/+11
svn path=/nixpkgs/trunk/; revision=18347
2007-09-04commented out avrdude which is using unstable lib functions,Marc Weber1-0/+16
missing fetchhg expression added svn path=/nixpkgs/trunk/; revision=9249