debootstrap: fetch from gitlab
This commit is contained in:
parent
35619ce1e5
commit
646c9c5acd
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, dpkg, gawk, perl, wget, coreutils, util-linux
|
{ lib, stdenv, fetchFromGitLab, dpkg, gawk, perl, wget, coreutils, util-linux
|
||||||
, gnugrep, gnupg1, gnutar, gnused, gzip, makeWrapper }:
|
, gnugrep, gnupg1, gnutar, gnused, gzip, makeWrapper }:
|
||||||
# USAGE like this: debootstrap sid /tmp/target-chroot-directory
|
# USAGE like this: debootstrap sid /tmp/target-chroot-directory
|
||||||
# There is also cdebootstrap now. Is that easier to maintain?
|
# There is also cdebootstrap now. Is that easier to maintain?
|
||||||
|
@ -18,11 +18,12 @@ in stdenv.mkDerivation rec {
|
||||||
pname = "debootstrap";
|
pname = "debootstrap";
|
||||||
version = "1.0.126";
|
version = "1.0.126";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitLab {
|
||||||
# git clone git://git.debian.org/d-i/debootstrap.git
|
domain = "salsa.debian.org";
|
||||||
# I'd like to use the source. However it's lacking the lanny script ? (still true?)
|
owner = "installer-team";
|
||||||
url = "mirror://debian/pool/main/d/${pname}/${pname}_${version}.tar.gz";
|
repo = pname;
|
||||||
sha256 = "sha256-vEjhxQDDO+1QvQDSAfM408ktbA3LHyAsO8AO8B+Wxhg=";
|
rev = version;
|
||||||
|
sha256 = "0hfx6k86kby4xf0xqskpllq00g159j4khh66hfi6dhcdb91dgyd7";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
Loading…
Reference in a new issue