nixgl: remove alias (#7218)

https: //github.com/nix-community/home-manager/issues/6995

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman
2025-06-05 22:02:07 -05:00
committed by GitHub
parent 355c7d09ed
commit 91287a0e9d

View File

@@ -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