You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been thinking about how we need to keep quite a few things in sync with the ctl-scaffold template. What if we provided CTL purescript source + spago files in an environment variable
where CTL_PACKAGES is a nix generated package.dhall like:
let upstream =/nix/deadbeef-ctl/packages.dhall -- the packages.dhall ctl uses directly, from its sourcein upstream
with cardano-transaction-library =/nix/deadbeef-ctl/spago.dhall
I think it'd make it easier to CTL users to upgrade CTL, they simply change the ctl ref in the flake input. What do we think?
The text was updated successfully, but these errors were encountered:
We don't want to make spago dependent on nix to provide the env variable.
It will raise the bar for those who want to use the code without dealing with nix (which is currently possible with just spago).
Nix provides the environment (and builds too, if needed), but to build the bundle we don't want to rely exclusively on it. The users may want to build with spago and whatever bundler they chose (and they do - see this thread) and then provide their own runtime just by starting binaries.
That's fair enough, I was thinking nix is necessary to launch the runtime, but yeah they can of course run everything manually.
I don't think this change would stop users from using a different bundler, just that they need to use nix (and buildPursProject)
This could still be an opt-in solution for users, but at that point it doesn't save us (CTL devs) the original pain in the first place of maintaining the template like we currently do. It's not that bad though
I've been thinking about how we need to keep quite a few things in sync with the
ctl-scaffold
template. What if we provided CTL purescript source + spago files in an environment variablewhere
CTL_PACKAGES
is a nix generatedpackage.dhall
like:I think it'd make it easier to CTL users to upgrade CTL, they simply change the ctl ref in the flake input. What do we think?
The text was updated successfully, but these errors were encountered: