Open heywoodlh opened 6 months ago
nix shell github:nixos/nixpkgs/release-23.05#newsboat
I doubt that would fix it but note that 23.05 is not supported anymore.
Yes, see my comment here:
(in this snippet I was trying older branches of nixpkgs -- but the same issue happens with nixpkgs-unstable)
I found some other issues talking about this. As you've found out, it seems like the sh
binary used in the darwin stdenv on aarch64 is wrong. see this file here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/darwin/bootstrap-files/aarch64-apple-darwin.nix
my local test:
> curl http://tarballs.nixos.org/stdenv-darwin/aarch64/20acd4c4f14040485f40e55c0a76c186aa8ca4f3/sh --silent --output testsh
> file testsh
testsh: Mach-O 64-bit executable x86_64
Describe the bug
In order to install the newsboat package from nixpkgs on Darwin, Rosetta must be enabled. If not, a build failure occurs (in this snippet I was trying older branches of nixpkgs -- but the same issue happens with nixpkgs-unstable):
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
The
aarch64-darwin
app should be able to be built without Rosetta. Or Rosetta should be turned on as part of the installation perhaps.Additional context
I'll try to see if I can figure out how to fix the build (after I figure out how to uninstall Rosetta :smile:) and submit a PR
Notify maintainers
@dotlambda @nicknovitski
Metadata