scmpuff: remove test dependency on zsh

This commit is contained in:
Robert Helgesson 2021-08-12 22:47:22 +02:00
parent 3d93e1e802
commit 479e26dc8c
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
3 changed files with 9 additions and 0 deletions

View file

@ -10,6 +10,9 @@
zsh.enable = true;
};
nixpkgs.overlays =
[ (self: super: { zsh = pkgs.writeScriptBin "dummy" ""; }) ];
nmt.script = ''
assertFileNotRegex home-files/.zshrc '${pkgs.scmpuff} init -s'
assertFileNotRegex home-files/.bashrc '${pkgs.scmpuff} init -s'

View file

@ -8,6 +8,9 @@
zsh.enable = true;
};
nixpkgs.overlays =
[ (self: super: { zsh = pkgs.writeScriptBin "dummy" ""; }) ];
nmt.script = ''
assertFileNotRegex home-files/.zshrc '${pkgs.scmpuff} init -s'
'';

View file

@ -5,6 +5,9 @@
zsh.enable = true;
};
nixpkgs.overlays =
[ (self: super: { zsh = pkgs.writeScriptBin "dummy" ""; }) ];
nmt.script = ''
assertFileExists home-files/.zshrc
assertFileContains \