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

Unable to pass --refresh when switching to a flake #129

Open
xhalo32 opened this issue Oct 9, 2024 · 0 comments
Open

Unable to pass --refresh when switching to a flake #129

xhalo32 opened this issue Oct 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@xhalo32
Copy link

xhalo32 commented Oct 9, 2024

Describe the bug

When running system-manager switch --flake remote_url the remote url is not refreshed. I tried passing --refresh and hoped it would be set for the nix build command, but it wasn't supported.

How to refresh the flake cache when switching to a remote url?

To Reproduce

Steps to reproduce the behavior:

  1. system-manager switch to a remote git repository
  2. Push changes to the repository
  3. system-manager switch again, but new changes are not fetched

Expected behavior

I expect system-manager to support a command line option to refresh the cache.

System information

Ref 8182f9e3374c98a4d7a1ea212ad06b0c453cc290
On x86_64-linux

Additional context

I have a simple fix to the issue in my repository

@xhalo32 xhalo32 added the bug Something isn't working label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant