user255: Running cabal update within nixos in my app fails with the following:
$HOME/my-app/dist-newstyle/src/plutus-ap_-cbcc5c6ab544aad6/web-ghc: getDirectoryContents:openDirStream: does not exist (No such file or directory)

Any help would be appreciated.

user255: It turns out that the problem is caused by the cabal.project file in plutus-starter template.
In the following section:
-- Plutus apps revision from 2022-04-06
source-repository-package
  type: git
  location: https://github.com/input-output-hk/plutus-apps.git
  tag: v0.1.0
  subdir:
    doc
    freer-extras
    playground-common
    plutus-chain-index
    plutus-chain-index-core
    plutus-contract
    plutus-example
    plutus-contract-certification
    plutus-ledger
    plutus-ledger-constraints
    plutus-pab
    plutus-pab-executables
    plutus-playground-server
    plutus-script-utils
    plutus-streaming
    plutus-tx-constraints
    plutus-use-cases
    web-ghc

An obsolete plutus-apps tag is still being used and it is expected that web-ghc folder is still present.
To fix the issue, I repaced the above subdir section with the following (found in the packages section in cabal.project file of the latest version of plutus-apps):
cardano-streaming
doc
freer-extras
marconi
marconi-mamba
playground-common
pab-blockfrost
plutus-chain-index
plutus-chain-index-core
plutus-contract
plutus-contract-certification
plutus-example
plutus-ledger
plutus-ledger-constraints
plutus-pab
plutus-pab-executables
plutus-script-utils
plutus-tx-constraints
plutus-use-cases
rewindable-index

And then replacing the tag with the latest tag found here

255: <p>Running <code>cabal update</code> within nixos in my app fails with the following:</p>
<pre><code>$HOME/my-app/dist-newstyle/src/plutus-ap_-cbcc5c6ab544aad6/web-ghc: getDirectoryContents:openDirStream: does not exist (No such file or directory)
</code></pre>
<p>Any help would be appreciated.</p>
 255: <p>It turns out that the problem is caused by the <code>cabal.project</code> file in <a href="https://github.com/input-output-hk/plutus-starter" rel="nofollow noreferrer">plutus-starter template</a>.</p>
<p>In the following section:</p>
<pre><code>-- Plutus apps revision from 2022-04-06
source-repository-package
  type: git
  location: https://github.com/input-output-hk/plutus-apps.git
  tag: v0.1.0
  subdir:
    doc
    freer-extras
    playground-common
    plutus-chain-index
    plutus-chain-index-core
    plutus-contract
    plutus-example
    plutus-contract-certification
    plutus-ledger
    plutus-ledger-constraints
    plutus-pab
    plutus-pab-executables
    plutus-playground-server
    plutus-script-utils
    plutus-streaming
    plutus-tx-constraints
    plutus-use-cases
    web-ghc
</code></pre>
<p>An obsolete <code>plutus-apps</code> tag is still being used and it is expected that <code>web-ghc</code> folder is still present.</p>
<p>To fix the issue, I repaced the above <code>subdir</code> section with the following (found in the <code>packages</code> section in <code>cabal.project</code> file of the latest version of <code>plutus-apps</code>):</p>
<pre><code>cardano-streaming
doc
freer-extras
marconi
marconi-mamba
playground-common
pab-blockfrost
plutus-chain-index
plutus-chain-index-core
plutus-contract
plutus-contract-certification
plutus-example
plutus-ledger
plutus-ledger-constraints
plutus-pab
plutus-pab-executables
plutus-script-utils
plutus-tx-constraints
plutus-use-cases
rewindable-index
</code></pre>
<p>And then replacing the <code>tag</code> with the latest tag found <a href="https://github.com/input-output-hk/plutus-apps/tags" rel="nofollow noreferrer">here</a></p>
