Skip to content

Commit 2b3318d

Browse files
committed
overlays: fix trezor GPG signing
1 parent ffd7c01 commit 2b3318d

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

flake.nix

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
#
7878
# to apply this override, we add it to our overlays:
7979
#
80-
# ```nixnix run .#render-workflows
80+
# ```nix
8181
# overlayAttrs = {
8282
# inherit (config.packages) python313;
8383
# };
@@ -121,7 +121,8 @@
121121
fstar-vscode-assistant
122122
libedgetpu
123123
passage
124-
python313
124+
trezor-agent
125+
trezorctl
125126
;
126127
};
127128

@@ -169,11 +170,16 @@
169170
hash = "sha256-1jQCEMeovDjjKukVHaK4xZiBPgZpNQwjvVbrbdeAXrE=";
170171
};
171172
});
172-
"python313" = pkgs.python313.override {
173-
packageOverrides = _: _: {
174-
inherit (nixpkgs-patched.python313Packages) trezor;
173+
"trezorctl" = nixpkgs-patched.trezorctl;
174+
"trezor-agent" =
175+
let
176+
trezor-old-relaxed = pkgs.python3Packages.trezor.overridePythonAttrs (_old: {
177+
pythonRelaxDeps = [ "click" ];
178+
});
179+
in
180+
pkgs.python3Packages.trezor-agent.override {
181+
trezor = trezor-old-relaxed;
175182
};
176-
};
177183

178184
"muro" = flake.nixosConfigurations.muro.config.system.build.kexecTree;
179185
"starlabs" = flake.nixosConfigurations.starlabs.config.system.build.kexecTree;
@@ -281,6 +287,7 @@
281287
in
282288
{
283289

290+
# nix run .#render-workflows
284291
actions-nix = {
285292
defaultValues = {
286293
jobs = {

0 commit comments

Comments
 (0)