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

Setting up nix is optional for example apps #138

Merged
merged 4 commits into from
Jun 28, 2024

Conversation

emhoracek
Copy link
Contributor

I just did this to make it easier to test out the fixes I made to the Vue scaffolding. I'm new to Nix so I'm not sure it was necessary - maybe there's some other work-around. The problem was that I made a Nix environment so I could build the project, but then I couldn't run my compiled code because it was trying to start a Nix environment inside the Nix environment. So I added this flag so I could tell the example set-up not to setup Nix.

@emhoracek emhoracek force-pushed the hello-world-nix-setup-is-optional branch from 0e9d2c6 to 626ef68 Compare October 29, 2023 17:20
@emhoracek emhoracek changed the base branch from main to develop October 29, 2023 17:21
@emhoracek emhoracek mentioned this pull request Oct 29, 2023
@ThetaSinner ThetaSinner self-requested a review November 1, 2023 17:31
@ThetaSinner ThetaSinner force-pushed the hello-world-nix-setup-is-optional branch from 626ef68 to d828a50 Compare November 3, 2023 16:56
@ThetaSinner ThetaSinner added ShouldBackport/0.1 This change should be backported to develop-0.1 ShouldBackport/0.2 This change should be backported to develop-0.2 labels Nov 3, 2023
@ThetaSinner
Copy link
Collaborator

Is the error you ran into like this? #156

I think this option makes sense. I don't see why we wouldn't allow Nix to be skipped here

@ThetaSinner
Copy link
Collaborator

One small change in two places please. Where the scaffold_web_app function is called, it's currently hard-coded to pass false for the skip_nix parameter. Please could that be replaced with something like !setup_nix.unwrap_or(true).

With that change I think this is good to go :)

@ThetaSinner ThetaSinner force-pushed the hello-world-nix-setup-is-optional branch from d828a50 to f065695 Compare November 21, 2023 14:04
@ThetaSinner ThetaSinner force-pushed the hello-world-nix-setup-is-optional branch from f065695 to 9cd98e1 Compare November 21, 2023 14:24
src/cli.rs Outdated Show resolved Hide resolved
@c12i c12i self-assigned this Jan 24, 2024
@c12i
Copy link
Collaborator

c12i commented Feb 9, 2024

@emhoracek any chance you could give this PR a quick update and tackle the feedback? Happy to get this merged soon.

@c12i c12i self-requested a review June 28, 2024 12:20
@c12i c12i merged commit d01bacc into holochain:develop Jun 28, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ShouldBackport/0.1 This change should be backported to develop-0.1 ShouldBackport/0.2 This change should be backported to develop-0.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants