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

Create Nix flake for bobaserver #143

Merged
merged 26 commits into from
Jul 10, 2023
Merged

Create Nix flake for bobaserver #143

merged 26 commits into from
Jul 10, 2023

Conversation

essential-randomness
Copy link
Collaborator

No description provided.

db/init.sh Show resolved Hide resolved
flake.nix Outdated Show resolved Hide resolved
flake.nix Outdated Show resolved Hide resolved
flake.nix Show resolved Hide resolved
flake.nix Outdated Show resolved Hide resolved
server/index.ts Outdated Show resolved Hide resolved
flake.nix Outdated
buildPhase = ''
yarn build
'';
distPhase = "";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need this since doDist = false; is set? Will need to check and see.

flake.nix Outdated Show resolved Hide resolved
@@ -1,26 +1,34 @@
#!/usr/bin/env bash
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be worth exporting this script as a package so we can consume it more easily on the server. This would mean the script gets built with psql and want dependencies included.

writeShellApplication would be the tool of choice for this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't psql be the same version as the postgres running on the backend?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes and it will be since we'll set .follows for the flake input.

@essential-randomness essential-randomness merged commit 12baeb2 into main Jul 10, 2023
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

Successfully merging this pull request may close these issues.

2 participants