fix: move claude-desktop-fhs to let block so default can reference it

The packages attrset referenced claude-desktop-fhs for the default
attribute, but without rec the name wasn't in scope. Move the
definition to the let block and use inherit instead.

Co-Authored-By: Claude <claude@anthropic.com>
This commit is contained in:
Alexis Williams
2026-03-30 18:59:00 -07:00
parent a855b484ab
commit 0ce0f24e8c

View File

@@ -15,6 +15,9 @@
claude-desktop = pkgs.callPackage ./nix/claude-desktop.nix {
inherit node-pty;
};
claude-desktop-fhs = pkgs.callPackage ./nix/fhs.nix {
inherit claude-desktop;
};
in {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
@@ -24,10 +27,7 @@
};
packages = {
inherit claude-desktop;
claude-desktop-fhs = pkgs.callPackage ./nix/fhs.nix {
inherit claude-desktop;
};
inherit claude-desktop claude-desktop-fhs;
default = claude-desktop-fhs;
};
};