summary refs log tree commit diff
path: root/pkgs/build-support/fetchhg
Commit message (Collapse)AuthorAge
* prefer-fetch-remote: an overlay to fetch on remote buildersJörg Thalheim2019-01-18
| | | | | | 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.
* pkgs/*: remove unreferenced function argumentsvolth2018-07-21
|
* treewide: Fetchers should use `stdenvNoCC`.John Ericson2018-01-10
|
* treewide: Fixed output fetch* derivations should use `nativeBuildInputs`John Ericson2018-01-09
|
* fetch-*: remove md5 supportRobin Gloster2017-03-20
| | | | fixes #4491
* Remove fetchMD5warnEelco Dolstra2016-11-30
| | | | | | | | 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.
* fetch*: print a trace warning about md5 deprecationMichael Raskin2016-10-09
|
* lib/fetchers.nix: factor out impure proxy vars (#18702)Profpatsch2016-09-17
| | | | Apparently everyone just copied those variables, instead of creating a library constant for them. Some even removed the comment. -.-
* nix-prefetch-hg: Various bash style improvements, fixes #9511Benjamin Staffin2016-02-17
|
* fetchhg: fixed nix-prefetch-hg interpreterJuho Östman2015-10-06
|
* Merge pull request #7235 from risicle/fetchhgsubrepoEdward Tjörnhammar2015-05-04
|\ | | | | fetchhg: add option to fetch hg subrepos
| * fetchhg: add option to fetch hg subreposRobert Scott2015-05-04
| |
* | fetchhg: pass proxyvars to hgEdward Tjörnhammar2015-04-28
|/
* build-support: Fix nix-prefetch-* on OS X.aszlig2014-08-27
| | | | | | | | | | | | | | | | 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>
* build-support: Use mktemp -d in nix-prefetch-*.aszlig2014-08-25
| | | | | | | | | | | | | | | | | | | | | | 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>
* fetchbzr, fetchdarcs, fetchhg: use `rev` attrBenno Fünfstück2014-06-28
| | | | | This makes it match the behaviour of fetchgit and fetchsvn, so it's easier to write scripts that support all of them.
* nix-prefetch-{bzr,hg,svn}: print fetched revisionBenno Fünfstück2014-06-11
|
* Fix regression in fetchhg.Rob Vermaas2014-05-29
|
* Make fetchhg do the same as nix-prefetch-hg, use hg archive. Fixes #2781.Rob Vermaas2014-05-28
|
* fetchhg: allow untrusted certs (merge #540)Jack Cummings2013-05-20
| | | | It's for fixed-output derivations, security provided by output hash.
* Remove unnecessary parentheses around if conditionsEelco Dolstra2012-12-28
| | | | Pet peeve...
* fetchhg: removing the nix dependencyLluis Batlle2012-08-26
| | | | | I don't think it's required for anything. I tried once without it, and it worked equally fine.
* prefer local builds for fetchhgRob Vermaas2012-01-10
| | | | svn path=/nixpkgs/trunk/; revision=31462
* revert previous commit, i'm not awake...Rob Vermaas2011-12-19
| | | | svn path=/nixpkgs/trunk/; revision=30971
* make sure fetchhg always produces same output for same revisionRob Vermaas2011-12-19
| | | | svn path=/nixpkgs/trunk/; revision=30970
* remove .hg-archival.txt from nix-prefetch-hg resultRob Vermaas2011-11-03
| | | | svn path=/nixpkgs/trunk/; revision=30217
* nix-prefetch-hg: if url is local file, do not make clone, but run hg archive ↵Rob Vermaas2011-04-11
| | | | | | on it svn path=/nixpkgs/trunk/; revision=26779
* use same name as nix-prefetch-hg for derivationRob Vermaas2011-04-11
| | | | svn path=/nixpkgs/trunk/; revision=26778
* make nix-prefetch-hg executableRob Vermaas2010-07-27
| | | | svn path=/nixpkgs/trunk/; revision=22755
* Updating go, and making the go expression work in both i686-linux and ↵Lluís Batlle i Rossell2010-06-12
| | | | | | x86_64-linux. svn path=/nixpkgs/trunk/; revision=22230
* applying patches provided by griswoldRob Vermaas2010-01-27
| | | | svn path=/nixpkgs/trunk/; revision=19707
* * Add a fetchhg builder to checkout mercurial repositories.Nicolas Pierron2009-11-14
| | | | svn path=/nixpkgs/trunk/; revision=18347
* commented out avrdude which is using unstable lib functions,Marc Weber2007-09-04
missing fetchhg expression added svn path=/nixpkgs/trunk/; revision=9249