1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

zsh-prezto: remove package dependency in test

This commit is contained in:
Robert Helgesson 2020-11-14 10:37:35 +01:00
parent fe849640ad
commit b5e7817de2
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -6,6 +6,18 @@ with lib;
config = {
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 = ''
assertFileExists home-files/.zpreztorc
'';