obsidiansystems / rhyolite

BSD 3-Clause "New" or "Revised" License
26 stars 17 forks source link

`ob deploy push` with rhyolite as dependency fails #212

Closed JackTheEngineer closed 8 months ago

JackTheEngineer commented 8 months ago

Hello !

Hi, i'm trying to get to ob deploy push to work on an obelisk based application, after having initialized all the repositories as instructed in the obelisk and rhyolite github repositories. ob run works fine, and displays the rhyolite based application.

But when running the ob deployment initialization procedure (as described in the obelisk/README.md , it fails on ob deploy push with

opening file '/nix/store/jlyfl0n6a36r6sw2rnk2aic8zz6i08z1-rhyolite/default.nix': No such file or directory.

The /nix/store/hash.....rhyolite/ directory is indeed empty. It seems that somewhere in the process, the dep/rhyolite depenency is not properly (built?), even though I've added the 'overrides = pkgs.lib.composeExtensions (pkgs.callPackage (hackGet ./dep/rhyolite) args).haskellOverrides (self: super: --- otherOverrides ---) ' as instructed in the github/rhyolite repository. What hopefully simple thing have i missed ? :D

Best Regards !

JackTheEngineer commented 8 months ago

The resolution was to first ob thunk pack dep/rhyolite , then git commit it all, and after that run a ob deploy push.