pinwheel: Fix pants use of system

This commit is contained in:
Alexander Heldt
2026-02-14 11:03:43 +01:00
parent 7653bfce22
commit e575a147cd

View File

@@ -1,5 +1,4 @@
{ {
system,
pkgs, pkgs,
lib, lib,
... ...
@@ -11,7 +10,7 @@ let
match = match =
v: l: builtins.elemAt (lib.lists.findFirst (x: (if_let v (builtins.elemAt x 0)) != null) null l) 1; 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"; } { platform = "aarch64-linux"; }
{ {