diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2021-09-05 16:24:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-05 16:24:07 +0100 |
commit | 87d338542b541d62854ee77e9887a3b2d67bf00e (patch) | |
tree | 8738e5633fe31d6a9a938bb70524d9d596dc22f0 /pkgs/os-specific | |
parent | 9f98d0df442edd8c34898536b57e265ea3969d04 (diff) | |
parent | b85d91762a73624ce283528d7201a5e0785dd5e6 (diff) |
Merge pull request #136773 from Mindavi/cramfsprogs/cross
cramfsprogs: support cross-compilation
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/cramfsprogs/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/cramfsprogs/default.nix b/pkgs/os-specific/linux/cramfsprogs/default.nix index 3f3e8a075b19..59fbfed1b728 100644 --- a/pkgs/os-specific/linux/cramfsprogs/default.nix +++ b/pkgs/os-specific/linux/cramfsprogs/default.nix @@ -16,6 +16,10 @@ stdenv.mkDerivation rec { # So patch the "missing include" bug ourselves. patches = [ ./include-sysmacros.patch ]; + makeFlags = [ + "CC=${stdenv.cc.targetPrefix}cc" + ]; + installPhase = '' install --target $out/bin -D cramfsck mkcramfs ''; |