From 0c3b6f7e23a67e71da470652b51a492e654c2caa Mon Sep 17 00:00:00 2001 From: Skyler Grey Date: Fri, 2 Jan 2026 10:43:56 +0000 Subject: [PATCH] chore(pm): replace pkgs.system uses Change-Id: xmwrwntzskmorymnkrrppqmotowwnnqv For fixing the warning > trace: evaluation warning: 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system' --- packetmix/packages/josh/default.nix | 4 ++-- packetmix/packages/opensearch/default.nix | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packetmix/packages/josh/default.nix b/packetmix/packages/josh/default.nix index dc4e4b5e..35fedb7e 100644 --- a/packetmix/packages/josh/default.nix +++ b/packetmix/packages/josh/default.nix @@ -6,8 +6,8 @@ config.packages.josh = { systems = [ "x86_64-linux" ]; package = - { system, rustPlatform, ... }: - config.inputs.nixos-unstable.result.${system}.josh.overrideAttrs { + { stdenv, rustPlatform, ... }: + config.inputs.nixos-unstable.result.${stdenv.hostPlatform.system}.josh.overrideAttrs { src = config.inputs.josh.result; cargoDeps = rustPlatform.fetchCargoVendor { diff --git a/packetmix/packages/opensearch/default.nix b/packetmix/packages/opensearch/default.nix index 63ded346..84bed527 100644 --- a/packetmix/packages/opensearch/default.nix +++ b/packetmix/packages/opensearch/default.nix @@ -7,7 +7,6 @@ systems = [ "x86_64-linux" ]; package = { - system, opensearch, jdk11_headless, ... -- 2.43.0