summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorWinder <108935241+NotWinder@users.noreply.github.com>2025-08-22 07:56:11 +0330
committerGitHub <noreply@github.com>2025-08-22 14:26:11 +1000
commit1dc732710dc41f2de73235df2301034d4aa75302 (patch)
tree2a1d1194d6212e3945e8a672b3f401ee41ed3b74 /nix
parentnix/hm: fix type of settings and cli.settings (#456) (diff)
downloadcaelestia-shell-1dc732710dc41f2de73235df2301034d4aa75302.tar.gz
caelestia-shell-1dc732710dc41f2de73235df2301034d4aa75302.tar.bz2
caelestia-shell-1dc732710dc41f2de73235df2301034d4aa75302.zip
nix/hm: fix pkg.system missing attr (#433)
Co-authored-by: notwinder <winderdawshmaster@gmail.com>
Diffstat (limited to 'nix')
-rw-r--r--nix/hm-module.nix6
1 files changed, 4 insertions, 2 deletions
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 {