about summary refs log tree commit diff
path: root/pkgs/build-support/fetchsvn
AgeCommit message (Collapse)AuthorFilesLines
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-4/+4
2020-03-09fetchsvn: Fix for crossJohn Ericson2-9/+14
Just use `nativeBuildInputs` at build time.
2019-02-03fetchsvn: move defaults to package fileJan Malakhovski1-1/+1
2019-01-18prefer-fetch-remote: an overlay to fetch on remote buildersJörg Thalheim1-3/+4
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-01-10treewide: Fetchers should use `stdenvNoCC`.John Ericson1-4/+4
2018-01-09treewide: Fixed output fetch* derivations should use `nativeBuildInputs`John Ericson1-1/+1
2017-12-18build-support: tidy fetchSvnFahad Sadah1-5/+1
Remove old workaround rendered unnecessary by af9db522cf7053797f5d0729698cfafe47aac9be
2017-06-04fetchsvn: set LC_ALL in builder to allow svn to handle unicode filenamesRobert Scott2-2/+6
2017-03-20fetch-*: remove md5 supportRobin Gloster1-2/+5
fixes #4491
2017-03-19fetchsvn: fixup name guessing after #23851Vladimír Čunát1-2/+4
I can't see any unfixed differences due to that PR, at least in nix-env -qa output for the four Hydra platforms.
2017-03-13fetchSvn: Add support for --ignore-keywords flagArseniy Alekseyev2-3/+5
This is a flag that disables subversion keyword substitution. Keyword substitution inserts metadata into the files being checked out, and is therefore somewhat at odds with build reproducibility. In particular, it can become a problem if you're trying to switch between svn and a git export of the same thing (keyword substitutions are normally not exported into git).
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-8/+1
Apparently everyone just copied those variables, instead of creating a library constant for them. Some even removed the comment. -.-
2015-12-06fetchsvn: correctly handle trailing slashesThomas Tuegel1-1/+1
`splitString` does not split on trailing separators.
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-11nix-prefetch-{bzr,hg,svn}: print fetched revisionBenno Fünfstück1-0/+1
2014-02-10preferLocalBuild: set to true for wrappers and fetchersVladimír Čunát1-0/+2
2014-01-01Update FLTK and TigerVNC; doesn't fix TigerVNC Xvnc build per seMichael Raskin1-1/+1
2013-11-01fetchsvn: handle redirect(s)Bjørn Forsman1-2/+2
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.
2013-05-26fetchsvn: Allow setting the name of the outputShea Levy1-3/+5
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-27fetchsvn: Add ignoreExternals attribute.aszlig2-3/+4
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>
2009-12-03nix-prefetch-svn: Support $NIX_PREFETCH_SVN_LEAVE_DOT_SVN.Ludovic Courtès1-1/+8
svn path=/nixpkgs/trunk/; revision=18789
2009-10-06Change fetchsvn as well as nix-prefect-svn to use the repository name andNicolas Pierron2-4/+29
the revision number inside the derivation name. svn path=/nixpkgs/trunk/; revision=17677
2009-07-10nix-prefetch-svn: Use SHA256/Base32 by default.Ludovic Courtès1-1/+4
svn path=/nixpkgs/trunk/; revision=16322
2009-05-19Update fetchsvn for proxy supportMichael Raskin2-0/+20
svn path=/nixpkgs/trunk/; revision=15654
2008-11-25* Don't suppress error messages.Eelco Dolstra1-2/+1
svn path=/nixpkgs/trunk/; revision=13424
2008-02-29* fetchsvn: Nix already checks the hash, no need for the builder to do it.Eelco Dolstra2-11/+2
svn path=/nixpkgs/trunk/; revision=10896
2008-02-28* fetchcvs: cleanup, use nix-store --add-fixed like fetchurl/svn.Eelco Dolstra2-6/+2
Argument "url" renamed to "cvsRoot" (it's not a URL). svn path=/nixpkgs/trunk/; revision=10889
2007-12-04 Michael Raskin2-5/+6
svn path=/nixpkgs/trunk/; revision=9861
2006-07-18* Don't pollute /tmp.Eelco Dolstra1-3/+2
svn path=/nixpkgs/trunk/; revision=5769
2006-07-17* Show less garbage.Eelco Dolstra1-1/+2
svn path=/nixpkgs/trunk/; revision=5761
2006-07-17Added ssh support to fetchsvnMartin Bravenboer2-2/+6
svn path=/nixpkgs/trunk/; revision=5734
2006-05-31* More hackery.Eelco Dolstra1-1/+1
svn path=/nixpkgs/trunk/; revision=5351
2006-05-30* We no longer need the prefetch stuff.Eelco Dolstra1-11/+5
svn path=/nixpkgs/trunk/; revision=5340
2006-05-30* Make nix-prefetch-svn use nix-store --add-fixed (just likeEelco Dolstra1-42/+35
nix-prefetch-url) svn path=/nixpkgs/trunk/; revision=5339
2006-05-02* Do use readlink if available.Eelco Dolstra1-1/+2
svn path=/nixpkgs/trunk/; revision=5252
2006-03-30* system -> top-level.Eelco Dolstra1-1/+1
svn path=/nixpkgs/trunk/; revision=5128
2006-03-15* Don't use i686-linux.nix.Eelco Dolstra1-2/+2
svn path=/nixpkgs/trunk/; revision=5046
2006-03-15* Removed readlink.Eelco Dolstra1-1/+1
svn path=/nixpkgs/trunk/; revision=5040
2005-12-15* Pipe the "p" character into Subversion to force it to accept theEelco Dolstra1-1/+5
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
2005-12-15* Use a restrictive umask to prevent permission problems.Eelco Dolstra1-0/+4
svn path=/nixpkgs/trunk/; revision=4374
2005-12-05* "." -> "source".Eelco Dolstra1-1/+1
svn path=/nixpkgs/trunk/; revision=4335
2005-04-12* Fix for *non*-suid installations.Eelco Dolstra1-0/+1
svn path=/nixpkgs/trunk/; revision=2546
2005-02-22* Use a hash over the entire SVN exported tree.Eelco Dolstra1-0/+1
svn path=/nixpkgs/trunk/; revision=2279
2005-02-22* Use fixed-output hashes in fetchsvn.Eelco Dolstra3-10/+26
* In nix-prefetch-svn, support setuid installations where the user has no write access to the Nix store. svn path=/nixpkgs/trunk/; revision=2275
2004-12-17* Allow a known hash to be specified.Eelco Dolstra1-17/+25
svn path=/nixpkgs/trunk/; revision=1892