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 | d34de27336482775a9c9ba45097a00eb1b00770e (patch) | |
tree | 1e072f32909dac416ab46aaeaa3bc9502dbed6b5 /tv/5pkgs/simple/alacritty-tv.nix | |
parent | ce2ec4448079b39842a740a2d40249e2498df012 (diff) | |
parent | 02751cb50d2791be12476db14554a2093a52b6a0 (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/5pkgs/simple/alacritty-tv.nix')
-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 466ff27c5..d80c46cbb 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 |