tests: bump nmt
This commit is contained in:
parent
21ac4c499b
commit
ab0e6c3e0e
|
@ -7,8 +7,8 @@ let
|
||||||
nmt = pkgs.fetchFromGitLab {
|
nmt = pkgs.fetchFromGitLab {
|
||||||
owner = "rycee";
|
owner = "rycee";
|
||||||
repo = "nmt";
|
repo = "nmt";
|
||||||
rev = "19ef4e6673cb50a26069ef78b4644553863fb160";
|
rev = "873ac8cbd362376088b306cee769db37c3cd9b43";
|
||||||
sha256 = "0dwbkl3wifhihp0xxpdfy9jscmrrzfcwx1czlhv728nvbz90ps7b";
|
sha256 = "0s0r0hj6046k6kvfh4j8cvxcq8dv5c4801hs81b11cqlvalyf9y4";
|
||||||
};
|
};
|
||||||
|
|
||||||
modules = import ../modules/modules.nix {
|
modules = import ../modules/modules.nix {
|
||||||
|
|
|
@ -57,7 +57,7 @@ with lib;
|
||||||
|
|
||||||
nmt.script = ''
|
nmt.script = ''
|
||||||
dconfIni=$(grep -oPm 1 '/nix/store/[a-z0-9]*?-hm-dconf.ini' $TESTED/activate)
|
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}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
${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
|
assertFileExists home-files/.config/nvim/init.vim
|
||||||
# We need to remove the unkown store paths in the config
|
# We need to remove the unkown store paths in the config
|
||||||
TESTED="" assertFileContent \
|
assertFileContent \
|
||||||
$out/generated.vim \
|
$out/generated.vim \
|
||||||
"${./plugin-config.vim}"
|
"${./plugin-config.vim}"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue