mirror of
https://cgit.krebsco.de/krops
synced 2025-01-11 03:29:55 +01:00
pass: does not depend on proper $PATH variable.
This commit is contained in:
parent
5ae2b7f369
commit
1194534c63
2 changed files with 3 additions and 3 deletions
|
@ -4,5 +4,5 @@ in
|
|||
|
||||
self: super: {
|
||||
krops = self.callPackage ./krops {};
|
||||
populate = self.callPackage ./populate {};
|
||||
populate = self.callPackage ./populate { passwordstore = super.pass; };
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
with import ../../lib;
|
||||
with shell;
|
||||
|
||||
{ coreutils, dash, findutils, git, jq, openssh, rsync, writeDash }:
|
||||
{ passwordstore, coreutils, dash, findutils, git, jq, openssh, rsync, writeDash }:
|
||||
|
||||
let
|
||||
check = { force, target }: let
|
||||
|
@ -72,7 +72,7 @@ let
|
|||
tmp_path=$tmp_dir/$rel_name
|
||||
|
||||
${coreutils}/bin/mkdir -p "$(${coreutils}/bin/dirname "$tmp_path")"
|
||||
PASSWORD_STORE_DIR=${quote pass.dir} pass show "$pass_name" > "$tmp_path"
|
||||
PASSWORD_STORE_DIR=${quote pass.dir} ${passwordstore}/bin/pass show "$pass_name" > "$tmp_path"
|
||||
${coreutils}/bin/touch -d "$pass_date" "$tmp_path"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue