mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-27 14:34:33 +00:00
Merge pull request #278099 from jonathanlking/fix/p11-kit-meson-regression
This commit is contained in:
commit
4757f0e68d
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user