Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SelfTest is throwing a ShellFailed error #136

Open
flexiondotorg opened this issue Jan 24, 2025 · 0 comments
Open

SelfTest is throwing a ShellFailed error #136

flexiondotorg opened this issue Jan 24, 2025 · 0 comments

Comments

@flexiondotorg
Copy link
Member

During the installation of Determinate Nix via the action, the SelfTest is failing. Here's a log capturing the error:

Installing Determinate Nix using the --determinate flag
/home/runner/work/_temp/nix-installer-0685cae1-1701-42cb-9ef2-6a0d947ffbad/nix-installer install linux --determinate
 INFO nix-installer v0.34.0
`nix-installer` needs to run as `root`, attempting to escalate now via `sudo`...
 INFO nix-installer v0.34.0
 INFO Step: Create directory `/nix`
 INFO Step: Install Determinate Nixd
 INFO Step: Provision Nix
Received 35441700 of 35441700 (100.0%), 16.9 MBs/sec
 INFO Step: Create build users (UID 30001-30032) and group (GID 30000)
 INFO Step: Configure Nix
 INFO Step: Create directory `/etc/tmpfiles.d`
 INFO Step: Configure the Determinate Nix daemon
 INFO Step: Remove directory `/nix/temp-install-dir`
 WARN SelfTest([ShellFailed { shell: Sh, command: "\"sh\" \"-lc\" \"nix build --option substitute false --no-link --expr \\'derivation { name = \\\"self-test-sh-1737643290519\\\"; system = \\\"x86_64-linux\\\"; builder = \\\"/bin/sh\\\"; args = [\\\"-c\\\" \\\"echo hello > \\\\$out\\\"]; }\\'\"", output: Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "this derivation will be built:\n  /nix/store/1ksz3dqmz8gisnigyy5ag1g7l6b8s273-self-test-sh-1737643290519.drv\nbuilding '/nix/store/1ksz3dqmz8gisnigyy5ag1g7l6b8s273-self-test-sh-1737643290519.drv'...\nerror: program '/nix/var/determinate/post-build-hook.sh' failed with exit code 1\n" } }, ShellFailed { shell: Bash, command: "\"bash\" \"-lc\" \"nix build --option substitute false --no-link --expr \\'derivation { name = \\\"self-test-bash-1737643290661\\\"; system = \\\"x86_64-linux\\\"; builder = \\\"/bin/sh\\\"; args = [\\\"-c\\\" \\\"echo hello > \\\\$out\\\"]; }\\'\"", output: Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "this derivation will be built:\n  /nix/store/zkmbwy2wpgxv4ljqf0zi01frqpklxw4x-self-test-bash-1737643290661.drv\nbuilding '/nix/store/zkmbwy2wpgxv4ljqf0zi01frqpklxw4x-self-test-bash-1737643290661.drv'...\nerror: program '/nix/var/determinate/post-build-hook.sh' failed with exit code 1\n" } }])
Nix was installed successfully!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant