hostPlatform -> targetPlatform

This commit is contained in:
2026-01-21 15:24:33 -05:00
parent d15ec9fe0b
commit 4bf05f8b51
3 changed files with 4 additions and 3 deletions

View File

@@ -173,7 +173,7 @@
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
hostPlatform = system; targetPlatform = system;
buildPlatform = builtins.currentSystem; buildPlatform = builtins.currentSystem;
}; };
lib = import ./modules/lib.nix { inherit inputs pkgs; }; lib = import ./modules/lib.nix { inherit inputs pkgs; };

View File

@@ -5,7 +5,8 @@
... ...
}: }:
let let
graphing-calculator = inputs.ytbn-graphing-software.packages.${pkgs.stdenv.hostPlatform.system}.web; graphing-calculator =
inputs.ytbn-graphing-software.packages.${pkgs.stdenv.targetPlatform.system}.web;
in in
{ {
services.caddy.virtualHosts."graphing.${service_configs.https.domain}".extraConfig = '' services.caddy.virtualHosts."graphing.${service_configs.https.domain}".extraConfig = ''

View File

@@ -8,7 +8,7 @@
let let
# Create pkgs with nix-minecraft overlay and unfree packages allowed # Create pkgs with nix-minecraft overlay and unfree packages allowed
testPkgs = import inputs.nixpkgs { testPkgs = import inputs.nixpkgs {
system = pkgs.stdenv.hostPlatform.system; system = pkgs.stdenv.targetPlatform.system;
config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "minecraft-server" ]; config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "minecraft-server" ];
overlays = [ overlays = [
inputs.nix-minecraft.overlay inputs.nix-minecraft.overlay