From 91287a0e9d42570754487b7e38c6697e15a9aab2 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 5 Jun 2025 22:02:07 -0500 Subject: [PATCH] nixgl: remove alias (#7218) https: //github.com/nix-community/home-manager/issues/6995 Signed-off-by: Austin Horstman --- modules/misc/nixgl.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/misc/nixgl.nix b/modules/misc/nixgl.nix index 37308ec5c..fc66d4e24 100644 --- a/modules/misc/nixgl.nix +++ b/modules/misc/nixgl.nix @@ -163,8 +163,8 @@ in # NixGL is imported. # # First, let's see if we have a flake. - if builtins.hasAttr pkgs.system cfg.packages then - cfg.packages.${pkgs.system}.${packageAttr} + if builtins.hasAttr pkgs.stdenv.hostPlatform.system cfg.packages then + cfg.packages.${pkgs.stdenv.hostPlatform.system}.${packageAttr} else # Next, let's see if we have a channel. if builtins.hasAttr packageAttr cfg.packages then