From 0ce0f24e8c2396ea1f0c2420e23b1cb36e846350 Mon Sep 17 00:00:00 2001 From: Alexis Williams Date: Mon, 30 Mar 2026 18:59:00 -0700 Subject: [PATCH] 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 --- flake.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 0f050c5..57e7b21 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }; };