-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
postgresql: drop build-time dependency on GHC #354538
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.
Makes total sense. If we ever come around to doing something like #353490, then the separate .sh
file would be checked that way.
I'm not sure about the shebang and the shell options that this might change. Do we need to do some |
This replaces `writeShellApplication` with `writeShellScriptBin` that doesn't perform a shellcheck. This makes it way easier to build postgresql on staging since GHC is super slow to build, even with pretty powerful machines. Also Haskell updates are currently merged straight into master which means that postgresql and all reverse dependencies require a rebuild on master then[1]. [1] NixOS#354270 (comment)
Good point, added the options that |
It is probably also feasible to add |
That would make it possible to check all setup hooks, too, because it avoids the bootstrap-problem. But, we have a few more shell scripts in the repo that are not connected to nix code, imho. So the CI check should be able to work on more files. |
This replaces
writeShellApplication
withwriteShellScriptBin
that doesn't perform a shellcheck. This makes it way easier to build postgresql on staging since GHC is super slow to build, even with pretty powerful machines.Also Haskell updates are currently merged straight into master which means that postgresql and all reverse dependencies require a rebuild on master then[1].
[1] #354270 (comment)
Things 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.