You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@edolstra probably one of the weirdest use cases tbh.
First off, initNix() (from nix) sets a umask which is too restrictive for me, overriding the one that is set from the systemd unit.
I could store the umask before the call, and restore it afterwards but I was too afraid I could break something nix-internal (I really don't know enough about it).
I want a more open umask because I wrote a Hydra plugin that interacts with the git repos as well by fetching into them and creating them if necessary.
This plugin however runs in hydra-notify while the regular git fetcher runs in hydra-evaluator. For this to work properly, I need to have write permissions for hydra group.
There may be a more clever solution I haven't thought of yet, maybe restoring the umask as mentioned above but this is the best I could come up with.
Now that I come to think of it, maybe not as weird as I expected.
My plugin has a evalAdded hook that parses local lockfiles and generates git inputs so the SCM diff works.
May be worth supporting for future things like a flake lock extractor?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.