You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title says, post-build-hook will be run with OUTPUT_PATHS set but empty after a successful nix build. DRV_PATH is set non-empty.
Steps To Reproduce
We observed this in an unchanged GitHub CI setup with Cachix install-nix-action once it updated from 2.7.0 to 2.8.0. With 2.8.0 installed, you can see the bug by, setting a simple build-hook script, e.g. "build-hook.sh":
Describe the bug
As the title says, post-build-hook will be run with
OUTPUT_PATHS
set but empty after a successful nix build. DRV_PATH is set non-empty.Steps To Reproduce
We observed this in an unchanged GitHub CI setup with Cachix install-nix-action once it updated from 2.7.0 to 2.8.0. With 2.8.0 installed, you can see the bug by, setting a simple build-hook script, e.g. "build-hook.sh":
and then running one of:
or
Results look like:
Where the OUTPUT_PATHS line unexpectedly has an empty value.
nix-env --version
outputAdditional context
First commented here in #5694 but this seems to be a different issue. #6311 may be related.
The text was updated successfully, but these errors were encountered: