Peter Simons
5d02f0e854
fetchgit: add 'deepClone' argument to disable shallow fetching
...
This patch resolves https://github.com/NixOS/nixpkgs/issues/6395 . Deep
cloning is useful in combination with 'leaveDotGit' for builds that want
to run "git describe" to obtain a proper version string, etc., like the
'haskellngPackages.cabal2nix' package does.
2015-03-10 13:14:00 +01:00
Vladimír Čunát
77d66ed834
fetchgit: improve name detection, discard nix-1.8 check
...
The name detection didn't work for e.g. http://git.suckless.org/sinit/ .
I tested the tarball builds now.
@shlevy claimed nixpkgs requires nix-1.8 features anyway,
so the additional check with message were superfluous.
2015-01-13 19:45:31 +01:00
Shea Levy
a8603605aa
fetchgit: give output a nicer name
...
Instead of git-export, we get the basename of the repo, plus the
shortrev if the commit-ish is a rev.
2015-01-01 10:03:45 -05:00
Michael Raskin
46cdc2e017
Allow git checkouts to have custom name
2014-09-03 21:54:25 +04:00
ambrop7@gmail.com
3a765a7309
fetchgit: Implement option to not check out submodules.
2014-03-25 20:03:55 +01:00
Eelco Dolstra
a8ded9d5d3
fetchgit: Require a content hash
...
Without this, the result will not be a fixed-output derivation and
won't work in general.
2014-02-18 19:13:07 +01:00
Vladimír Čunát
161d029d7d
preferLocalBuild: set to true for wrappers and fetchers
2014-02-10 21:04:17 +01:00
Nicolas Pierron
d528cba5b8
fetchgit: Handle https.
...
svn path=/nixpkgs/trunk/; revision=28857
2011-08-28 16:03:14 +00:00
Nicolas Pierron
9e53a20f50
Replace fetchgit default builder by a wrapper around nix-prefect-git.
...
svn path=/nixpkgs/trunk/; revision=28709
2011-08-20 14:29:57 +00:00
Rob Vermaas
13417770a3
applying patches provided by griswold
...
svn path=/nixpkgs/trunk/; revision=19707
2010-01-27 12:12:35 +00:00
Marc Weber
edf78fcb6a
some fetchgit documentation
...
svn path=/nixpkgs/trunk/; revision=18283
2009-11-08 03:02:10 +00:00
Lluís Batlle i Rossell
896dc42662
Forgot some 'depth' regarding fetchgit still.
...
svn path=/nixpkgs/trunk/; revision=18279
2009-11-08 01:59:50 +00:00
Lluís Batlle i Rossell
f1ee14bfaf
Removing fetchgit --depth and its usage. It does not provide much advantages...
...
I think it takes the recent N commits into the repository, which says very little,
even for wanting master/HEAD.
svn path=/nixpkgs/trunk/; revision=18277
2009-11-08 01:51:20 +00:00
Michael Raskin
cd04c58fe2
Allow not-that-shallow git fetches; enable it for uzbl
...
svn path=/nixpkgs/trunk/; revision=17980
2009-10-27 19:52:01 +00:00
Rob Vermaas
205fb0c87e
* fetchgit and nix-prefetch-git
...
svn path=/nixpkgs/trunk/; revision=16035
2009-06-24 12:48:01 +00:00