Merge pull request #141771 from Luflosi/improve-swtpm-for-libvirt

authored by

Artturi and committed by
GitHub
e673b894 cb10e4dd

+13
+13
pkgs/tools/security/swtpm/default.nix
··· 42 42 43 43 configureFlags = [ 44 44 "--with-cuse" 45 + "--localstatedir=/var" 45 46 ]; 47 + 48 + prePatch = '' 49 + # Makefile tries to create the directory /var/lib/swtpm-localcafor, which fails 50 + substituteInPlace samples/Makefile.am \ 51 + --replace 'install-data-local:' 'do-not-execute:' 52 + 53 + # Use the correct path to the certtool binary 54 + # instead of relying on it being in the environment 55 + substituteInPlace samples/swtpm_localca.c --replace \ 56 + '# define CERTTOOL_NAME "certtool"' \ 57 + '# define CERTTOOL_NAME "${gnutls}/bin/certtool"' 58 + ''; 46 59 47 60 enableParallelBuilding = true; 48 61