<p>To build needed:</p>
<p>$ nix-build ../default.nix -A plutus-apps.haskell.packages.plutus-pab</p>
<p><strike>in top level of plutus-apps folder.</strike></p>
<p>in plutus-apps/plutus-pab-executables</p>

CC BY-SA 4.0
2022-01-13T00:50:11.353Z
2022-02-18T12:25:55.503Z
2022-02-18T12:25:55.503Z
perezda
<p>I am following <a href="https://docs.plutus-community.com/docs/setup/MacOS.html" rel="nofollow noreferrer">https://docs.plutus-community.com/docs/setup/MacOS.html</a></p>
<p>I know the plutus-apps repo is newer than those docs and have downloaded it but it seems I can't build plutus-pab.</p>
<p>When I run</p>
<p><code>$ nix-build -A plutus-pab</code></p>
<p>I get:</p>
<p><code>error: attribute 'plutus-pab' in selection path 'plutus-pab' not found </code></p>
<p>I thought I had built everything but when I tried to run $ npm run start in plutus-playground-client I got this:</p>
<p><code>sh: line 1: plutus-playground-generate-purs: command not found </code></p>

CC BY-SA 4.0
2022-01-12T16:31:05.983Z
I may need to build https://github.com/input-output-hk/plutus-apps/tree/main/plutus-pab-executables but when i try $ nix-build ../default.nix -A plutus-apps.haskell.packages.plutus-pab I get Segmentation fault: 11
perezda
CC BY-SA 4.0
2022-01-12T16:46:05.403Z
Was able to run $nix-build default.nix -A plutus-apps.haskell.packages.plutus-pab from within nix-shell. Seems like it worked, but main problem still not resolved.
perezda
CC BY-SA 4.0
2022-01-12T21:20:59.760Z
After a reboot, this issue seems to have resolved itself. Unfortunately I'm not sure what I did. Playground client now runs, though I cannot compile the hello world sample. On to tackling next error...
perezda
<plutus-pioneer-program>
Building PAB error: attribute 'plutus-pab' in selection path 'plutus-pab' not found
# Building PAB error: attribute 'plutus-pab' in selection path 'plutus-pab' not found

(Asked by: username_0 on 2022-01-12)

I am following <https://docs.plutus-community.com/docs/setup/MacOS.html>

I know the plutus-apps repo is newer than those docs and have downloaded it but it seems I can't build plutus-pab.

When I run

`$ nix-build -A plutus-pab`

I get:

`error: attribute 'plutus-pab' in selection path 'plutus-pab' not found`

I thought I had built everything but when I tried to run $ npm run start in plutus-playground-client I got this:

`sh: line 1: plutus-playground-generate-purs: command not found`

**Tags:** plutus-pioneer-program
> **Comments:**
> **username_0**: I may need to build https://github.com/input-output-hk/plutus-apps/tree/main/plutus-pab-executables but when i try $ nix-build ../default.nix -A plutus-apps.haskell.packages.plutus-pab I get Segmentation fault: 11  
> **username_0**: Was able to run $nix-build default.nix -A plutus-apps.haskell.packages.plutus-pab from within nix-shell. Seems like it worked, but main problem still not resolved.  
> **username_0**: After a reboot, this issue seems to have resolved itself. Unfortunately I'm not sure what I did. Playground client now runs, though I cannot compile the hello world sample. On to tackling next error...  

---

## 1 answers

### Answer by username_0 on 2022-01-13. Score: 0

To build needed:

$ nix-build ../default.nix -A plutus-apps.haskell.packages.plutus-pab

in top level of plutus-apps folder.

in plutus-apps/plutus-pab-executables


---

