* In nix-prefetch-svn, support setuid installations where the user has no write access to the Nix store. svn path=/nixpkgs/trunk/; revision=2275
16 lines
273 B
Nix
16 lines
273 B
Nix
{stdenv, subversion, nix}: {url, rev ? "HEAD", md5}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "svn-export";
|
|
builder = ./builder.sh;
|
|
buildInputs = [subversion nix];
|
|
|
|
# Nix <= 0.7 compatibility.
|
|
id = md5;
|
|
|
|
outputHashAlgo = "md5";
|
|
outputHash = md5;
|
|
|
|
inherit url rev;
|
|
}
|