summary refs log tree commit diff
path: root/pkgs/build-support/fetchbzr
Commit message (Collapse)AuthorAge
* treewide: Fetchers should use `stdenvNoCC`.John Ericson2018-01-10
|
* treewide: Fixed output fetch* derivations should use `nativeBuildInputs`John Ericson2018-01-09
|
* fetchbzr: do not write logs to non-existing homeJoerg Thalheim2017-10-30
|
* nix-prefetch-bzr: match path name to fetchbzr nameThomas Tuegel2015-12-19
| | | | | | fetchbzr always uses the derivation name `bzr-export`. nix-prefetch-bzr should use the same name for its output. This avoids duplicate downloads and problems with forbidden characters in bazaar repository names.
* 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
|
* - fetchbzr and nix-prefetch-bzr now only export, instead of cloningMichael Ashton2013-03-31
| | | | | | | | | | | - The option for cloning in nix-prefetch-bzr is removed - ssl certificates are now ignored by fetchbzr This means that no .bzr directory is downloaded. Without this change, the hash of the result is unpredictable, probably because of timestamping in the .bzr directory. Currently, the only package using fetchbzr is kicad.
* added nix-prefetch-bzrRob Vermaas2011-02-08
| | | | svn path=/nixpkgs/trunk/; revision=25806
* Add `fetchbzr', to retrieve remote Bazaar repositories.Ludovic Courtès2008-09-26
svn path=/nixpkgs/trunk/; revision=12924