timidity: fix symlink permissions for Darwin build#380440
timidity: fix symlink permissions for Darwin build#380440doronbehar merged 2 commits intoNixOS:masterfrom
Conversation
All but one of the symlinks in the instruments.tar.gz tarball have their permissions set to 0000. This causes noBrokenSymlinks to fail silently at readlink on systems like Darwin/macOS that actually care about symlink permissions. It also seems to be the reason that turning on `dontRewriteSymlinks` on Darwin was necessary. Resolves NixOS#380436.
|
One other thing I forgot to mention: The source URL for that instruments tarball (http://www.csee.umbc.edu/pub/midia/instruments.tar.gz) is now redirecting to https://news.cs.umbc.edu/pub/midia/instruments.tar.gz, which gets a 404. (It's not causing errors yet because cache.nixos.org still has it.) The actual current URL seems to be https://courses.cs.umbc.edu/pub/midia/instruments.tar.gz. Should I add that into this PR, or open a separate PR for it? |
Do it here please. |
This comment was marked as outdated.
This comment was marked as outdated.
|
I'll also run a nixpkgs-review on aarch64-darwin for this PR afterwards, just to make sure we don't observe #380501 again. |
Thanks, just pushed it. |
|
|
No new failures according to |
Shouldn't be necessary anymore for the most part, since those changes have made it into nixpkgs-unstable. But this fixes it for users who haven't updated their channel yet. Also remove `meta.broken` flags related to NixOS/nixpkgs#380436, since they aren't needed anymore.
All but one of the symlinks in the instruments.tar.gz tarball have their permissions set to 0000. This causes noBrokenSymlinks to fail silently at readlink on systems like Darwin/macOS that actually care about symlink permissions. It also seems to be the reason that turning on
dontRewriteSymlinkson Darwin was necessary.Resolves #380436.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.