When using a flake with --store, builtins.storeDir contains the wrong path. I ran into this while trying to use lib.fileset.gitTracked in combination with --store. See NixOS/nixpkgs#283843 for the original issue I filed.
@infinisil suggests this should be fixed on the flake side, rather than by adjusting lib.fileset.gitTracked. I don't know how this would play with the other types of stores, since I have only tried the chroot one.
Priorities
Add 👍 to issues you find important.
When using a flake with
--store,builtins.storeDircontains the wrong path. I ran into this while trying to uselib.fileset.gitTrackedin combination with--store. See NixOS/nixpkgs#283843 for the original issue I filed.@infinisil suggests this should be fixed on the flake side, rather than by adjusting
lib.fileset.gitTracked. I don't know how this would play with the other types of stores, since I have only tried thechrootone.Priorities
Add 👍 to issues you find important.