nixpkgs/pkgs/build-support/fetchdarcs/default.nix
Marc Weber 2d6940061e revert of my last commit to stdenv-update nix-env -qa \* --out-path works for me again
- sorry for the inconvinience

svn path=/nixpkgs/branches/stdenv-updates/; revision=11000
2008-03-06 18:44:09 +00:00

17 lines
293 B
Nix

{stdenv, darcs, nix}: {url, tag ? null, md5}:
stdenv.mkDerivation {
name = "fetchdarcs";
builder = ./builder.sh;
buildInputs = [darcs nix];
# Nix <= 0.7 compatibility.
id = md5;
outputHashAlgo = "md5";
outputHashMode = "recursive";
outputHash = md5;
inherit url tag;
}