tarsnap: 1.0.39 -> 1.0.40

This commit is contained in:
Markus S. Wamser 2022-02-13 19:43:52 +01:00
parent da210873db
commit a14e2731df

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, openssl, zlib, e2fsprogs }:
{ lib, stdenv, fetchurl, openssl, zlib, e2fsprogs, bash }:
let
zshCompletion = fetchurl {
@ -8,11 +8,11 @@ let
in
stdenv.mkDerivation rec {
pname = "tarsnap";
version = "1.0.39";
version = "1.0.40";
src = fetchurl {
url = "https://www.tarsnap.com/download/tarsnap-autoconf-${version}.tgz";
sha256 = "10i0whbmb345l2ggnf4vs66qjcyf6hmlr8f4nqqcfq0h5a5j24sn";
sha256 = "1mbzq81l4my5wdhyxyma04sblr43m8p7ryycbpi6n78w1hwfbjmw";
};
preConfigure = ''
@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
patchPhase = ''
substituteInPlace Makefile.in \
--replace "command -p mv" "mv"
substituteInPlace configure \
--replace "command -p getconf PATH" "echo $PATH"
'';
postInstall = ''