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

Don't implement NixPath for Option<&P> where P: NixPath #1242

Merged
merged 1 commit into from
May 17, 2020

Commits on May 16, 2020

  1. Don't implement NixPath for Option<&P> where P: NixPath

    Most Nix functions that accept `NixPath` arguments can't do anything
    useful with `None`.  The exceptions (`mount` and `quotactl_sync`)
    already take explicitly optional arguments.
    
    Also, this changes the behavior of `mount` with `None` arguments.
    Previously, it would call mount(2) with empty strings for those
    arguments.  Now, it will use null pointers.
    asomers committed May 16, 2020
    Configuration menu
    Copy the full SHA
    9d8c8c9 View commit details
    Browse the repository at this point in the history