Closed GTrunSec closed 11 months ago
Is there a way this can be resolved specifically via package priority instead? It is clear that a more special /bin/entrypoint
from mkDevOCI
should have a higher priority than the generic /bin/entrypoint
from mkOCI
.
Deviating the code-path from buildEnv
might have the unintended side effect of not properly managing priorities in other cases where that behaviour is intended.
In other words, this fix breaks the API and I'd prefer one that doesn't.
It's working!
nix.conf
cat /etc/nix.conf
sandbox = false
accept-flake-config = true
experimental-features = nix-command flakes
fixes: #333
It appears that putting those two stages together would result in the entrypoints being overwritten.