I have a single
flake.nix which has multiple “packages” in the outputs.
One package, lets call it
a lives in a subdirectory and does not need anything from outside of this folder.
The other package
b depends on it.
flake.nix and add an environment variable to
mkDerivation or even any file that only belongs to
a now gets rebuild.
Is there a way to not have
a rebuild when unrelated files change?
I was thinking about moving
a into its own flake, though that again would make development unnecessarily complex, as the dev-environment assumes that
a resides within that particular subdir and does not follow symlinks…
Also it feels wrong to have
a in its own flake, as it has no “worth” of it allone. It is just some websites assets.