Skip to content

Commit

Permalink
Fix bintools in Nix flake for macOS
Browse files Browse the repository at this point in the history
We want the unwrapped bintools so we don't have weird extra
arguments such as '-liconv'. iconv doesn't exist on macOS by
default I believe so we were encountering 'library not found'
errors even though the Nix flake on Linux was working fine.

Signed-off-by: Ivan-Velickovic <[email protected]>
  • Loading branch information
Ivan-Velickovic committed Oct 25, 2024
1 parent b1610a0 commit 17b1c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
nativeBuildInputs = with pkgs; [
pkgsCross.aarch64-embedded.stdenv.cc.bintools
pkgsCross.aarch64-embedded.stdenv.cc.cc
pkgsCross.riscv64-embedded.stdenv.cc.bintools
pkgsCross.riscv64-embedded.stdenv.cc.bintools.bintools
pkgsCross.riscv64-embedded.stdenv.cc.cc
gnumake
dtc
Expand Down

0 comments on commit 17b1c4f

Please sign in to comment.