NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.43k stars 12.92k forks source link

tinyfugue: support aarch64-darwin #321611

Closed erratic-pattern closed 2 days ago

erratic-pattern commented 1 week ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build tinyfugue on aarch64-darwin

Build log

command: export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1; nix-shell -p tinyfugue

full log: https://gist.github.com/erratic-pattern/33d57aea6e4a12058a9954e3a001af2e

Notify maintainers

@KibaFox

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

adam@Adams-MacBook-Pro:~/Code/nix-config/ > nix-shell -p nix-info --run "nix-info -m"
these 12 paths will be fetched (2.16 MiB download, 21.38 MiB unpacked):
  /nix/store/gykz8wrap5y81fav0yvh7m8d81d7i6y0-DarwinTools-1
  /nix/store/5ll62p1j9pxzvgwsimpbjfy3jwq3cva3-adv_cmds-119-locale
  /nix/store/8rxm4jzw1dddm53rpc2zdqgafadn7d5n-bash-interactive-5.2-p21
  /nix/store/jih6ds079f3gxw49bb0wvw11lm85fspz-ed-1.19
  /nix/store/x1bzwj6pz7f3ajg5y36x07b1328jzx7r-file-5.45
  /nix/store/hhc2x65zvp89lh15grqk21r6dcvifggy-gawk-5.2.2
  /nix/store/h9ywc3fm6k1l7vsc8yxiac8ks559r51g-gnu-config-2023-09-19
  /nix/store/zc9qsb0rzlw0ckhy7097frcwb4pkfx3d-gnumake-4.4.1
  /nix/store/v18l548l4cdp190f37z9670srdxl08b8-nix-info
  /nix/store/kizmwlnj40d11ixbap74c0syaqxn05wc-patch-2.7.6
  /nix/store/sf52i9wcklk5i5f2w15p0kng8dq3qqwx-stdenv-darwin
  /nix/store/gh04z99llkk2f2a6763rbv28s20gkb8w-update-autotools-gnu-config-scripts-hook
copying path '/nix/store/gykz8wrap5y81fav0yvh7m8d81d7i6y0-DarwinTools-1' from 'https://cache.nixos.org'...
copying path '/nix/store/5ll62p1j9pxzvgwsimpbjfy3jwq3cva3-adv_cmds-119-locale' from 'https://cache.nixos.org'...
copying path '/nix/store/zc9qsb0rzlw0ckhy7097frcwb4pkfx3d-gnumake-4.4.1' from 'https://cache.nixos.org'...
copying path '/nix/store/8rxm4jzw1dddm53rpc2zdqgafadn7d5n-bash-interactive-5.2-p21' from 'https://cache.nixos.org'...
copying path '/nix/store/x1bzwj6pz7f3ajg5y36x07b1328jzx7r-file-5.45' from 'https://cache.nixos.org'...
copying path '/nix/store/h9ywc3fm6k1l7vsc8yxiac8ks559r51g-gnu-config-2023-09-19' from 'https://cache.nixos.org'...
copying path '/nix/store/hhc2x65zvp89lh15grqk21r6dcvifggy-gawk-5.2.2' from 'https://cache.nixos.org'...
copying path '/nix/store/jih6ds079f3gxw49bb0wvw11lm85fspz-ed-1.19' from 'https://cache.nixos.org'...
copying path '/nix/store/v18l548l4cdp190f37z9670srdxl08b8-nix-info' from 'https://cache.nixos.org'...
copying path '/nix/store/gh04z99llkk2f2a6763rbv28s20gkb8w-update-autotools-gnu-config-scripts-hook' from 'https://cache.nixos.org'...
copying path '/nix/store/kizmwlnj40d11ixbap74c0syaqxn05wc-patch-2.7.6' from 'https://cache.nixos.org'...
copying path '/nix/store/sf52i9wcklk5i5f2w15p0kng8dq3qqwx-stdenv-darwin' from 'https://cache.nixos.org'...
 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.5.0, macOS 14.5`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.19.2`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

erratic-pattern commented 1 week ago

Willing to contribute, but I don't know exactly how tinyfugue is built. I can also help with testing on MacOS if needed.

matteo-pacini commented 1 week ago

@erratic-pattern I think it's fixed, works on my aarch64-darwin, if you could have a look it would be great:

nix run 'nixpkgs#nixpkgs-review' -- pr --print-result 321724
tf

or if you don't have nixpkgs checked out:

nix run "github:matteo-pacini/nixpkgs?ref=tinyfugue-fix#tinyfugue"