mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Updating from trunk
svn path=/nixpkgs/branches/stdenv-updates2/; revision=18278
This commit is contained in:
parent
9c79d69710
commit
4326d07c11
@ -4,7 +4,4 @@ rec {
|
||||
hash="b5dfae5245b1b3934ca918831fbe9fa0bb7ae790c682b69f5ecc042cccf58894";
|
||||
rev="1461ac760f79b8f153c8317c4534cb047a48331a";
|
||||
url="git://github.com/Dieterbe/uzbl.git";
|
||||
|
||||
depth="50";
|
||||
|
||||
}
|
||||
|
@ -3,6 +3,4 @@
|
||||
baseName = "uzbl-experimental";
|
||||
method = "fetchgit";
|
||||
rev = "origin/experimental";
|
||||
extraVars = "depth";
|
||||
eval_depth = "depth=50";
|
||||
}
|
||||
|
@ -546,11 +546,11 @@ let inherit (builtins) head tail trace; in
|
||||
sha256 = srcInfo.hash;
|
||||
};
|
||||
|
||||
fetchGitFromSrcInfo = srcInfo: fetchgit ({
|
||||
fetchGitFromSrcInfo = srcInfo: fetchgit {
|
||||
url = srcInfo.url;
|
||||
rev = srcInfo.rev;
|
||||
sha256 = srcInfo.hash;
|
||||
} // (if srcInfo ? depth then {inherit (srcInfo) depth;} else {}));
|
||||
};
|
||||
}) // args
|
||||
|
||||
# [1]: rewrite using '' instead of " so that indentation gets stripped. It's
|
||||
|
@ -2,7 +2,7 @@ source $stdenv/setup
|
||||
|
||||
header "exporting $url (rev $rev) into $out"
|
||||
|
||||
git clone --depth "$depth" "$url" $out
|
||||
git clone "$url" $out
|
||||
if test -n "$rev"; then
|
||||
cd $out
|
||||
git checkout $rev
|
||||
|
@ -1,5 +1,5 @@
|
||||
{stdenv, git}:
|
||||
{url, rev ? "HEAD", md5 ? "", sha256 ? "", depth ? 1}:
|
||||
{url, rev ? "HEAD", md5 ? "", sha256 ? ""}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "git-export";
|
||||
|
@ -4,5 +4,4 @@ rec {
|
||||
hash="86e254d1aab17a66d7f5a83d93430b11dbeb95be1ee06f1d6a4c36219e4dfaf4";
|
||||
rev="cd9caea74b8f90e8dded45a93a173f0f5c5aef25";
|
||||
url="git://zen-kernel.org/kernel/zen-stable.git";
|
||||
depth = "500";
|
||||
}
|
||||
|
@ -4,6 +4,4 @@ rec {
|
||||
hash="f5c86214424c8a7202c2dd9bbbd800561940af00800edb8afab080a73c185bca";
|
||||
rev="66a44aa93959818bdb8153fea27b0992197ebc54";
|
||||
url="git://zen-kernel.org/kernel/zen-stable.git";
|
||||
depth = "500";
|
||||
|
||||
}
|
||||
|
@ -3,6 +3,4 @@
|
||||
rev = "origin/master";
|
||||
baseName = "zen-linux";
|
||||
method = "fetchgit";
|
||||
extraVars = "depth";
|
||||
eval_depth = "depth=500";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user