Does nix have a function that can be used to run shell commands during evaluation phase? (or a general purpose
What environment does nix use when evaluating a derivation? (chroot/normal shell)
If a local file/directory is specified as the build input of a derivation, that file/directory is copied over to nix store and that copy is provided to the builder. Instead I want to use the output of a shell script i’ve written(which uses some local files as input) to be used as the build input of my derivation.