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
2d07f3ceeb
commit
ba2b8ed8e3
4 changed files with 73 additions and 8 deletions
17
index.html
17
index.html
|
|
@ -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
|
||||
|
||||
<no location info>: 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&ref=refs/heads/pages&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>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, pandoc-columns }:
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
|
|
|
|||
60
source/recipes/devshell/haskell-pkg/tempwork/flake.lock
generated
Normal file
60
source/recipes/devshell/haskell-pkg/tempwork/flake.lock
generated
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
{
|
||||
"nodes": {
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731533236,
|
||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1757957081,
|
||||
"narHash": "sha256-7iLovveMGL0xWKV/nBC3L+pgtu/U1ZFdEXz+eCy77GQ=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "594ab976eb33dca9723f7db7b77892456da50813",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, pandoc-columns }:
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue