| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
Signed-off-by: Shea Levy <shea@shealevy.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=18789
|
|
|
|
|
|
| |
the revision number inside the derivation name.
svn path=/nixpkgs/trunk/; revision=17677
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=16322
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=15654
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13424
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=10896
|
|
|
|
|
|
| |
Argument "url" renamed to "cvsRoot" (it's not a URL).
svn path=/nixpkgs/trunk/; revision=10889
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=9861
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=5769
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=5761
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=5734
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=5351
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=5340
|
|
|
|
|
|
| |
nix-prefetch-url)
svn path=/nixpkgs/trunk/; revision=5339
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=5252
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=5128
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=5046
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=5040
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=4374
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=4335
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=2546
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=2279
|
|
|
|
|
|
|
| |
* In nix-prefetch-svn, support setuid installations where the user has
no write access to the Nix store.
svn path=/nixpkgs/trunk/; revision=2275
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=1892
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=1890
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
svn path=/nixpkgs/trunk/; revision=544
|