Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: b95d49d03435
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: b12c08ca8802
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on May 9, 2020

  1. nixos/test-driver: Specify /bin/sh shell when running a bourne shell …

    …script as the user
    
    The test harness provides the commands it wishes to run in Bourne
    syntax.  This fails if the user uses a different shell.  For example,
    with fish:
    
      machine.wait_for_unit("graphical-session.target", "alice")
    
    machine # fish: Unsupported use of '='. To run '-u`' with a modified environment, please use 'env XDG_RUNTIME_DIR=/run/user/`id -u`…'
    machine # XDG_RUNTIME_DIR=/run/user/`id -u` systemctl --user --no-pager show "graphical-session.target"
    machine # ^
    machine # [   16.329957] su[1077]: pam_unix(su:session): session closed for user alice
    error: retrieving systemctl info for unit "graphical-session.target" under user "alice" failed with exit code 127
    chkno committed May 9, 2020
    Copy the full SHA
    751a270 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2020

  1. Merge pull request #87414 from chkno/specify-shell-when-sudoing-to-us…

    …er-with-unknown-shell
    
    nixos/test-driver: Specify /bin/sh shell when running a bourne shell script as the user
    flokli committed May 11, 2020
    Copy the full SHA
    b12c08c View commit details
    Browse the repository at this point in the history