effc28f6f5
Change-Id: I711f64e2b68495ed9c85c1a4bd5025405805e43a
8 lines
171 B
Nix
8 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
|
|
''
|