This website requires JavaScript.
Explore
Help
Sign In
lix-project
/
lix
Watch
20
Star
58
Fork
You've already forked lix
31
Code
Issues
355
Code Review (Gerrit)
Projects
3
Releases
Wiki
Activity
1ed0814859
lix
/
tests
/
functional
/
nix-daemon-untrusting.sh
4 lines
60 B
Bash
Raw
Normal View
History
Unescape
Escape
change shebangs of all .sh scripts to bash On operating systems where /bin/sh is not Bash, some scripts are invalid because of bashisms, and building Lix fails with errors like this: `render-manpage.sh: 3: set: Illegal option -o pipefail` This modifies all scripts that use a `/bin/sh` shebang to `/usr/bin/env bash`, including currently POSIX-compliant ones, to prevent any future confusion. Change-Id: Ia074cc6db42d40fc59a63726f6194ea0149ea5e0
2024-06-24 19:28:36 +00:00
#!/usr/bin/env bash
Experimentally allow forcing `nix-daemon` trust; use this to test We finally test the status quo of remote build trust in a number of ways. We create a new experimental feature on `nix-daemon` to do so. PR #3921, which improves the situation with trustless remote building, will build upon these changes. This code / tests was pull out of there to make this, so everything is easier to review, and in particular we test before and after so the new behavior in that PR is readily apparent from the testsuite diff alone.
2023-04-17 13:41:39 +00:00
exec
nix-daemon --force-untrusted
"
$@
"
Reference in a new issue
Copy permalink