Skip to content

Commit

Permalink
fix #6303
Browse files Browse the repository at this point in the history
Signed-off-by: Anton-4 <[email protected]>
  • Loading branch information
Anton-4 authored Dec 26, 2023
1 parent 7d64732 commit 8a66759
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@
shellHook = ''
export LLVM_SYS_${llvmMajorMinorStr}_PREFIX="${llvmPkgs.llvm.dev}"
${aliases}
'';
'' + lib.optionalString (system == "aarch64-darwin") ''
export RUSTFLAGS="-C link-arg=-lc++abi"
''; # lc++abi as workaround for github.com/NixOS/nixpkgs/issues/166205, see also github.com/roc-lang/roc/issues/6303
};

formatter = pkgs.nixpkgs-fmt;
Expand Down

0 comments on commit 8a66759

Please sign in to comment.