diff options
author | Nick Cao <nickcao@nichi.co> | 2023-10-24 12:32:52 -0400 |
---|---|---|
committer | Nick Cao <nickcao@nichi.co> | 2023-10-24 12:33:25 -0400 |
commit | c911e9927158cc474f9df6d47fecfdda41b43dc6 (patch) | |
tree | baea29c57a6affef7b50f0c5e5ee55f9cbf92dc7 | |
parent | 3fbda645142b95871707ce40ffe5962e081922c7 (diff) |
mtdutils: fix cross compilation by setting AR in makeFlags
-rw-r--r-- | pkgs/tools/filesystems/mtdutils/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/mtdutils/default.nix b/pkgs/tools/filesystems/mtdutils/default.nix index 397f854788898..0ca64234e5f01 100644 --- a/pkgs/tools/filesystems/mtdutils/default.nix +++ b/pkgs/tools/filesystems/mtdutils/default.nix @@ -20,6 +20,10 @@ stdenv.mkDerivation rec { (enableFeature doCheck "tests") ]; + makeFlags = [ + "AR:=$(AR)" + ]; + doCheck = stdenv.hostPlatform == stdenv.buildPlatform; outputs = [ "out" "dev" ]; |