lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

ibm-sw-tpm2: Fix build on RISC-V

+10 -1
+10 -1
pkgs/tools/security/ibm-sw-tpm2/default.nix
··· 1 - { stdenv, fetchurl, lib, openssl }: 1 + { stdenv, fetchurl, fetchpatch, lib, openssl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ibm-sw-tpm2"; ··· 8 8 url = "mirror://sourceforge/ibmswtpm2/ibmtpm${version}.tar.gz"; 9 9 sha256 = "sha256-VRRZKK0rJPNL5qDqz5+0kuEODqkZuEKMch+pcOhdYUc="; 10 10 }; 11 + 12 + patches = [ 13 + (fetchpatch { 14 + url = "https://github.com/kgoldman/ibmswtpm2/commit/e6684009aff9c1bad38875e3319c2e02ef791424.patch"; 15 + sha256 = "1flzlri807c88agmpb0w8xvh5f16mmqv86xw4ic4z272iynzd40j"; 16 + }) 17 + ]; 18 + 19 + patchFlags = [ "-p2" ]; 11 20 12 21 buildInputs = [ openssl ]; 13 22