rhyolite icon indicating copy to clipboard operation
rhyolite copied to clipboard

"Alternative method" install does not work

Open tdimiduk opened this issue 2 years ago • 1 comments

mkdir rhyolite-test
cd rhyolite-test
ob init

replace .obelisk/impl/github.json with

{
  "owner": "obsidiansystems",
  "repo": "rhyolite",
  "branch": "master",
  "rev": "06b9851a101408a86a4ec0b7df5b2f71bc532ab0",
  "sha256": "18adbc1nnj94qhggpcxmpd5i1rz0zx93cpphl09mw4c7s65rzah7"
}
ob run -v
Starting Obelisk </nix/store/d6a5hld8kz92dcrgvzdfbmbl1vs5am9j-obelisk-command-0.9.0.1/bin/.ob-wrapped> args=["run","-v"] logging-level=Debug
Thunk specification git-v5 did not match "./.obelisk/impl": ReadThunkError_UnrecognizedPaths ("./.obelisk/impl/github.json" :| [])
Thunk specification github-v5 matched "./.obelisk/impl"
./.obelisk/impl: command not cached, building ...
Creating process: nix-build ./.obelisk/impl -A command --out-link ./.obelisk/impl/.attr-cache/command.out
✔ Built on ./.obelisk/impl [command]
Handing off to ./.obelisk/impl/.attr-cache/command.out/bin/ob
Starting Obelisk </nix/store/j8wls8a89xr6s1a47lg6g83gnbdrfd0l-obelisk-command-0.1/bin/.ob-wrapped> args=["--no-handoff","run","-v"] logging-level=Debug
Creating process runNixShellAttr: 'nix-shell' '-A' 'shells.ghc' '--run' '/nix/store/j8wls8a89xr6s1a47lg6g83gnbdrfd0l-obelisk-command-0.1/bin/.ob-wrapped --no-handoff --verbose internal run-static-io f1fc7463caf6928eb3829378d1bed861'
error: anonymous function at /nix/store/i0mdx4a297n4ynwxn2bn5039n51bjhmn-cabal2nix-frontend/default.nix:1:1 called without required argument 'obelisk-executable-config-lookup'

       at /nix/store/pm48xdrvar85d0qhmaxzxmqk2y1mdb7y-source/pkgs/development/haskell-modules/make-package-set.nix:87:27:

           86|       # this wraps the `drv` function to add a `overrideScope` function to the result.
           87|       drvScope = allArgs: drv allArgs // {
             |                           ^
           88|         overrideScope = f:
(use '--show-trace' to show detailed location information)

tdimiduk avatar Jan 02 '22 00:01 tdimiduk