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

haskell-updates: operation requires -fexternal-interpreter #123860

Closed
573 opened this issue May 21, 2021 · 4 comments
Closed

haskell-updates: operation requires -fexternal-interpreter #123860

573 opened this issue May 21, 2021 · 4 comments

Comments

@573
Copy link
Contributor

573 commented May 21, 2021

Describe the bug

LC_ALL=C NIX_PATH=channel:nixos-unstable nix-build '<nixpkgs>' --arg crossSystem '(import <nixpkgs> {}).lib.systems.examples.aarch64-multiplatform-musl' -A pkgsStatic.hledger

states

ghc: this operation requires -fexternal-interpreter
builder for '/nix/store/msf6r71xvk51ffhznif8f7mqlxk4my5n-shakespeare-2.0.25-aarch64-unknown-linux-musl.drv' failed with exit code 1
cannot build derivation '/nix/store/zhsad8aapkrrvi7jiwn1wr6qbk0wxzmq-hledger-1.19.1-aarch64-unknown-linux-musl.drv': 1 dependencies couldn't be built
error: build of '/nix/store/zhsad8aapkrrvi7jiwn1wr6qbk0wxzmq-hledger-1.19.1-aarch64-unknown-linux-musl.drv' failed

To Reproduce
Steps to reproduce the behavior:

  1. LC_ALL=C NIX_PATH=channel:nixos-unstable nix-build '<nixpkgs>' --arg crossSystem '(import <nixpkgs> {}).lib.systems.examples.aarch64-multiplatform-musl' -A pkgsStatic.hledger

Expected behavior
The static hledger binary should be build

Additional context
On the nixos-20.09 channel I also have this same error so I presumed just unstable for packages version would be ok in terms of issue reproducibilty ?

EDIT: Also just saw this and as there is no drafting function for issues I close this right after creation to reopen accordingly when reproducing the error on haskell-updates

Notify maintainers

@sternenseemann

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 5.11.13-arch1-1, Arch Linux, noversion`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.8`
 - channels(root): `"nixpkgs-21.03pre250093.0da76dab4c2"`
 - 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:
@573
Copy link
Contributor Author

573 commented May 21, 2021

Just saw this so I'm closing this right now to reopen accordingly when reproducing the error on haskell-updates

@573 573 closed this as completed May 21, 2021
@sternenseemann
Copy link
Member

Should be working as of 830ef64, but there may be additional issues with cross, who knows.

@573
Copy link
Contributor Author

573 commented May 25, 2021

Probably related #124284

@wolfgangwalther
Copy link
Contributor

but there may be additional issues with cross, who knows.

Tracked in #248979

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants