@@ -4816,15 +4816,16 @@ with pkgs;
48164816
48174817 x11_ssh_askpass = callPackage ../tools/networking/x11-ssh-askpass { };
48184818
4819− xbursttools = assert stdenv ? glibc; callPackage ../tools/misc/xburst-tools {
4819+ xbursttools = assert stdenv ? glibc; callPackage ../tools/misc/xburst-tools rec {
48204820 # It needs a cross compiler for mipsel to build the firmware it will
48214821 # load into the Ben Nanonote
4822+ crossPrefix = "mipsel-unknown-linux";
48224823 gccCross =
48234824 let
48244825 pkgsCross = nixpkgsFun {
48254826 # Ben Nanonote system
48264827 crossSystem = {
4827− config = "mipsel-unknown-linux";
4828+ config = crossPrefix;
48284829 bigEndian = true;
48294830 arch = "mips";
48304831 float = "soft";
@@ -4843,7 +4844,7 @@ with pkgs;
48434844 };
48444845 };
48454846 in
4846− pkgsCross.gccCrossStageStatic;
4847+ pkgsCross.buildPackages.gccCrossStageStatic;
48474848 };
48484849
48494850 xclip = callPackage ../tools/misc/xclip { };