-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
treewide: correct versionCheckHook use #376275
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
Changes from all commits
57e086f
efdd819
e22406e
0de44d1
2c9593b
793d897
504e6ff
520728f
1217130
d71e753
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,6 +16,11 @@ buildGoModule rec { | |
| hash = "sha256-7wCBflX34prZJl4HhZUU2a2qHxaBs1fMKHpwE0vX1GE="; | ||
| }; | ||
|
|
||
| postPatch = '' | ||
| substituteInPlace main.go \ | ||
| --replace-fail 'Version = "1.28.0"' 'Version = "${version}"' | ||
| ''; | ||
|
|
||
| vendorHash = "sha256-Y5yg54em+vqoWXxS3JVQVPEM+fLXgoblmY+48WpxSCQ="; | ||
|
|
||
| doCheck = false; | ||
|
|
@@ -25,7 +30,10 @@ buildGoModule rec { | |
| "-w" | ||
| ]; | ||
|
|
||
| nativeInputChecks = [ | ||
| # FIXME: error when running `env -i gollama`: | ||
| # "Error initializing logging: $HOME is not defined" | ||
|
||
| doInstallCheck = false; | ||
| nativeInstallCheckInputs = [ | ||
| versionCheckHook | ||
| ]; | ||
|
|
||
|
|
||
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.
So this one is not converted over, correct?
Uh oh!
There was an error while loading. Please reload this page.
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.
correct, it is no longer a silent no-op, but also it doesn't work due to requiring HOMe