diff --git a/index.html b/index.html index a2661c5..19f0e61 100644 --- a/index.html +++ b/index.html @@ -4916,14 +4916,19 @@ and line 16 makes that custom GHC available in the development environment.

$ 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"
+ error: cannot find flake 'flake:pandoc-columns' in the flake registries
@@ -5633,7 +5638,7 @@ Hello from your flake! diff --git a/source/recipes/devshell/haskell-pkg/flake.nix b/source/recipes/devshell/haskell-pkg/flake.nix index 00ce7dc..5eb2141 100644 --- a/source/recipes/devshell/haskell-pkg/flake.nix +++ b/source/recipes/devshell/haskell-pkg/flake.nix @@ -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; }; diff --git a/source/recipes/devshell/haskell-pkg/tempwork/flake.lock b/source/recipes/devshell/haskell-pkg/tempwork/flake.lock new file mode 100644 index 0000000..3026d6e --- /dev/null +++ b/source/recipes/devshell/haskell-pkg/tempwork/flake.lock @@ -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 +} diff --git a/source/recipes/devshell/haskell-pkg/tempwork/flake.nix b/source/recipes/devshell/haskell-pkg/tempwork/flake.nix index 00ce7dc..5eb2141 100644 --- a/source/recipes/devshell/haskell-pkg/tempwork/flake.nix +++ b/source/recipes/devshell/haskell-pkg/tempwork/flake.nix @@ -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; };