Unverified Commit 4dbe6fbd authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #166513 from helsinki-systems/debootstrap-fetchfromgitlab

parents a3c2199c 646c9c5a
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
{ 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 }:
# USAGE like this: debootstrap sid /tmp/target-chroot-directory
# There is also cdebootstrap now. Is that easier to maintain?
@@ -18,11 +18,12 @@ in stdenv.mkDerivation rec {
  pname = "debootstrap";
  version = "1.0.126";

  src = fetchurl {
    # git clone git://git.debian.org/d-i/debootstrap.git
    # I'd like to use the source. However it's lacking the lanny script ? (still true?)
    url = "mirror://debian/pool/main/d/${pname}/${pname}_${version}.tar.gz";
    sha256 = "sha256-vEjhxQDDO+1QvQDSAfM408ktbA3LHyAsO8AO8B+Wxhg=";
  src = fetchFromGitLab {
    domain = "salsa.debian.org";
    owner = "installer-team";
    repo = pname;
    rev = version;
    sha256 = "0hfx6k86kby4xf0xqskpllq00g159j4khh66hfi6dhcdb91dgyd7";
  };

  nativeBuildInputs = [ makeWrapper ];