diff options
| author | lassulus <lassulus@lassul.us> | 2022-12-27 22:55:20 +0100 |
|---|---|---|
| committer | lassulus <lassulus@lassul.us> | 2022-12-27 22:55:20 +0100 |
| commit | 97687ea0de4847a9c56cd58ac31f1c188d87b121 (patch) | |
| tree | 5467b7c31c0de3c2ba2c7dd7388dfa66f267fe05 /tv | |
| parent | 6b4abfdf4ae8858f2c58acc5d52da7a4a35e5905 (diff) | |
| parent | 0d661dd94a6215d49397aabbaeaedab06a1fb66e (diff) | |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv')
| -rw-r--r-- | tv/5pkgs/simple/alacritty-tv.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tv/5pkgs/simple/alacritty-tv.nix b/tv/5pkgs/simple/alacritty-tv.nix index 466ff27..d80c46c 100644 --- a/tv/5pkgs/simple/alacritty-tv.nix +++ b/tv/5pkgs/simple/alacritty-tv.nix @@ -70,8 +70,7 @@ pkgs.symlinkJoin { # Install stored configuration if it has changed. # This allows for both declarative updates and runtime modifications. ${pkgs.coreutils}/bin/mkdir -p "$HOME" - ref=$(${pkgs.coreutils}/bin/cat "$HOME"/ref) - if test "$ref" != ${config-file}; then + if test "$(${pkgs.coreutils}/bin/cat "$HOME"/ref)" != ${config-file}; then echo ${config-file} > "$HOME"/ref ${pkgs.coreutils}/bin/cp ${config-file} "$HOME"/.alacritty.yml fi |
