git: remove test dependencies on delta and git-lfs
This commit is contained in:
parent
b584745506
commit
57518cd0bf
2 changed files with 13 additions and 5 deletions
|
|
@ -14,9 +14,6 @@ let
|
|||
substituteExpected = path:
|
||||
pkgs.substituteAll {
|
||||
src = path;
|
||||
|
||||
deltaCommand = "${pkgs.gitAndTools.delta}/bin/delta";
|
||||
|
||||
git_include_path = pkgs.writeText "contents"
|
||||
(builtins.readFile ./git-expected-include.conf);
|
||||
};
|
||||
|
|
@ -82,6 +79,17 @@ in {
|
|||
}
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
git-lfs = pkgs.writeScriptBin "dummy-git-lfs" "";
|
||||
gitAndTools = super.gitAndTools // {
|
||||
delta = pkgs.writeScriptBin "dummy-delta" "" // {
|
||||
outPath = "@delta@";
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/git/config
|
||||
assertFileContent home-files/.config/git/config ${
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue