Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nyxt browser fails to build on aarch64-darwin, Package ‘notify-osd-0.9.34’ is unsupported on aarch64-darwin #150460

Open
shaunsingh opened this issue Dec 12, 2021 · 4 comments
Labels
0.kind: bug 6.topic: darwin Running or building packages on Darwin

Comments

@shaunsingh
Copy link

Describe the bug

Nyxt browser fails to build on aarch64-darwin, Package ‘notify-osd-0.9.34’ is unsupported on aarch64-darwin

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix shell nixpkgs#nyxt
  2. see error
error: Package ‘notify-osd-0.9.34’ in /nix/store/0p89jb5wwh9wzs6mr8p527y9r6w1a27n-source/pkgs/applications/misc/notify-osd/default.nix:26 is not supported on ‘aarch64-darwin’, refusing to evaluate.

       a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowUnsupportedSystem = true; }
       in configuration.nix to override this.

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnsupportedSystem = true; }
       to ~/.config/nixpkgs/config.nix.
(use '--show-trace' to show detailed location information)
⏎                                                           

Expected behavior

Package should install as expected

Notify maintainers

Nyxt: @nlewo @payas
notify-osd: @bodil

Metadata

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

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 21.2.0, macOS 12.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.4`
 - channels(shauryasingh): `""`
 - channels(root): `"nixpkgs-21.11pre330454.9cae36cff14"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
@veprbl veprbl added the 6.topic: darwin Running or building packages on Darwin label Dec 12, 2021
@DieracDelta
Copy link
Member

Any updates on this? @shaunsingh did you run into any gotchas that you worked around?

@shaunsingh
Copy link
Author

I think we can just disable it on Darwin platforms. Looks like its a linux things: https://github.com/khurshid-alam/Notify-OSD

I'll mess around with the package and see if I can get it to build sometime soon

@veprbl
Copy link
Member

veprbl commented Feb 4, 2022

I would try #126082, and you might have to rollback or fix the webkitgtk as it is often broken https://hydra.nixos.org/job/nixpkgs/trunk/webkitgtk.x86_64-darwin/all (upstream doesn't run tests for GTK backend on darwin)

@n8henrie
Copy link
Contributor

Removing notify-osd is insufficient, as webkitgtk fails to build (and I haven't found a prior build succeeding for aarch64-darwin, perhaps I'm not searching correctly).

There are a few PRs and branches that look promising (#126101) but not building for me right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

No branches or pull requests

4 participants