about summary refs log tree commit diff
path: root/pkgs/build-support/fetchcvs
AgeCommit message (Collapse)AuthorFilesLines
2023-01-16treewide: remove usages of header and stopNestArtturin1-2/+0
they're obsolete
2022-12-08treewide: source .attrs in buildersArtturin1-0/+1
if theres a source $stdenv then this is needed for structuredAttrs
2022-07-02treewide: fix bash exit handlersErik Arvstedt1-4/+2
Transform exit handlers of the form trap cleanup EXIT [INT] [TERM] [QUIT] [HUP] [ERR] (where cleanup is idempotent) to trap cleanup EXIT This fixes a common bash antipattern. Each of the above signals causes the script to exit. For each signal, bash first handles the signal by running `cleanup` and then runs `cleanup` again when handling EXIT. (Exception: `vscode/*` prevents the second run of `cleanup` by removing the trap in cleanup`). Simplify the cleanup logic by just trapping exit, which is always run when the script exits due to any of the above signals. Note: In case of borgbackup, the exit handler is not idempotent, but just trapping EXIT guarantees that it's only run once.
2021-02-08fetchcvs: fix ssh wrapper failing due to missing /usr/bin/envsternenseemann1-1/+1
/usr/bin/env seems to be no longer be present in the sandbox. This means that fetchcvs would fail with a “not found error” whenever CVS_RSH was necessary. We fix this by simply setting the current $SHELL as shebang. Alternatively also setting it to /bin/sh statically would be possible.
2018-04-24bsd: init netbsd & openbsd userlandMatthew Bauer1-1/+0
Adds a couple of useful NetBSD and OpenBSD derivations. Some of these will be integrated into Nixpkgs later. Noncomprehensive list: - netbsd.getent - netbsd.getconf - netbsd.fts - openbsd.mg - netbsd.compat (can replace libbsd)
2018-04-24cvs: support ssh accessMatthew Bauer2-3/+9
hacky wrapper handles ssh issues in nix builders
2018-01-10treewide: Fetchers should use `stdenvNoCC`.John Ericson1-2/+2
2018-01-09treewide: Fixed output fetch* derivations should use `nativeBuildInputs`John Ericson1-1/+1
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>
2012-01-18* "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointlessEelco Dolstra1-1/+1
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2008-02-28* Quick hack to support checkout by date.Eelco Dolstra1-3/+5
svn path=/nixpkgs/trunk/; revision=10890
2008-02-28* fetchcvs: cleanup, use nix-store --add-fixed like fetchurl/svn.Eelco Dolstra3-70/+67
Argument "url" renamed to "cvsRoot" (it's not a URL). svn path=/nixpkgs/trunk/; revision=10889
2007-11-13implemented proposal by niksnut.Marc Weber2-9/+16
Now you have to use either date= or tag= when specifying cvs revision svn path=/nixpkgs/trunk/; revision=9661
2007-11-11Synergy added and fetchcvs modified (see mailinglist post)Marc Weber2-27/+16
svn path=/nixpkgs/trunk/; revision=9624
2006-05-11Added fetchcvs.Roy van den Broek3-0/+129
svn path=/nixpkgs/trunk/; revision=5295