From 2282b31fa133b93b868ba95e5874f9aeae4aa80f Mon Sep 17 00:00:00 2001 From: Defelo Date: Tue, 4 Nov 2025 15:49:40 +0100 Subject: [PATCH] fix: `pkgs.system` -> `pkgs.stdenv.hostPlatform.system` --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 24550d3..d60c370 100644 --- a/flake.nix +++ b/flake.nix @@ -27,7 +27,7 @@ { overlays.nixpkgs-review = final: prev: { - inherit (nixpkgs-review.packages.${final.system}) nixpkgs-review; + inherit (nixpkgs-review.packages.${final.stdenv.hostPlatform.system}) nixpkgs-review; }; legacyPackages = eachSystem lib.id; @@ -46,7 +46,7 @@ inherit (pkgs) nixpkgs-review; fmt = pkgs.runCommandNoCCLocal "fmt-check" { } '' cp -r --no-preserve=mode ${self} repo - ${lib.getExe self.formatter.${pkgs.system}} -C repo --ci + ${lib.getExe self.formatter.${pkgs.stdenv.hostPlatform.system}} -C repo --ci touch $out ''; });