p11-kit: fix tests when non-root
This commit is contained in:
parent
82a14b8569
commit
036ef044fd
|
@ -36,6 +36,13 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# Tests run in fakeroot for non-root users
|
||||
preCheck = ''
|
||||
if [ "$(id -u)" != "0" ]; then
|
||||
export FAKED_MODE=1
|
||||
fi
|
||||
'';
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
installFlags = [
|
||||
|
|
Loading…
Reference in New Issue