summary refs log tree commit diff
path: root/pkgs/build-support/fetchsvn
Commit message (Collapse)AuthorAge
* 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>
* nix-prefetch-{bzr,hg,svn}: print fetched revisionBenno Fünfstück2014-06-11
|
* preferLocalBuild: set to true for wrappers and fetchersVladimír Čunát2014-02-10
|
* Update FLTK and TigerVNC; doesn't fix TigerVNC Xvnc build per seMichael Raskin2014-01-01
|
* fetchsvn: handle redirect(s)Bjørn Forsman2013-11-01
| | | | | Instead of failing if the server redirects us to a new URL, accept up to 2 redirects by printing 2 extra p's to subversion.
* fetchsvn: Allow setting the name of the outputShea Levy2013-05-26
| | | | Signed-off-by: Shea Levy <shea@shealevy.com>
* fetchsvn: Add ignoreExternals attribute.aszlig2013-03-27
| | | | | | | | | There are some SVN repositories out there which don't have revision information tied to externals. By using ignoreExternals, fetchsvn won't fetch these externals anymore, so the fetch won't fail with a checksum mismatch, should there be some changes in some of those external repositories. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nix-prefetch-svn: Support $NIX_PREFETCH_SVN_LEAVE_DOT_SVN.Ludovic Courtès2009-12-03
| | | | svn path=/nixpkgs/trunk/; revision=18789
* Change fetchsvn as well as nix-prefect-svn to use the repository name andNicolas Pierron2009-10-06
| | | | | | the revision number inside the derivation name. svn path=/nixpkgs/trunk/; revision=17677
* nix-prefetch-svn: Use SHA256/Base32 by default.Ludovic Courtès2009-07-10
| | | | svn path=/nixpkgs/trunk/; revision=16322
* Update fetchsvn for proxy supportMichael Raskin2009-05-19
| | | | svn path=/nixpkgs/trunk/; revision=15654
* * Don't suppress error messages.Eelco Dolstra2008-11-25
| | | | svn path=/nixpkgs/trunk/; revision=13424
* * fetchsvn: Nix already checks the hash, no need for the builder to do it.Eelco Dolstra2008-02-29
| | | | svn path=/nixpkgs/trunk/; revision=10896
* * fetchcvs: cleanup, use nix-store --add-fixed like fetchurl/svn.Eelco Dolstra2008-02-28
| | | | | | Argument "url" renamed to "cvsRoot" (it's not a URL). svn path=/nixpkgs/trunk/; revision=10889
* Michael Raskin2007-12-04
| | | | svn path=/nixpkgs/trunk/; revision=9861
* * Don't pollute /tmp.Eelco Dolstra2006-07-18
| | | | svn path=/nixpkgs/trunk/; revision=5769
* * Show less garbage.Eelco Dolstra2006-07-17
| | | | svn path=/nixpkgs/trunk/; revision=5761
* Added ssh support to fetchsvnMartin Bravenboer2006-07-17
| | | | svn path=/nixpkgs/trunk/; revision=5734
* * More hackery.Eelco Dolstra2006-05-31
| | | | svn path=/nixpkgs/trunk/; revision=5351
* * We no longer need the prefetch stuff.Eelco Dolstra2006-05-30
| | | | svn path=/nixpkgs/trunk/; revision=5340
* * Make nix-prefetch-svn use nix-store --add-fixed (just likeEelco Dolstra2006-05-30
| | | | | | nix-prefetch-url) svn path=/nixpkgs/trunk/; revision=5339
* * Do use readlink if available.Eelco Dolstra2006-05-02
| | | | svn path=/nixpkgs/trunk/; revision=5252
* * system -> top-level.Eelco Dolstra2006-03-30
| | | | svn path=/nixpkgs/trunk/; revision=5128
* * Don't use i686-linux.nix.Eelco Dolstra2006-03-15
| | | | svn path=/nixpkgs/trunk/; revision=5046
* * Removed readlink.Eelco Dolstra2006-03-15
| | | | svn path=/nixpkgs/trunk/; revision=5040
* * Pipe the "p" character into Subversion to force it to accept theEelco Dolstra2005-12-15
| | | | | | | | server's certificate. This is perfectly safe: we don't care whether the server is being spoofed --- only the cryptographic hash of the output matters. svn path=/nixpkgs/trunk/; revision=4377
* * Use a restrictive umask to prevent permission problems.Eelco Dolstra2005-12-15
| | | | svn path=/nixpkgs/trunk/; revision=4374
* * "." -> "source".Eelco Dolstra2005-12-05
| | | | svn path=/nixpkgs/trunk/; revision=4335
* * Fix for *non*-suid installations.Eelco Dolstra2005-04-12
| | | | svn path=/nixpkgs/trunk/; revision=2546
* * Use a hash over the entire SVN exported tree.Eelco Dolstra2005-02-22
| | | | svn path=/nixpkgs/trunk/; revision=2279
* * Use fixed-output hashes in fetchsvn.Eelco Dolstra2005-02-22
| | | | | | | * In nix-prefetch-svn, support setuid installations where the user has no write access to the Nix store. svn path=/nixpkgs/trunk/; revision=2275
* * Allow a known hash to be specified.Eelco Dolstra2004-12-17
| | | | svn path=/nixpkgs/trunk/; revision=1892
* * Option to print out the path, analogous to nix-prefetch-url.Eelco Dolstra2004-12-17
| | | | svn path=/nixpkgs/trunk/; revision=1890
* * `fetchsvn' now requires the MD5 hash (as computed by `nix-hash') ofEelco Dolstra2004-04-14
| | | | | | | | | | | | | | | the tree being fetched from a Subversion repository. The revision number is now optional (and defaults to HEAD). This makes `fetchsvn' more pure. First, a URL/revision tuple does not uniquely identify a file resource, since the repository itself might change. Second, `svn:external' attributes can cause arbitrary resources to be exported. A script `nix-prefetch-svn' has been provided to determine the hash of a URL. svn path=/nixpkgs/trunk/; revision=938
* * Remove trivial builders.Eelco Dolstra2004-03-29
| | | | | | | | | | | | * Make builders unexecutable by removing the hash-bang line and execute permission. * Convert calls to `derivation' to `mkDerivation'. * Remove `system' and `stdenv' attributes from calls to `mkDerivation'. These transformations were all done automatically, so it is quite possible I broke stuff. * Put the `mkDerivation' function in stdenv/generic. svn path=/nixpkgs/trunk/; revision=874
* * A function to fetch sources from a Subversion repository.Eelco Dolstra2003-11-25
svn path=/nixpkgs/trunk/; revision=544