memtester: fix cross build

This commit is contained in:
Linus Heckemann 2018-02-28 21:14:36 +01:00
parent e43dd6f164
commit a9dd3847f6

View File

@ -4,6 +4,11 @@ stdenv.mkDerivation rec {
name = "memtester-${version}";
version = "4.3.0";
preConfigure = ''
echo "$CC" > conf-cc
echo "$CC" > conf-ld
'';
src = fetchurl {
url = "http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz";
sha256 = "127xymmyzb9r6dxqrwd69v7gf8csv8kv7fjvagbglf3wfgyy5pzr";