diff options
author | Robert Helgesson <robert@rycee.net> | 2019-10-08 22:46:27 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2019-10-26 13:07:04 +0200 |
commit | 797c77a00a50009239bc2b6576283e49fbd63b40 (patch) | |
tree | 65acc73e31053e429cc390ae4e356530857c80b4 /tests/modules/programs/alacritty/example-settings.nix | |
parent | a177d0282fbb6af0668b63fba3dfb74cb25f3178 (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.nix | 6 |
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 \ |