1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00

tests: hostPlatform -> stdenv.hostPlatform

This commit is contained in:
Benedikt Rips 2025-11-03 12:11:23 +01:00 committed by Austin Horstman
parent b5ed4afc22
commit 2318e30ea1
4 changed files with 4 additions and 4 deletions

View file

@ -39,7 +39,7 @@ in
nmt.script =
let
binPath =
if pkgs.hostPlatform.isDarwin then
if pkgs.stdenv.hostPlatform.isDarwin then
"Applications/${cfg.darwinAppName}.app/Contents/MacOS"
else
"bin";

View file

@ -39,7 +39,7 @@ in
nmt.script =
let
binPath =
if pkgs.hostPlatform.isDarwin then
if pkgs.stdenv.hostPlatform.isDarwin then
"Applications/${cfg.darwinAppName}.app/Contents/MacOS"
else
"bin";

View file

@ -37,7 +37,7 @@ in
nmt.script =
let
binPath =
if pkgs.hostPlatform.isDarwin then
if pkgs.stdenv.hostPlatform.isDarwin then
"Applications/${cfg.darwinAppName}.app/Contents/MacOS"
else
"bin";

View file

@ -13,7 +13,7 @@ in
{
imports = [ firefoxMockOverlay ];
config = lib.mkIf (config.test.enableBig && !pkgs.hostPlatform.isDarwin) (
config = lib.mkIf (config.test.enableBig && !pkgs.stdenv.hostPlatform.isDarwin) (
{
home.stateVersion = "19.09";
}