-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
nixos/zammad: refactor package, module and nixos-test #277456
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.
This is a clever change. I like that it leaves more things in the nix store rather than copied into runtime directories.
054cef4
to
cb538a2
Compare
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.
I haven't tested it, but the code looks good to me.
cb538a2
to
9f65e94
Compare
Did a rebase, since what was there conflicted in a few places. @Radvendii PTAL and ping me to merge. |
9f65e94
to
51f8cd4
Compare
51f8cd4
to
7a397ce
Compare
Moved the release notes entry to 25.05 since 24.11 is as good as released and this is far too big to backport. |
7a397ce
to
4ad703d
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
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.
NixOS tests are passing and I also tested the module on my own server, all running fine.
Description of changes
This PR refactors the Zammad package, NixOS module and NixOS test. It does the following things:
inherit (lib) ...
instead ofwith lib;
zammad-web
unit hard depended on a local PostgreSQL database (especially in the check if a database initialization is required)preScript
of thezammad-web
unit to clean the old package contents out of the state directoryThings done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.