From d95954eff5b2b071dce99fdd14f3f11b9bd3e6e6 Mon Sep 17 00:00:00 2001 From: MadMaurice Date: Wed, 21 Apr 2021 22:39:46 +0200 Subject: [PATCH] Fix crosstool-ng.nix --- pkgs/crosstool-ng.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/crosstool-ng.nix b/pkgs/crosstool-ng.nix index b52a56d..2ff61ea 100644 --- a/pkgs/crosstool-ng.nix +++ b/pkgs/crosstool-ng.nix @@ -1,6 +1,4 @@ { stdenv, fetchurl, lib, makeWrapper, - withCurl ? false, - withWget ? true, flex, gnumake, texinfo, @@ -25,6 +23,8 @@ gcc, wget, curl, + withCurl ? false, + withWget ? true, }: stdenv.mkDerivation rec { @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "http://crosstool-ng.org/download/crosstool-ng/${pname}-${version}.tar.bz2"; - sha512 = "379e668365628f0ab359ae119213bed44960870093f64f0fbb12e92bbe2a3b82bfed77f5ab33f2e2f17c1977e7a63f2151c46ad8d0e6208220fb7fa8726fae33"; + sha256 = "08zmw9j4h1yazbzm000ygs0kxr9h3mrg5cqi5c6wcmi0bvmd206j"; }; nativeBuildInputs = [ makeWrapper ]; @@ -93,7 +93,7 @@ stdenv.mkDerivation rec { --prefix PATH : "${lib.strings.makeBinPath [ binutils-unwrapped m4 gcc ]}" \ ${lib.optionalString withWget "--set-default CT_WGET '${wget}/bin/wget'"} \ ${lib.optionalString withCurl "--set-default CT_CURL '${curl}/bin/curl'"} -''; + ''; meta = with stdenv.lib; { description = "A versatile (cross-)toolchain generator";