<p>I solved this by cleaning nix install and starting from scratch following: <a href="https://github.com/renzwo/cardano-plutus-apps-install-m1/blob/main/README.md" rel="nofollow noreferrer">https://github.com/renzwo/cardano-plutus-apps-install-m1/blob/main/README.md</a></p>
<p>I am still getting one issue at the last step (starting Plutus client) but that is a different issue.</p>

CC BY-SA 4.0
2022-01-13T15:35:57.723Z
2022-01-13T15:35:57.723Z
Bronya
<p><a href="https://github.com/input-output-hk/plutus-apps/issues/239" rel="nofollow noreferrer">This issue</a> has already been filed with the plutus-apps project. According to the feedback <code>nix-build</code> should be called with <code>--argstr system x86_64-darwin</code> to use rosetta - as ARM isn't supported yet.</p>

CC BY-SA 4.0
2022-01-12T19:34:22.053Z
2022-01-12T19:34:22.053Z
tcurdt
<p>I am getting this error when building Plutus-apps on Ubuntu 20.04 in Parallels on Mac M1:</p>
<pre><code>    trace: WARNING: 8.8.2 is out of date, consider using 8.8.4.
    error: attribute 'alex' missing

    at /nix/store/8n76c1c3nz2wl6dzxmxdz2y5xrx70flw-source/overlays/haskell.nix:554:34:

      553|                             then components.library
      554|                             else components.${haskellLib.prefixComponent.${builtins.elemAt m 0}}.${builtins.elemAt m 1};
         |                                  ^
      555|
</code></pre>
<p>I found this post which seems to have the same problem but it didn't help much in resolving it: <a href="https://issueexplorer.com/issue/input-output-hk/haskell.nix/1189" rel="nofollow noreferrer">https://issueexplorer.com/issue/input-output-hk/haskell.nix/1189</a></p>

<plutus-pioneer-program>
Error attribute 'alex' missing when building in parallels on Mac
# Error attribute 'alex' missing when building in parallels on Mac

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

I am getting this error when building Plutus-apps on Ubuntu 20.04 in Parallels on Mac M1:
    trace: WARNING: 8.8.2 is out of date, consider using 8.8.4.
    error: attribute 'alex' missing

    at /nix/store/8n76c1c3nz2wl6dzxmxdz2y5xrx70flw-source/overlays/haskell.nix:554:34:

      553|                             then components.library
      554|                             else components.${haskellLib.prefixComponent.${builtins.elemAt m 0}}.${builtins.elemAt m 1};
         |                                  ^
      555|

I found this post which seems to have the same problem but it didn't help much in resolving it: https://issueexplorer.com/issue/input-output-hk/haskell.nix/1189

**Tags:** plutus-pioneer-program

---

## 2 answers

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

I solved this by cleaning nix install and starting from scratch following: <https://github.com/renzwo/cardano-plutus-apps-install-m1/blob/main/README.md>

I am still getting one issue at the last step (starting Plutus client) but that is a different issue.


---

### Answer by username_1 on 2022-01-12. Score: 0

[This issue](https://github.com/input-output-hk/plutus-apps/issues/239) has already been filed with the plutus-apps project. According to the feedback `nix-build` should be called with `--argstr system x86_64-darwin` to use rosetta - as ARM isn't supported yet.


---

