-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
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
zitadel: init at 2.37.2; nixos/zitadel: init #254896
Conversation
Result of 1 package blacklisted:
1 package built:
|
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.
Looks great! Just a few small suggestions
Anything missing on this? I'm eager to try it out 👍 |
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 one last thing. After you fix this and resolve the merge conflict I'm ready to merge this
go run internal/api/assets/generator/asset_generator.go -directory=internal/api/assets/generator/ -assets=docs/apis/assets/assets.md | ||
|
||
cp -r ${passthru.console}/* internal/api/ui/console/static | ||
CGO_ENABLED=0 go build -o zitadel -v -ldflags="-s -w -X 'github.com/zitadel/zitadel/cmd/build.version=${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.
Is there a good reason not to use ldflags
?
Now if I want to make a debug build of zitadel, I have to use nix build --impure --expr '(import <nixpkgs> {}).zitadel.overrideAttrs (old: { buildPhase = builtins.replaceStrings [ "-s -w" ] [ "" ] old.buildPhase; })'
.
Description of changes
ZITADEL is a identity and access management platform. This PR creates a Nix derivation for it, as well as a NixOS module for running it as a service.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)