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>
|
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-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>
|
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-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>
|
<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
|
1 | import Data.List.Extra
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||||
$ nix develop
|
$ nix develop
|
||||||
error:
|
$ runghc Main.hs # Works in development environemnt
|
||||||
… 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'
|
"abcde"
|
||||||
|
"XYZ"</pre>
|
||||||
… while updating the flake input 'pandoc-columns'
|
|
||||||
|
|
||||||
error: cannot find flake 'flake:pandoc-columns' in the flake registries</pre>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -5638,7 +5635,7 @@ Hello from your flake!</pre>
|
||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div id="footer-text">
|
<div id="footer-text">
|
||||||
Last updated 2025-09-15 18:40:34 IST
|
Last updated 2025-09-15 18:41:19 IST
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,7 @@ $ runghc Main.hs # Fails; dependency not available
|
||||||
$# ../../../../../start-shell nix develop <<EOL
|
$# ../../../../../start-shell nix develop <<EOL
|
||||||
$ runghc Main.hs # Works in development environemnt
|
$ runghc Main.hs # Works in development environemnt
|
||||||
$# EOL
|
$# EOL
|
||||||
|
exit
|
||||||
....
|
....
|
||||||
|
|
||||||
////
|
////
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue