Merge pull request #145521 from SuperSandro2000/swtpm
swtpm: change prePatch to postPatch
This commit is contained in:
commit
7e0d135480
1 changed files with 2 additions and 1 deletions
|
@ -33,6 +33,7 @@ stdenv.mkDerivation rec {
|
|||
perl # for pod2man
|
||||
autoreconfHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libtpms
|
||||
openssl libtasn1 libseccomp
|
||||
|
@ -45,7 +46,7 @@ stdenv.mkDerivation rec {
|
|||
"--localstatedir=/var"
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
postPatch = ''
|
||||
# Makefile tries to create the directory /var/lib/swtpm-localca, which fails
|
||||
substituteInPlace samples/Makefile.am \
|
||||
--replace 'install-data-local:' 'do-not-execute:'
|
||||
|
|
Loading…
Reference in a new issue