1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

just: fix aarch64 build

This commit is contained in:
Jörg Thalheim 2021-07-30 10:02:49 +00:00
parent bed52081e5
commit 2ec9af0f0e

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