Skip to content

Commit

Permalink
exfat: fix cross compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
expipiplus1 committed Jun 18, 2020
1 parent d7122c3 commit 7998705
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/os-specific/linux/exfat/default.nix
Expand Up @@ -21,6 +21,9 @@ stdenv.mkDerivation rec {

makeFlags = [
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
"ARCH=${stdenv.hostPlatform.platform.kernelArch}"
] ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) [
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
];

installPhase = ''
Expand Down

0 comments on commit 7998705

Please sign in to comment.