summary refs log tree commit diff
path: root/tests/firefox.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-09-04 13:05:09 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-09-04 13:05:09 +0200
commit17457297cb05461696cfc36844b88294bd38222d (patch)
tree295571acc18df41615e1b9c330260a3af3ae1de5 /tests/firefox.nix
parent3a23e6dd31d39d0a8ea229661d29855361c143cb (diff)
downloadnixpkgs-17457297cb05461696cfc36844b88294bd38222d.tar
nixpkgs-17457297cb05461696cfc36844b88294bd38222d.tar.gz
nixpkgs-17457297cb05461696cfc36844b88294bd38222d.tar.bz2
nixpkgs-17457297cb05461696cfc36844b88294bd38222d.tar.lz
nixpkgs-17457297cb05461696cfc36844b88294bd38222d.tar.xz
nixpkgs-17457297cb05461696cfc36844b88294bd38222d.tar.zst
nixpkgs-17457297cb05461696cfc36844b88294bd38222d.zip
Update all legacy-style modules
I.e., modules that use "require = [options]".  Nowadays that should be
written as

  {
    options = { ... };
    config = { ... };
  };

Also, use "imports" instead of "require" in places where we actually
import another module.
Diffstat (limited to 'tests/firefox.nix')
-rw-r--r--tests/firefox.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/firefox.nix b/tests/firefox.nix
index adb936dc1ae..d6599be13c9 100644
--- a/tests/firefox.nix
+++ b/tests/firefox.nix
@@ -5,7 +5,7 @@
   machine =
     { config, pkgs, ... }:
 
-    { require = [ ./common/x11.nix ];
+    { imports = [ ./common/x11.nix ];
       environment.systemPackages = [ pkgs.firefox ];
     };