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

powerline-go: avoid dependency in tests

This commit is contained in:
Robert Helgesson 2021-05-09 12:23:44 +02:00
parent e42e147b58
commit 15a2953c81
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 9 additions and 2 deletions

View file

@ -18,6 +18,9 @@ with lib;
}; };
}; };
nixpkgs.overlays =
[ (self: super: { powerline-go = pkgs.writeScriptBin "dummy-pkg" ""; }) ];
nmt.script = '' nmt.script = ''
assertFileExists home-files/.bashrc assertFileExists home-files/.bashrc
assertFileContains \ assertFileContains \

View file

@ -18,8 +18,12 @@ with lib;
}; };
}; };
nixpkgs.overlays = nixpkgs.overlays = [
[ (self: super: { zsh = pkgs.writeScriptBin "dummy-zsh" ""; }) ]; (self: super: {
powerline-go = pkgs.writeScriptBin "dummy-pkg" "";
zsh = pkgs.writeScriptBin "dummy-pkg" "";
})
];
nmt.script = '' nmt.script = ''
assertFileExists home-files/.zshrc assertFileExists home-files/.zshrc