Hi folks,
I recently updated NixOS 24.05 to 24.11 which also updated nix
to 2.24.12
and I started having a problem.
In 24.05 I’d execute:
nix flake update /foo/bar/my/repo
Now in 24.11, I need to use
nix flake update --flake /foo/bar/my/repo
But I get:
...
while updating the flake input 'foo_bar'
...
error: path '/some/thing' is a symlink
And that’s correct. The foo_bar
input is a symlink, and I’d like to keep it that way.
At this moment my workaround is to run the following:
nix run nixpkgs/nixos-24.05#nix flake update /foo/bar/my/repo
But obviously, that is not the right thing to do…
Could you please tell me if there is another workaround?
Thank you.