Skip to content

--run-env "pure mode" #136

Closed
Closed

Description

@zefhemel

The current version of --run-env appends the user's PATH onto the PATH setup for the specific component. This is often convenient, for instance so that you can run vim in the shell, even though it's not a package dependency. However, one can also imagine cases where it's useful to have a "pure" shell, without the user's PATH (based on bashrc files) injected. A --run-clean-env or something.

Activity

  1. ocharles commented on Jun 19, 2013

    @ocharles

    --build-env might be a better name. Currently the documentation for --run-env suggests it puts you in an environment that matches the build environment, but that's blatantly false.

  2. edolstra commented on Sep 2, 2013

    @edolstra
    Member

    Fixed in dc5f2e7, which adds a --pure flag.

  3. added 5 commits that reference this issue on Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions