Skip to content
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

direnv: add silent option #5586

Closed
wants to merge 1 commit into from

Conversation

pineapplehunter
Copy link
Contributor

@pineapplehunter pineapplehunter commented Jun 29, 2024

Description

Adds a silent option to direnv.
Copied from nipkgs.
https://github.com/NixOS/nixpkgs/blob/2893f56de08021cffd9b6b6dfc70fd9ccd51eb60/nixos/modules/programs/direnv.nix#L31
Tests have not been updated because I don't know how to check for sessionVariables.

Checklist

  • Change is backwards compatible.

  • Code formatted with ./format.

  • Code tested through nix-shell --pure tests -A run.all or nix develop --ignore-environment .#all using Flakes.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.

Maintainer CC

@rycee

rycee pushed a commit that referenced this pull request Jun 29, 2024
@rycee
Copy link
Member

rycee commented Jun 29, 2024

Thanks! Rebased to master in 36317d4 🙂

@rycee rycee closed this Jun 29, 2024
sinanmohd pushed a commit to sinanmohd/home-manager that referenced this pull request Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants