Merge pull request #278099 from jonathanlking/fix/p11-kit-meson-regression

This commit is contained in:
Artturi 2024-01-27 03:11:10 +02:00 committed by GitHub
commit 4757f0e68d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,6 +73,13 @@ stdenv.mkDerivation rec {
--replace 'install_dir: prefix / p11_system_config' "install_dir: '$out/etc/pkcs11'"
'';
preCheck = ''
# Tests run in fakeroot for non-root users (with Nix single-user install)
if [ "$(id -u)" != "0" ]; then
export FAKED_MODE=1
fi
'';
meta = with lib; {
description = "Library for loading and sharing PKCS#11 modules";
longDescription = ''