user1972: I started following the lectures on youtube and got this error when I try to build the English Auction
Warning: The build command is a part of the legacy v1 style of cabal usage.
Please switch to using either the new project style and the new-build command
or the legacy v1-build alias as new-style projects will become the default in
the next version of cabal-install. Please file a bug if you cannot replicate a
working v1- use case with the new-style commands.
For more information, see: https://wiki.haskell.org/Cabal/NewBuild
Resolving dependencies...
Warning: solver failed to find a solution:
Could not resolve dependencies:
[__0] trying: plutus-pioneer-program-week01-0.1.0.0 (user goal)
[__1] next goal: base (dependency of plutus-pioneer-program-week01)
[__1] rejecting: base-4.12.0.0/installed-4.1... (conflict:
plutus-pioneer-program-week01 => base^>=4.14.1.0)
[__1] fail (backjumping, conflict set: base, plutus-pioneer-program-week01)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: plutus-pioneer-program-week01, base
Trying configure anyway.
Configuring plutus-pioneer-program-week01-0.1.0.0...
cabal: Encountered missing dependencies:
aeson -any,
base >=4.14.1.0 && <4.15,
playground-common -any,
plutus-contract -any,
plutus-ledger -any,
plutus-tx -any,
plutus-tx-plugin -any
tried to run nix-shell at the top-level directory of the plutus-repository but I couldn't. Got
Error: getting status of '/home/test/plutus/plutus-pioneer-program/default.nix': No such file or directory

user1945: I had the similar problem, this recipe works for me:
Run nix-shell inside plutus project and move to plutus-pioneer-program/code/week01 directory from nix shell, then start cabal build.
UPD:
plutus-pioneer-program repo contains README with steps how to run plutus-playground, one of steps is to clone Plutus repo and to checkout it to the specific commit. Inside that Plutus directory you can run nix-shell and then go to pioneer directory.

user2201: I am new to nix, but my understanding is as follows:
Both the plutus and plutus-pioneer-program repos need to be extracted on disk. Check out the plutus commit of the coding week you want to work on (in cabal.project in root of week code folder).
Start all the nix-shell instances you require in the root of the plutus repository. I start 3: one each for playground server and client, and programming in Hashkell (cabal repl). For each shell you have to cd to the correct folder. This way all components are in sync.
Don't forget to set up the cache at the start.
I am really impressed how nix make this so easy.

user725: I had a similar issue and solved it by running nix-shell in the plutus library, then navigating to the plutus-pioneer/code/week01 and running cabal update. I hope this helps!

1972: <p>I started following the lectures on youtube and got this error when I try to build the English Auction</p>
<p>Warning: The build command is a part of the legacy v1 style of cabal usage.</p>
<p>Please switch to using either the new project style and the new-build command
or the legacy v1-build alias as new-style projects will become the default in
the next version of cabal-install. Please file a bug if you cannot replicate a
working v1- use case with the new-style commands.</p>
<p>For more information, see: <a href="https://wiki.haskell.org/Cabal/NewBuild" rel="noreferrer">https://wiki.haskell.org/Cabal/NewBuild</a></p>
<p>Resolving dependencies...
Warning: solver failed to find a solution:
Could not resolve dependencies:
[__0] trying: plutus-pioneer-program-week01-0.1.0.0 (user goal)
[__1] next goal: base (dependency of plutus-pioneer-program-week01)
[__1] rejecting: base-4.12.0.0/installed-4.1... (conflict:
plutus-pioneer-program-week01 =&gt; base^&gt;=4.14.1.0)
[__1] fail (backjumping, conflict set: base, plutus-pioneer-program-week01)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: plutus-pioneer-program-week01, base
Trying configure anyway.
Configuring plutus-pioneer-program-week01-0.1.0.0...
cabal: Encountered missing dependencies:
aeson -any,
base &gt;=4.14.1.0 &amp;&amp; &lt;4.15,
playground-common -any,
plutus-contract -any,
plutus-ledger -any,
plutus-tx -any,
plutus-tx-plugin -any</p>
<p>tried to run nix-shell at the top-level directory of the plutus-repository but I couldn't. Got</p>
<p>Error: getting status of '/home/test/plutus/plutus-pioneer-program/default.nix': No such file or directory</p>
 1945: <p>I had the similar problem, this recipe works for me:</p>
<p>Run <code>nix-shell</code> inside <code>plutus</code> project and move to <code>plutus-pioneer-program/code/week01</code> directory from nix shell, then start <code>cabal build</code>.</p>
<p>UPD:
<a href="https://github.com/input-output-hk/plutus-pioneer-program" rel="nofollow noreferrer">plutus-pioneer-program</a> repo contains README with steps how to run <code>plutus-playground</code>, one of steps is to clone <a href="https://github.com/input-output-hk/plutus" rel="nofollow noreferrer">Plutus</a> repo and to checkout it to the specific commit. Inside that <code>Plutus</code> directory you can run <code>nix-shell</code> and then go to pioneer directory.</p>
 2201: <p>I am new to <em>nix</em>, but my understanding is as follows:</p>
<p>Both the <em>plutus</em> and <em>plutus-pioneer-program</em> repos need to be extracted on disk. Check out the <em>plutus</em> commit of the coding week you want to work on (in cabal.project in root of week code folder).</p>
<p>Start all the <em>nix-shell</em> instances you require in the root of the <em>plutus</em> repository. I start 3: one each for playground server and client, and programming in Hashkell (<em>cabal repl</em>). For each shell you have to <em>cd</em> to the correct folder. This way all components are in sync.</p>
<p>Don't forget to set up the cache at the start.
I am really impressed how <em>nix</em> make this so easy.</p>
 725: <p>I had a similar issue and solved it by running <code>nix-shell</code> in the plutus library, then navigating to the plutus-pioneer/code/week01 and running <code>cabal update</code>. I hope this helps!</p>
