-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
gotify-server: init at 2.0.10 #70441
Conversation
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.
Just played around with this a bit. Apart from the fact that it says unknown@unknown
when requesting the application's version, this seems fine to me 👍
However it should be discussed if we want to add even more derivations with such a huge diff to nixpkgs - but I don't have a strong opinion about this :)
I'm happy to know this fixes #67384
I've set in the current build @Ma27 did you try to run upstream's compiled version of gotify and got a different response for the version? I wouldn't mind working on that so we'll emulate better upstream's behavior while maintaining the executable reproducible. |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review-may-2019/3032/71 |
Just pushed a commit which hopefully fixes eval. Currently working on a module/test for this and fixed the version issue locally :) |
45210db
to
7b52986
Compare
@Ma27 perhaps could you share your fix / module? I've updated the PR to 2.0.10 and pushed a fix for the |
Looks good to me. |
275c1d3
to
cdb92a8
Compare
@ofborg test gotify-server |
cdb92a8
to
3461ec2
Compare
@ofborg test gotify-server |
Thanks!
|
default = "gotify-server"; | ||
description = '' | ||
The name of the directory below <filename>/var/lib</filename> where | ||
gotify stores its runtime data. |
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.
Any reason this was made configurable?
Motivation for this change
Fixes #67384.
@Lassulus, to complement #69869, here's a working derivation of gotify server. It's the first time I've built a derivation which depends upon a yarn build and packr. I've based most of it upon riot-desktop.nix which is an electron app but uses
yarn2nix-moretea
.The only thing I couldn't find a nicer way to do it, is making
servers/gotify/default.nix
requireservers/gotify/ui.nix
without addinggotify-server-ui = callPackage ../servers/gotify/ui.nix { };
toall-packages.nix
.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @