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

Add possibility to use fakedroid from outside the repo #275

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gerschtli
Copy link
Collaborator

Resolves #274

@Gerschtli Gerschtli requested a review from t184256 July 13, 2023 21:37
@Gerschtli Gerschtli marked this pull request as draft July 14, 2023 09:37
@@ -38,4 +38,5 @@ pkgs.runCommand
--subst-var-by prootTest "${bootstrap.customPkgs.prootTermuxTest}" \
--subst-var-by installationDir "${bootstrap.config.build.installationDir}" \
--subst-var-by homeDir "${bootstrap.config.user.home}" \
--subst-var-by flakeRootDir "${toString ../.}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will that make fakedroid ignore uncommitted changes and always build environment from the commit it itself is built from?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It will build with all changes tracked by git. Behaves the same as every other interaction with flakes in git repositories.

@t184256
Copy link
Collaborator

t184256 commented Jul 14, 2023

Seems to work OK. Not sure I'm a fan of it always using the repo/commit it's built from, hope it won't bring confusion.

@Gerschtli
Copy link
Collaborator Author

I tried to find a solution to keep the current behaviour but couldn't find a way..

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.

Way to run fakedroid from users's flake
2 participants