From 3e1ee548bafd76d86380760b7e39f0d2eed3f99e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 6 Jan 2012 22:42:10 +0000 Subject: [PATCH] Make mtdtools crossbuild. svn path=/nixpkgs/trunk/; revision=31381 --- pkgs/tools/filesystems/mtdutils/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/filesystems/mtdutils/default.nix b/pkgs/tools/filesystems/mtdutils/default.nix index f2ce1b452cdf..9e7e3a16e01c 100644 --- a/pkgs/tools/filesystems/mtdutils/default.nix +++ b/pkgs/tools/filesystems/mtdutils/default.nix @@ -21,6 +21,10 @@ stdenv.mkDerivation { buildInputs = [ libuuid lzo zlib acl ]; + crossAttrs = { + makeFlags = "CC=${stdenv.cross.config}-gcc"; + }; + meta = { description = "Tools for MTD filesystems"; license = "GPLv2+";