Skip to content

Commit 5f09ec9

Browse files
committed
tools.pass: nix fmt
1 parent 46006e6 commit 5f09ec9

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

tools/pass/flake-module.nix

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,24 @@
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
{

0 commit comments

Comments
 (0)