If the version of Nix that runs nix develop or nix build in the target environment is different to the one that was used to export the Nix packages (source environment), the target env will evaulate the Nix expression to a different store path, and try to download all of the dependencies required to build.
Flakegap needs to deal with this... potentially by shipping a specific version of the Nix executable in the export tar.gz file.
It doesn't show up in the flakegap validation process, because the versions of Nix are identical.
If the version of Nix that runs
nix develop
ornix build
in the target environment is different to the one that was used to export the Nix packages (source environment), the target env will evaulate the Nix expression to a different store path, and try to download all of the dependencies required to build.Flakegap needs to deal with this... potentially by shipping a specific version of the Nix executable in the export tar.gz file.
It doesn't show up in the flakegap validation process, because the versions of Nix are identical.