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

nix: add flake #6

Merged
merged 5 commits into from
Jul 25, 2024
Merged

nix: add flake #6

merged 5 commits into from
Jul 25, 2024

Conversation

disassembler
Copy link
Contributor

This adds a process-compose that can start everything up with just nix run .#.

Needs hydra-control-plane to be public to merge. Currently need to modify flake.nix to point to your hydra-control-plane checkout and run:

nix flake lock --update-input hydra-control-plane

@ch1bo
Copy link
Member

ch1bo commented Jul 24, 2024

@disassembler disassembler changed the title WIP: nix: add flake nix: add flake Jul 24, 2024
flake.nix Outdated
name = "hydra-doom-wrapper";
runtimeInputs = [config.packages.bech32 pkgs.jq pkgs.git pkgs.nodejs];
text = ''
ln -sf ${config.packages.doom-wasm}/websockets-doom.html assets/websockets-doom.html
Copy link
Member

Choose a reason for hiding this comment

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

This is not needed

flake-parts.url = "github:hercules-ci/flake-parts";
process-compose-flake.url = "github:Platonic-Systems/process-compose-flake";
hydra-control-plane.url = "github:cardano-scaling/hydra-control-plane";
doom-wasm.url = "github:cardano-scaling/doom-wasm/sl/build-wasm";
Copy link
Member

Choose a reason for hiding this comment

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

@disassembler shall we merge that branch?

@ch1bo ch1bo merged commit e2c0164 into main Jul 25, 2024
SupernaviX pushed a commit to SupernaviX/hydra-doom that referenced this pull request Nov 23, 2024
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