Skip to content

add flag to refresh the flake #1112

@wucke13

Description

@wucke13

I'm currently tinkering with a disko setup, via a flake in a git repo. I'm logged in on the target machine via ssh and trigger sudo disko-install -f git+https://... with a git based flake url, while ammending the last commit on a dev branch of that git repo using another computer.

However, flake caching hits me, disko does not each time re-fetch the flake. To manually trigger a refetch, I run sudo nix flake show --extra-experimental-features 'nix-command flakes' --refresh git+https://... in between. The sudo in the second command is needed, as individual users have individual flake eval caches AFAICT. It would be really nice to have flag for disko-install (and disko?) to directly opt-out of flake caching; in these cases the cache is more of an anti-feature IMHO.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions