•  
      request #43356 Trufflehog performs an automatic self-update on commit
    Infos
    #43356
    Clément Gayot (clementg)
    2025-06-11 17:08
    2025-06-11 16:36
    45049
    Details
    Trufflehog performs an automatic self-update on commit

    When I make a commit, trufflehog triggers an auto-update due to the currently configured githook.

    This causes two issues:

    • trufflehog updates itself outside of the nix-shell dependencies
    • outside of nix-shell, an error occurs: error trufflehog error occurred with trufflehog updater 🐷 {"error": "cannot move binary (exit status 1)"}
    Dependencies
    development
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Clément Gayot (clementg)
    Declined
    Empty
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2025-06-11 17:08

    I would advise that you setup something like direnv to get the proper environment when you enter the directory. You will otherwise encounter a lot of weirdness.


    • Status changed from Waiting for information to Declined
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes