File tree Expand file tree Collapse file tree 1 file changed +18
-17
lines changed
Expand file tree Collapse file tree 1 file changed +18
-17
lines changed Original file line number Diff line number Diff line change 1010 packages . pass = self . wrapLib . makeWrapper {
1111 pkgs = pkgs ;
1212 package = pkgs . passage ;
13- runtimeInputs =
14- [
15- pkgs . age-plugin-fido2-hmac
16- pkgs . age-plugin-yubikey
17- pkgs . age-plugin-tpm
18- self . packages . ${ system } . pass-otp
19- self . packages . ${ system } . age-detect
20- ]
21- ++ ( pkgs . lib . optionals pkgs . stdenv . isDarwin [
22- pkgs . age-plugin-se
23- ] )
24- ++ ( pkgs . lib . optionals ( ! pkgs . stdenv . isDarwin ) [
25- # Dummy age-plugin-se for Linux (encryption only, no Secure Enclave hardware)
26- ( pkgs . writeShellScriptBin "age-plugin-se" ''
27- exec env PYTHONUNBUFFERED=1 ${ pkgs . python3 . withPackages ( ps : [ ps . cryptography ] ) } /bin/python3 ${ ./age-plugin-se-dummy.py } "$@"
28- '' )
29- ] ) ;
13+ runtimeInputs = [
14+ pkgs . age-plugin-fido2-hmac
15+ pkgs . age-plugin-yubikey
16+ pkgs . age-plugin-tpm
17+ self . packages . ${ system } . pass-otp
18+ self . packages . ${ system } . age-detect
19+ ]
20+ ++ ( pkgs . lib . optionals pkgs . stdenv . isDarwin [
21+ pkgs . age-plugin-se
22+ ] )
23+ ++ ( pkgs . lib . optionals ( ! pkgs . stdenv . isDarwin ) [
24+ # Dummy age-plugin-se for Linux (encryption only, no Secure Enclave hardware)
25+ ( pkgs . writeShellScriptBin "age-plugin-se" ''
26+ exec env PYTHONUNBUFFERED=1 ${
27+ pkgs . python3 . withPackages ( ps : [ ps . cryptography ] )
28+ } /bin/python3 ${ ./age-plugin-se-dummy.py } "$@"
29+ '' )
30+ ] ) ;
3031 aliases = [ "pass" ] ;
3132 wrapper =
3233 {
You can’t perform that action at this time.
0 commit comments