Loading pkgs/by-name/tb/tboot/package.nix +7 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,13 @@ stdenv.mkDerivation rec { substituteInPlace docs/Makefile --replace /usr/share /share ''; postPatch = '' # compute the allocated size from the pointed type, to avoid the warning substituteInPlace lcptools-v2/pconf_legacy.c \ --replace-fail "digest = malloc(SHA1_DIGEST_SIZE);" \ "digest = malloc(sizeof *digest);" ''; installFlags = [ "DESTDIR=$(out)" ]; meta = with lib; { Loading Loading
pkgs/by-name/tb/tboot/package.nix +7 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,13 @@ stdenv.mkDerivation rec { substituteInPlace docs/Makefile --replace /usr/share /share ''; postPatch = '' # compute the allocated size from the pointed type, to avoid the warning substituteInPlace lcptools-v2/pconf_legacy.c \ --replace-fail "digest = malloc(SHA1_DIGEST_SIZE);" \ "digest = malloc(sizeof *digest);" ''; installFlags = [ "DESTDIR=$(out)" ]; meta = with lib; { Loading