about summary refs log tree commit diff
diff options
context:
space:
mode:
authorrewine <luhongxu@deepin.org>2023-08-01 17:52:35 +0800
committerrewine <luhongxu@deepin.org>2023-08-01 18:01:18 +0800
commit6fbb653d0e1382a87f24b883a5322db201d21c7e (patch)
tree2c3fe8bfe9d24fb06aa25cbecdde01253d3f758f
parent9278b39e9012cb85ea41e578697caa873282d0bb (diff)
nixosTests.terminal-emulators: deprecated `machine' attribute by `nodes.machine'
-rw-r--r--nixos/tests/terminal-emulators.nix2
-rw-r--r--pkgs/desktops/deepin/apps/deepin-terminal/default.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/terminal-emulators.nix b/nixos/tests/terminal-emulators.nix
index b97394194a228..6d76cc8e57412 100644
--- a/nixos/tests/terminal-emulators.nix
+++ b/nixos/tests/terminal-emulators.nix
@@ -123,7 +123,7 @@ in mapAttrs (name: { pkg, executable ? name, cmd ? "SHELL=$command ${executable}
     maintainers = [ jjjollyjim ];
   };
 
-  machine = { pkgsInner, ... }:
+  nodes.machine = { pkgsInner, ... }:
 
   {
     imports = [ ./common/x11.nix ./common/user-account.nix ];
diff --git a/pkgs/desktops/deepin/apps/deepin-terminal/default.nix b/pkgs/desktops/deepin/apps/deepin-terminal/default.nix
index da6d12cd6ac4b..5caa37bfeadd7 100644
--- a/pkgs/desktops/deepin/apps/deepin-terminal/default.nix
+++ b/pkgs/desktops/deepin/apps/deepin-terminal/default.nix
@@ -2,6 +2,7 @@
 , lib
 , fetchFromGitHub
 , fetchpatch
+, nixosTests
 , dtkwidget
 , qt5integration
 , qt5platform-plugins
@@ -17,7 +18,6 @@
 , libsecret
 , chrpath
 , lxqt
-, nixosTests
 }:
 
 stdenv.mkDerivation rec {