aboutsummaryrefslogtreecommitdiff
path: root/tests/modules/programs/alacritty/example-settings.nix
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2019-10-08 22:46:27 +0200
committerRobert Helgesson <robert@rycee.net>2019-10-26 13:07:04 +0200
commit797c77a00a50009239bc2b6576283e49fbd63b40 (patch)
tree65acc73e31053e429cc390ae4e356530857c80b4 /tests/modules/programs/alacritty/example-settings.nix
parenta177d0282fbb6af0668b63fba3dfb74cb25f3178 (diff)
tests: reduce number of downloads
This replaces some derivation outputs by simple strings rather than full Nix store paths. This removes the need to download the whole derivation when all we need is a static string.
Diffstat (limited to '')
-rw-r--r--tests/modules/programs/alacritty/example-settings.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/modules/programs/alacritty/example-settings.nix b/tests/modules/programs/alacritty/example-settings.nix
index 2c84710d100..0caa80258b1 100644
--- a/tests/modules/programs/alacritty/example-settings.nix
+++ b/tests/modules/programs/alacritty/example-settings.nix
@@ -23,6 +23,12 @@ with lib;
};
};
+ nixpkgs.overlays = [
+ (self: super: {
+ alacritty = pkgs.writeScriptBin "dummy-alacritty" "";
+ })
+ ];
+
nmt.script = ''
assertFileContent \
home-files/.config/alacritty/alacritty.yml \