-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
tedicross: init at 0.8.7 #58096
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
tedicross: init at 0.8.7 #58096
Conversation
1e4e1c2
to
10d9784
Compare
@GrahamcOfBorg build tedicross |
Up. |
@aanderse Thank you for your review. The PR has been amended accordingly. |
Should I also add myself as a maintainer in the module file too? EDIT: apparently this has been introduced quite recently. PR amended. |
The module LGTM 👍 I'm not familiar with node packaging so i'll defer to someone else on that. |
This pull request has been mentioned on Nix community. There might be relevant details there: |
You should add your package to This is also described in the manual: https://nixos.org/nixpkgs/manual/#node.js-packages |
86d2e6d
to
d363e51
Compare
@infinisil Thanks for the suggestion. The PR has been amended accordingly. |
Rebased on master's tip. @GrahamcOfBorg build nodePackages.tedicross |
Amended PR to init at 0.8.5 instead of 0.8.3. @GrahamcOfBorg build nodePackages.tedicross |
ExecStart = "${pkgs.nodePackages.tedicross}/bin/tedicross --config='${configYAML}' --data-dir='${dataDir}'"; | ||
Restart = "always"; | ||
DynamicUser = true; | ||
StateDirectory = builtins.baseNameOf dataDir; |
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.
baseNameOf
is in the global namespace, so you can remove the builtins.
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.
Amended.
Amended PR to init at 0.8.7 instead of 0.8.5. @GrahamcOfBorg build nodePackages.tedicross |
Oh one last thing I missed: Can you split it into 2 commits, one for the package, one for the NixOS module? After that I'll merge it |
@infinisil wrote:
Sure. It's done. |
Motivation for this change
This PR adds a package and a module for the TediCross Discord-Telegram bridge service.
Current upstream blockers
Command-line parameters to specify path to settings and data directory: Command-line parameters to specify path to settings and data directory TediCross/TediCross#101Do not crash when the config file isn't writable: Do not crash when the config file isn't writable TediCross/TediCross#102Proper version releaseThings done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)