mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
zsh-prezto: remove package dependency in test
This commit is contained in:
parent
fe849640ad
commit
b5e7817de2
1 changed files with 12 additions and 0 deletions
|
@ -6,6 +6,18 @@ with lib;
|
||||||
config = {
|
config = {
|
||||||
programs.zsh.prezto.enable = true;
|
programs.zsh.prezto.enable = true;
|
||||||
|
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(self: super: {
|
||||||
|
zsh-prezto = super.runCommandLocal "dummy-zsh-prezto" { } ''
|
||||||
|
mkdir -p $out/runcoms
|
||||||
|
echo '# zprofile' > $out/runcoms/zprofile
|
||||||
|
echo '# zlogin' > $out/runcoms/zlogin
|
||||||
|
echo '# zlogout' > $out/runcoms/zlogout
|
||||||
|
echo '# zshenv' > $out/runcoms/zshenv
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nmt.script = ''
|
nmt.script = ''
|
||||||
assertFileExists home-files/.zpreztorc
|
assertFileExists home-files/.zpreztorc
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue