Fix crosstool-ng.nix

This commit is contained in:
madmaurice 2021-04-21 22:39:46 +02:00
parent 8dd8aac0f3
commit d95954eff5

View file

@ -1,6 +1,4 @@
{ stdenv, fetchurl, lib, makeWrapper, { stdenv, fetchurl, lib, makeWrapper,
withCurl ? false,
withWget ? true,
flex, flex,
gnumake, gnumake,
texinfo, texinfo,
@ -25,6 +23,8 @@
gcc, gcc,
wget, wget,
curl, curl,
withCurl ? false,
withWget ? true,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "http://crosstool-ng.org/download/crosstool-ng/${pname}-${version}.tar.bz2"; url = "http://crosstool-ng.org/download/crosstool-ng/${pname}-${version}.tar.bz2";
sha512 = "379e668365628f0ab359ae119213bed44960870093f64f0fbb12e92bbe2a3b82bfed77f5ab33f2e2f17c1977e7a63f2151c46ad8d0e6208220fb7fa8726fae33"; sha256 = "08zmw9j4h1yazbzm000ygs0kxr9h3mrg5cqi5c6wcmi0bvmd206j";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];