mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-02-22 12:55:21 +08:00
temp
This commit is contained in:
parent
ba2b8ed8e3
commit
2a3b47fede
2 changed files with 6 additions and 8 deletions
13
index.html
13
index.html
|
|
@ -4867,7 +4867,7 @@ together with the <em>high-level workflow</em> described in <a href="#_developme
|
|||
flake-utils<span class="tok-o">.</span><span class="tok-ss">url</span> <span class="tok-o">=</span> <span class="tok-s2">"github:numtide/flake-utils"</span><span class="tok-p">;</span>
|
||||
<span class="tok-p">};</span>
|
||||
|
||||
<span class="tok-ss">outputs</span> <span class="tok-o">=</span> <span class="tok-p">{</span> self<span class="tok-p">,</span> nixpkgs<span class="tok-p">,</span> flake-utils<span class="tok-p">,</span> pandoc-columns <span class="tok-p">}:</span>
|
||||
<span class="tok-ss">outputs</span> <span class="tok-o">=</span> <span class="tok-p">{</span> self<span class="tok-p">,</span> nixpkgs<span class="tok-p">,</span> flake-utils <span class="tok-p">}:</span>
|
||||
flake-utils<span class="tok-o">.</span>lib<span class="tok-o">.</span>eachDefaultSystem <span class="tok-p">(</span>system<span class="tok-p">:</span>
|
||||
<span class="tok-k">let</span>
|
||||
<span class="tok-ss">pkgs</span> <span class="tok-o">=</span> <span class="tok-nb">import</span> nixpkgs <span class="tok-p">{</span> <span class="tok-k">inherit</span> system<span class="tok-p">;</span> <span class="tok-p">};</span>
|
||||
|
|
@ -4923,12 +4923,9 @@ Main.hs:1:1: error: [GHC-87110]
|
|||
1 | import Data.List.Extra
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
$ nix develop
|
||||
error:
|
||||
… while updating the lock file of flake 'git+file:///home/amy/codeberg/nix-book?dir=source/recipes/devshell/haskell-pkg/tempwork&ref=refs/heads/pages&rev=2d07f3ceeb4703a873292171d9547ec46817e6c0'
|
||||
|
||||
… while updating the flake input 'pandoc-columns'
|
||||
|
||||
error: cannot find flake 'flake:pandoc-columns' in the flake registries</pre>
|
||||
$ runghc Main.hs # Works in development environemnt
|
||||
"abcde"
|
||||
"XYZ"</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -5638,7 +5635,7 @@ Hello from your flake!</pre>
|
|||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2025-09-15 18:40:34 IST
|
||||
Last updated 2025-09-15 18:41:19 IST
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue