mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
Merge pull request #145521 from SuperSandro2000/swtpm
swtpm: change prePatch to postPatch
This commit is contained in:
commit
7e0d135480
@ -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 New Issue
Block a user