Merge pull request #159877 from wamserma/tarsnap-1.0.40

tarsnap: 1.0.39 -> 1.0.40
This commit is contained in:
Renaud 2022-02-17 09:11:15 +01:00 committed by GitHub
commit bca2c20339
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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