mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-09 03:56:04 +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 =
|
nmt.script =
|
||||||
let
|
let
|
||||||
binPath =
|
binPath =
|
||||||
if pkgs.hostPlatform.isDarwin then
|
if pkgs.stdenv.hostPlatform.isDarwin then
|
||||||
"Applications/${cfg.darwinAppName}.app/Contents/MacOS"
|
"Applications/${cfg.darwinAppName}.app/Contents/MacOS"
|
||||||
else
|
else
|
||||||
"bin";
|
"bin";
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ in
|
||||||
nmt.script =
|
nmt.script =
|
||||||
let
|
let
|
||||||
binPath =
|
binPath =
|
||||||
if pkgs.hostPlatform.isDarwin then
|
if pkgs.stdenv.hostPlatform.isDarwin then
|
||||||
"Applications/${cfg.darwinAppName}.app/Contents/MacOS"
|
"Applications/${cfg.darwinAppName}.app/Contents/MacOS"
|
||||||
else
|
else
|
||||||
"bin";
|
"bin";
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ in
|
||||||
nmt.script =
|
nmt.script =
|
||||||
let
|
let
|
||||||
binPath =
|
binPath =
|
||||||
if pkgs.hostPlatform.isDarwin then
|
if pkgs.stdenv.hostPlatform.isDarwin then
|
||||||
"Applications/${cfg.darwinAppName}.app/Contents/MacOS"
|
"Applications/${cfg.darwinAppName}.app/Contents/MacOS"
|
||||||
else
|
else
|
||||||
"bin";
|
"bin";
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ in
|
||||||
{
|
{
|
||||||
imports = [ firefoxMockOverlay ];
|
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";
|
home.stateVersion = "19.09";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue