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

haskellPackages.postgrest fails to build on aarch64-darwin #185725

Closed
axeltlarsson opened this issue Aug 8, 2022 · 2 comments
Closed

haskellPackages.postgrest fails to build on aarch64-darwin #185725

axeltlarsson opened this issue Aug 8, 2022 · 2 comments
Labels
0.kind: build failure A package fails to build 6.topic: darwin Running or building packages on Darwin 6.topic: haskell

Comments

@axeltlarsson
Copy link
Contributor

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix-shell -p haskellPackages.postgrest

Build log

error: Package ‘configurator-pg-0.2.5’ in /nix/store/vrkp5raqkgiaa3xs62i8pm53hc8qrg5s-nixpkgs/nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix:64838 is marked as broken, refusing to evaluate.

       a) To temporarily allow broken packages, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_BROKEN=1

        Note: For `nix shell`, `nix build`, `nix develop` or any other Nix 2.4+
        (Flake) command, `--impure` must be passed in order to read this
        environment variable.

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

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

Additional context

Add any other context about the problem here.

Notify maintainers

?

Metadata

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

nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 21.6.0, macOS 12.5`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.10.3`
 - channels(axel): `""`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`
@axeltlarsson axeltlarsson added the 0.kind: build failure A package fails to build label Aug 8, 2022
@veprbl veprbl added 6.topic: darwin Running or building packages on Darwin 6.topic: haskell labels Aug 8, 2022
@cdepillabout
Copy link
Member

@axeltlarsson We'd happily accept PRs fixing this if you can figure out why configurator-pg is marked broken (and why postgrest is marked broken), and how to fix it.

@axeltlarsson
Copy link
Contributor Author

@cdepillabout Sorry about the confusion, was using an outdated channel (I thought I updated it but needed sudo), updated the description with correct error output now. configurator-pg is not broken, but postgrest is, but I have hopes it will be fixed with a new version: PostgREST/postgrest#2412

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

No branches or pull requests

4 participants