mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03:00
duply: add missing dependency to which
This commit is contained in:
parent
5409201b64
commit
df808a9c37
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, coreutils, python, duplicity, gawk, gnupg1, bash
|
||||
, gnugrep, txt2man, makeWrapper
|
||||
, gnugrep, txt2man, makeWrapper, which
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@ -20,7 +20,7 @@ stdenv.mkDerivation {
|
||||
sed -i 's|/usr/bin/env bash|${bash}/bin/bash|' duply
|
||||
mv duply "$out/bin"
|
||||
wrapProgram "$out/bin/duply" --set PATH \
|
||||
"${coreutils}/bin:${python}/bin:${duplicity}/bin:${gawk}/bin:${gnupg1}/bin:${bash}/bin:${gnugrep}/bin:${txt2man}/bin"
|
||||
"${coreutils}/bin:${python}/bin:${duplicity}/bin:${gawk}/bin:${gnupg1}/bin:${bash}/bin:${gnugrep}/bin:${txt2man}/bin:${which}/bin"
|
||||
"$out/bin/duply" txt2man | gzip -c > "$out/share/man/man1/duply.1.gz"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user