forked from mirrors/nixpkgs
git-machete: fix version checks
This commit is contained in:
parent
302d33f4d1
commit
4c7bf71d8e
|
@ -33,16 +33,15 @@ buildPythonApplication rec {
|
|||
installShellCompletion --zsh --name _git-machete completion/git-machete.completion.zsh
|
||||
'';
|
||||
|
||||
postInstallCheck = ''
|
||||
git init
|
||||
test "$($out/bin/git-machete version)" = "git-machete version ${version}"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
attrPath = pname;
|
||||
};
|
||||
|
||||
tests = {
|
||||
version = testVersion {
|
||||
package = git-machete;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue