From e575a147cdb7803e164a40d40922fd7fff4ff580 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sat, 14 Feb 2026 11:03:43 +0100 Subject: [PATCH] pinwheel: Fix `pants` use of `system` --- hosts/pinwheel/modules/work/pants.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hosts/pinwheel/modules/work/pants.nix b/hosts/pinwheel/modules/work/pants.nix index d27744c..cabf3f9 100644 --- a/hosts/pinwheel/modules/work/pants.nix +++ b/hosts/pinwheel/modules/work/pants.nix @@ -1,5 +1,4 @@ { - system, pkgs, lib, ... @@ -11,7 +10,7 @@ let match = v: l: builtins.elemAt (lib.lists.findFirst (x: (if_let v (builtins.elemAt x 0)) != null) null l) 1; - package = match { platform = system; } [ + package = match { platform = pkgs.stdenv.hostPlatform.system; } [ [ { platform = "aarch64-linux"; } {