New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wakatime: Explicit checkPhase
#32935
Conversation
The write errors can be fixed by adding
|
Ah nice 😎 But unfortunately the tests run and fail with assertion errors :( |
05ddf1f
to
ea814e9
Compare
pkgs/tools/misc/wakatime/default.nix
Outdated
@@ -1,7 +1,8 @@ | |||
{ stdenv, buildPythonApplication, fetchFromGitHub }: | |||
|
|||
buildPythonApplication rec { | |||
name = "wakatime-${version}"; | |||
baseName = "wakatime"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pname
pkgs/tools/misc/wakatime/default.nix
Outdated
@@ -1,7 +1,8 @@ | |||
{ stdenv, buildPythonApplication, fetchFromGitHub }: | |||
|
|||
buildPythonApplication rec { | |||
name = "wakatime-${version}"; | |||
baseName = "wakatime"; | |||
name = "${baseName}-${version}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name can be dropped
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it default to ${pname}-${version}
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In buildPython*
, yes.
The actual tests write to the filesystem and lead to errors Related NixOS#32244
ea814e9
to
4be7311
Compare
And they're not fixable? |
I don't know, I did not test :D |
Tests were disabled in #33917 |
The actual tests write to the filesystem and lead to errors, so I replaced them with a different sanity check for the version
Related #32244