I had plutus-playground up and running with a prior commit, but am trying to get the latest version running. I have cloned everything fresh in a new folder. I have successfully run the following inside the plutus-apps directory.
git checkout 41149926c108c71831cfe8d244c83b0ee4bf5c8anix-build -A plutus-playground.client nix-build -A plutus-playground.server
nix-build -A plutus-playground.generate-purescript nix-build -A plutus-playground.start-backend
Now I am at plutus-pab. I am in bash. I have tried the following and received the following errors:
bash-3.2$ nix-build -A plutus-pab
error: attribute 'plutus-pab' in selection path 'plutus-pab' not found
bash-3.2$ GC_DONT_GC=1 nix-build -A plutus-pab
error: attribute 'plutus-pab' in selection path 'plutus-pab' not found
bash-3.2$ nix-build ./default.nix -A plutus-apps.haskell.packages.plutus-pab
Segmentation fault: 11
bash-3.2$ GC_DONT_GC=1 nix-build ./default.nix -A plutus-apps.haskell.packages.plutus-pab
this derivation will be built:
/nix/store/yz5wyg4yv21xvwq9nmwb3bcb6fcvx30y-plutus-pab-0.1.0.0-coverage-report.drv
building '/nix/store/yz5wyg4yv21xvwq9nmwb3bcb6fcvx30y-plutus-pab-0.1.0.0-coverage-report.drv'...
sandbox-exec: pattern serialization length 83683 exceeds maximum (65535)
error: builder for '/nix/store/yz5wyg4yv21xvwq9nmwb3bcb6fcvx30y-plutus-pab-0.1.0.0-coverage-report.drv' failed with exit code 65;
last 1 log lines:
> sandbox-exec: pattern serialization length 83683 exceeds maximum (65535)
For full logs, run 'nix log /nix/store/yz5wyg4yv21xvwq9nmwb3bcb6fcvx30y-plutus-pab-0.1.0.0-coverage-report.drv'.
bash-3.2$ GC_DONT_GC=1 nix-build ./default.nix -A plutus-pab
error: attribute 'plutus-pab' in selection path 'plutus-pab' not found
bash-3.2$
This is really feeling like broken code. What needs to be fixed to get this to work?
plutus-pab
is a library.nix
tool that's being used. Sorry for asking more questions, as I can't reproduce this. What operating system is this, and what doesnix --version
report?sandbox = true
on macOS with nix is not well supported at all. Especially not with more complicated nix expressions.