-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Fix the problem of forgotten runHook {pre,post}*
calls
#175605
Comments
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/low-effort-and-high-impact-tasks/21095/7 |
Instead of introducing new attributes, could we make I fear that having |
So I guess the question is whether we want to break people's code or do a treewide? I'd favor the latter. We could deprecate the setting of |
i stumbled upon a rfc related to this NixOS/rfcs#32 |
It doesn't seem to have been implemented; asking. |
I don't think my suggestion requires either? Unless you mean that running hooks that were previously not run could break things, but hooks are empty by default so this seems dubious |
Project description
We advise to do
why not:
and have stdenv do the right thing?
This will save a lot of nagging and presumably a bunch of frustration.
These identifiers have not yet been used in Nixpkgs.
The only similarity is with
buildCommand
, singular, which is the variable backing therunCommand
function. Its purpose is to avoid the phases and simply do a thing.Metadata
The text was updated successfully, but these errors were encountered: