Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Alternative method" install does not work #174

Open
tdimiduk opened this issue Jan 2, 2022 · 1 comment
Open

"Alternative method" install does not work #174

tdimiduk opened this issue Jan 2, 2022 · 1 comment

Comments

@tdimiduk
Copy link
Contributor

tdimiduk commented Jan 2, 2022

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
Copy link
Contributor Author

This does reproduce when I test today.

Attempting to update the thunk fails with:

ob thunk update .obelisk/impl/ --branch develop
./.obelisk/impl: command not cached, building ...
DONE Built on ./.obelisk/impl [command]
thunk update: ReadThunkError_UnrecognizedFiles
✖ Updating thunk .obelisk/impl to latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant