xbursttools: Fix eval at least so tests pass

This commit is contained in:
John Ericson
2017-06-22 17:53:52 -04:00
committed by John Ericson
parent fc42ec0a5c
commit f55ccbb60f
2 changed files with 7 additions and 5 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
{ stdenv, fetchgit, libusb, libusb1, autoconf, automake, confuse, pkgconfig
, gccCross ? null }:
, gccCross ? null, crossPrefix
}:
let
version = "2011-12-26";
@@ -18,7 +19,7 @@ stdenv.mkDerivation {
'';
configureFlags = if gccCross != null then
"--enable-firmware CROSS_COMPILE=${gccCross.crossConfig}-"
"--enable-firmware CROSS_COMPILE=${crossPrefix}-"
else "";
# Not to strip cross build binaries (this is for the gcc-cross-wrapper)