-
Notifications
You must be signed in to change notification settings - Fork 2
Flake reprise #19
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
base: main
Are you sure you want to change the base?
Flake reprise #19
Conversation
What formatter do you use btw? As far as I'm aware we use nixpkgs-fmt for most projects |
409379d
to
fd9cfbb
Compare
Oops, I enabled Alejandra to test it (seems really well done) and I think I forgot it enabled when writing this, I'll use |
Co-authored-by: Andrea Ciceri <[email protected]>
c23a658
to
8d6cd34
Compare
This is ready for merge IMO, but I didn't want to merge it myself |
Looks like seabug-contracts is still a submodule? (added recently in Calum's pr) (unless my UI is being weird) |
@rynoV Can you verify this is working as expected? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Biggest issue right now is buildFrontend2.sh
won't work and needs to be ported into nix
@@ -160,6 +160,22 @@ | |||
"type": "github" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this is expected, but when I ran nix build --recreate-lock-file
there were a lot of changes to this file. Is it out of date?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea, there are several new inputs, maybe this is the reason?
I can't spend any more time on this, but to summarize the changes I planned: Dev environmentCurrently there is no easy development experience. To fix this:
Prod buildI haven't checked that this works, and I'm also not exactly sure what our production build process is |
Just a guess (probably wrong): maybe this is not dev dependency? Moreover you could automatize the hacky symlinking overriding/adding a Just another (probably pointless) idea: if we weren't using Nix I would say that since we are using |
The hacky stuff was basically what dream2nix's dev shell is supposed to do already (I wasn't aware of that feature until you pointed it out), which is why I suggested we try to use that, but it's behaving strangely as described above.
I don't know how feasible that would be, and I'm also not sure how much time we want to spend on this, need to talk to @samuelWilliams99 |
Plutonomicon/cardano-transaction-lib#956 might be useful |
This is mainly done now, I only have to rewrite current docs that now are obsolete. |
f8f302b
to
e8f45b4
Compare
e8f45b4
to
2ff161a
Compare
I started working on #12 by @Synthetica9 with the goal of nixify the frontend too.