just: fix aarch64 build

This commit is contained in:
Jörg Thalheim
2021-07-30 12:19:21 +02:00
parent bed52081e5
commit 2ec9af0f0e
+6
View File
@@ -16,6 +16,12 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
postPatch = ''
# this hard codes the compiler, which breaks the aarch64 in particular
# we rather want to set the compiler ourself
rm .cargo/config
'';
postInstall = ''
installManPage man/just.1