<p>looks like we're following the same instructions to install the IOHK binary caches with a couple of small differences, and honestly, I have no idea whether this makes any difference. I believe that may have used the multi-user installation for nix. After cloning the <code>plutus-apps</code> repository, I ran <code>cabal update</code>, and then <code>nix-shell</code>. Once that was finished, I just followed the README and ran <code>cabal build plutus-pab</code>. I then followed the instructions on page 2 of this document -&gt; <a href="https://docs.google.com/document/d/13112LHG9vVvNUs40oZSqZ-DF6_yFiT_SJZ2NaEmjMM4/edit#" rel="nofollow noreferrer">https://docs.google.com/document/d/13112LHG9vVvNUs40oZSqZ-DF6_yFiT_SJZ2NaEmjMM4/edit#</a> although I did not do step 3 (<code>nix-build -A plutus-playground.server</code>), and it seems to work fine. I hope you manage to find the issue</p>

CC BY-SA 4.0
2022-01-14T09:40:22.773Z
Actually the error message "out of date" were not root cause of syntax error. I checked out both plutus-pioneer-program and plutus-apps and then ran again above command and pass through this error. Thanks your comments it was helpful. You made me think differently.
Tae Euy
CC BY-SA 4.0
2022-01-13T14:21:45.050Z
2022-01-13T14:21:45.050Z
simon
<p>I'm encountered syntax error message as below when I command &quot;nix-shell&quot; to build environment setting. Could you advise what makes this error message?</p>
<p>--- error message ---</p>
<p>trace: WARNING: 8.10.5 is out of date, consider using 8.10.7.
error: syntax error, unexpected end of file at /nix/store/14hkipxfa9j8ngs02f7llgpqr4l7mrdq-happy-plan-to-nix-pkgs/default.nix:1:1:</p>
<p>--- end of error message ---</p>
<p>My system setting :
OS : ubuntu 20.04lts</p>
<p>I've completed following steps in advance to set up environment.</p>
<p>sudo sh -c 'apt update &amp;&amp; apt install curl' to install curl</p>
<p>sudo apt-get install vim to install vim</p>
<p>sudo apt-get install git to install git</p>
<p>sh &lt;(curl -L <a href="https://nixos.org/nix/install" rel="nofollow noreferrer">https://nixos.org/nix/install</a>) --no-daemon to install nix via single user</p>
<p>sudo vim nix.conf  to create a new nix.conf file</p>
<p>Paste the following lines:</p>
<p>substituters = <a href="https://hydra.iohk.io" rel="nofollow noreferrer">https://hydra.iohk.io</a> <a href="https://iohk.cachix.org" rel="nofollow noreferrer">https://iohk.cachix.org</a> <a href="https://cache.nixos.org/" rel="nofollow noreferrer">https://cache.nixos.org/</a>
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
experimental-features = nix-command</p>
<p>git clone <a href="https://github.com/input-output-hk/plutus-apps" rel="nofollow noreferrer">https://github.com/input-output-hk/plutus-apps</a> to clone the correct plutus-apps repo</p>
<p>git checkout 7f53f18dfc788bf6aa929f47d840efa1247e11fd</p>
<p>nix-build -A plutus-playground.server</p>

CC BY-SA 4.0
2022-01-14T04:39:00.947Z
Welcome to Cardano SE! As a new user be sure to take the [Tour].
gRebel
<nix-shell>
Plutus Pioneers Program Environment Setting, nix-shell command cause syntax error, 8.10.5 is out of date
# Plutus Pioneers Program Environment Setting, nix-shell command cause syntax error, 8.10.5 is out of date

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

I'm encountered syntax error message as below when I command "nix-shell" to build environment setting. Could you advise what makes this error message?

--- error message ---

trace: WARNING: 8.10.5 is out of date, consider using 8.10.7.
error: syntax error, unexpected end of file at /nix/store/14hkipxfa9j8ngs02f7llgpqr4l7mrdq-happy-plan-to-nix-pkgs/default.nix:1:1:

--- end of error message ---

My system setting :
OS : ubuntu 20.04lts

I've completed following steps in advance to set up environment.

sudo sh -c 'apt update && apt install curl' to install curl

sudo apt-get install vim to install vim

sudo apt-get install git to install git

sh <(curl -L <https://nixos.org/nix/install>) --no-daemon to install nix via single user

sudo vim nix.conf to create a new nix.conf file

Paste the following lines:

substituters = <https://hydra.iohk.io> <https://iohk.cachix.org> <https://cache.nixos.org/>
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
experimental-features = nix-command

git clone <https://github.com/input-output-hk/plutus-apps> to clone the correct plutus-apps repo

git checkout 7f53f18dfc788bf6aa929f47d840efa1247e11fd

nix-build -A plutus-playground.server

**Tags:** nix-shell
> **Comments:**
> **username_1**: Welcome to Cardano SE! As a new user be sure to take the [Tour].  

---

## 1 answers

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

looks like we're following the same instructions to install the IOHK binary caches with a couple of small differences, and honestly, I have no idea whether this makes any difference. I believe that may have used the multi-user installation for nix. After cloning the `plutus-apps` repository, I ran `cabal update`, and then `nix-shell`. Once that was finished, I just followed the README and ran `cabal build plutus-pab`. I then followed the instructions on page 2 of this document -> <https://docs.google.com/document/d/13112LHG9vVvNUs40oZSqZ-DF6_yFiT_SJZ2NaEmjMM4/edit#> although I did not do step 3 (`nix-build -A plutus-playground.server`), and it seems to work fine. I hope you manage to find the issue

> **Comments:**
> **username_0**: Actually the error message "out of date" were not root cause of syntax error. I checked out both plutus-pioneer-program and plutus-apps and then ran again above command and pass through this error. Thanks your comments it was helpful. You made me think differently.  

---

