forked from lix-project/lix
9 lines
171 B
Nix
9 lines
171 B
Nix
{ runCommand }:
|
|
runCommand "cant-get-root-in-sandbox" {} ''
|
|
if /run/wrappers/bin/ohno; then
|
|
echo "Oh no! We're root in the sandbox!"
|
|
exit 1
|
|
fi
|
|
touch $out
|
|
''
|