From 1dc732710dc41f2de73235df2301034d4aa75302 Mon Sep 17 00:00:00 2001 From: Winder <108935241+NotWinder@users.noreply.github.com> Date: Fri, 22 Aug 2025 07:56:11 +0330 Subject: nix/hm: fix pkg.system missing attr (#433) Co-authored-by: notwinder --- nix/hm-module.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'nix/hm-module.nix') diff --git a/nix/hm-module.nix b/nix/hm-module.nix index c510bfd..9538965 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -4,8 +4,10 @@ self: { lib, ... }: let - cli-default = self.inputs.caelestia-cli.packages.${pkgs.system}.default; - shell-default = self.packages.${pkgs.system}.with-cli; + inherit (pkgs.stdenv.hostPlatform) system; + + cli-default = self.inputs.caelestia-cli.packages.${system}.default; + shell-default = self.packages.${system}.with-cli; cfg = config.programs.caelestia; in { -- cgit v1.2.3-freya