mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
tests: hostPlatform -> stdenv.hostPlatform
This commit is contained in:
parent
b5ed4afc22
commit
2318e30ea1
4 changed files with 4 additions and 4 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue