configuration/packages/gopass-env.nix

16 lines
291 B
Nix
Raw Permalink Normal View History

2023-07-10 22:19:02 +00:00
{ resholve
# Dependencies
, bash
, gopass-await
}:
2023-11-28 17:46:03 +00:00
let
inherit (builtins) readFile;
in
2023-07-10 22:19:02 +00:00
resholve.writeScriptBin "gopass-env" {
interpreter = "${bash}/bin/bash";
inputs = [ gopass-await ];
execer = [ "cannot:${gopass-await}/bin/gopass-await" ];
2023-11-28 17:46:03 +00:00
} (readFile ./resources/gopass-env)