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

Evaluate nix-shell -i args relative to script #5088

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Nov 27, 2023

  1. Evaluate nix-shell -i args relative to script

    When writing a shebang script, you expect your path to be relative to
    the script, not the cwd. We previously handled this correctly for
    relative file paths, but not for expressions.
    
    This handles both -p & -E args. My understanding is this should be
    what we want in any cases I can think of - people run scripts from
    many different working directories. @edolstra is there any reason to
    handle -p args differently in this case?
    
    Fixes NixOS#4232
    matthewbauer authored and tomberek committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    0402336 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9a46411 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Configuration menu
    Copy the full SHA
    f66f498 View commit details
    Browse the repository at this point in the history