Merge pull request #132055 from Mic92/just

just: fix aarch64 build
This commit is contained in:
Jörg Thalheim 2021-07-31 03:54:54 +01:00 committed by GitHub
commit a64ea105aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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