fix pkgs.system deprecation
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
graphing-calculator = inputs.ytbn-graphing-software.packages.${pkgs.system}.web;
|
graphing-calculator = inputs.ytbn-graphing-software.packages.${pkgs.stdenv.hostPlatform.system}.web;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.caddy.virtualHosts."graphing.${service_configs.https.domain}".extraConfig = ''
|
services.caddy.virtualHosts."graphing.${service_configs.https.domain}".extraConfig = ''
|
||||||
|
|||||||
@@ -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.system;
|
system = pkgs.stdenv.hostPlatform.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
|
||||||
|
|||||||
Reference in New Issue
Block a user