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

nix-shell fails on darwin #3108

Closed
ak3n opened this issue May 4, 2021 · 1 comment
Closed

nix-shell fails on darwin #3108

ak3n opened this issue May 4, 2021 · 1 comment
Labels

Comments

@ak3n
Copy link
Contributor

ak3n commented May 4, 2021

Area

[] Plutus Foundation Related to the GHC plugin, Haskell-to-Plutus compiler, on-chain code
[] Plutus Application Framework Related to the Plutus application backend (PAB), emulator, Plutus libraries
[] Marlowe Related to Marlowe
[x] Other Any other topic (Playgrounds, etc.)

Summary

nix-shell no longer works on darwin after merging #3042:

➜  plutus git:(58bf9ed62) nix-shell
trace: To materialize project.plan-nix for Agda entirely, pass a writable path as the `materialized` argument and run the 'updateMaterialized' script in 'passthru'.
trace: To materialize project.plan-nix for cabal-install entirely, pass a writable path as the `materialized` argument and run the 'updateMaterialized' script in 'passthru'.
trace: To materialize project.plan-nix for stylish-haskell entirely, pass a writable path as the `materialized` argument and run the 'updateMaterialized' script in 'passthru'.
trace: To materialize project.plan-nix entirely, pass a writable path as the `materialized` argument and run the 'updateMaterialized' script in 'passthru'.
trace: To materialize project.plan-nix for hlint entirely, pass a writable path as the `materialized` argument and run the 'updateMaterialized' script in 'passthru'.
these derivations will be built:
  /nix/store/dbf7kyx9a7dsz8x8c1pdi9lal5bbsy8x-ghc-shell-for-packages-config.drv
  /nix/store/ik042p673z6539x4zdp65k6xqmdkq0m6-ghc-shell-for-packages-ghc-8.10.4.20210212-env.drv
building '/nix/store/dbf7kyx9a7dsz8x8c1pdi9lal5bbsy8x-ghc-shell-for-packages-config.drv'...
sandbox-exec: pattern serialization length 68539 exceeds maximum (65535)
builder for '/nix/store/dbf7kyx9a7dsz8x8c1pdi9lal5bbsy8x-ghc-shell-for-packages-config.drv' failed with exit code 65
cannot build derivation '/nix/store/ik042p673z6539x4zdp65k6xqmdkq0m6-ghc-shell-for-packages-ghc-8.10.4.20210212-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ik042p673z6539x4zdp65k6xqmdkq0m6-ghc-shell-for-packages-ghc-8.10.4.20210212-env.drv' failed

git bisect shows 58bf9ed626d498c140c69a859a508da03843d097 as a first bad commit.

Steps to reproduce

Steps to reproduce the behavior:

Run nix-shell in plutus.

Expected behavior

nix-shell starts a new shell.

System info (please complete the following information):

  • OS: macOS Catalina
  • Version 10.15.7
  • Plutus version or commit hash: 58bf9ed626d498c140c69a859a508da03843d097

Additional context

It's a known issue in nix NixOS/nix#4119

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

No branches or pull requests

1 participant