Merge pull request #141919 from Luflosi/update/swtpm

swtpm: 0.6.0 -> 0.6.1
This commit is contained in:
Bobby Rong 2021-11-04 18:07:30 +08:00 committed by GitHub
commit 9d7df9dcc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,13 +12,13 @@
stdenv.mkDerivation rec {
pname = "swtpm";
version = "0.6.0";
version = "0.6.1";
src = fetchFromGitHub {
owner = "stefanberger";
repo = "swtpm";
rev = "v${version}";
sha256 = "sha256-7YzdwGAGECj7PhaCOf/dLSILPXqtbylCkN79vuFBw5Y=";
sha256 = "sha256-iy8xjKnPLq1ntZa9x+KtLDznzu6m+1db3NPeGQESUVo=";
};
patches = [
@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
];
prePatch = ''
# Makefile tries to create the directory /var/lib/swtpm-localcafor, which fails
# Makefile tries to create the directory /var/lib/swtpm-localca, which fails
substituteInPlace samples/Makefile.am \
--replace 'install-data-local:' 'do-not-execute:'