This commit is contained in:
Amy de Buitléir 2025-09-15 18:41:21 +01:00
parent 2d07f3ceeb
commit ba2b8ed8e3
4 changed files with 73 additions and 8 deletions

View file

@ -4916,14 +4916,19 @@ and line 16 makes that custom GHC available in the development environment.</p>
<div class="content">
<pre class="nowrap">$ runghc Main.hs # Fails; dependency not available
&lt;no location info&gt;: error: [GHC-49196] Can't find Main.hs
*** Exception: ExitFailure 1
Main.hs:1:1: error: [GHC-87110]
Could not find module Data.List.Extra.
Use :set -v to see a list of the files searched for.
|
1 | import Data.List.Extra
| ^^^^^^^^^^^^^^^^^^^^^^
$ nix develop
error: Path 'source/recipes/devshell/haskell-pkg/tempwork' in the repository "/home/amy/codeberg/nix-book" is not tracked by Git.
error:
… while updating the lock file of flake 'git+file:///home/amy/codeberg/nix-book?dir=source/recipes/devshell/haskell-pkg/tempwork&amp;ref=refs/heads/pages&amp;rev=2d07f3ceeb4703a873292171d9547ec46817e6c0'
To make it visible to Nix, run:
… while updating the flake input 'pandoc-columns'
git -C "/home/amy/codeberg/nix-book" add "source/recipes/devshell/haskell-pkg/tempwork"</pre>
error: cannot find flake 'flake:pandoc-columns' in the flake registries</pre>
</div>
</div>
</div>
@ -5633,7 +5638,7 @@ Hello from your flake!</pre>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2025-09-15 18:39:35 IST
Last updated 2025-09-15 18:40:34 IST
</div>
</div>
</body>