tests: bump nmt

This commit is contained in:
Robert Helgesson 2021-06-24 22:47:21 +02:00
parent 21ac4c499b
commit ab0e6c3e0e
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
3 changed files with 4 additions and 4 deletions

View file

@ -7,8 +7,8 @@ let
nmt = pkgs.fetchFromGitLab {
owner = "rycee";
repo = "nmt";
rev = "19ef4e6673cb50a26069ef78b4644553863fb160";
sha256 = "0dwbkl3wifhihp0xxpdfy9jscmrrzfcwx1czlhv728nvbz90ps7b";
rev = "873ac8cbd362376088b306cee769db37c3cd9b43";
sha256 = "0s0r0hj6046k6kvfh4j8cvxcq8dv5c4801hs81b11cqlvalyf9y4";
};
modules = import ../modules/modules.nix {

View file

@ -57,7 +57,7 @@ with lib;
nmt.script = ''
dconfIni=$(grep -oPm 1 '/nix/store/[a-z0-9]*?-hm-dconf.ini' $TESTED/activate)
TESTED= assertFileContent $dconfIni ${./gnome-terminal-1.conf}
assertFileContent $dconfIni ${./gnome-terminal-1.conf}
'';
};
}

View file

@ -27,7 +27,7 @@ with lib;
${pkgs.perl}/bin/perl -pe "s|\Q$NIX_STORE\E/[a-z0-9]{32}-|$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" < "$vimrc" > $out/generated.vim
assertFileExists home-files/.config/nvim/init.vim
# We need to remove the unkown store paths in the config
TESTED="" assertFileContent \
assertFileContent \
$out/generated.vim \
"${./plugin-config.vim}"
'';