This website requires JavaScript.
Explore
Help
Sign in
cafkafk
/
lix
Watch
1
Star
0
Fork
You've already forked lix
0
Code
Issues
Pull requests
1
Projects
Releases
Packages
Wiki
Activity
Actions
700762d8b2
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 21:28:36 +02: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 15:41:39 +02:00
exec
nix-daemon --force-untrusted
"
$@
"
Reference in a new issue
Copy permalink