nixpkgs/nixos
Chuck 751a27020e 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
2020-05-09 11:01:17 -07:00
..
doc nixos-install: 'nix build' -> nix-build 2020-05-07 13:12:29 +02:00
lib nixos/test-driver: Specify /bin/sh shell when running a bourne shell script as the user 2020-05-09 11:01:17 -07:00
maintainers nixos/azure-new: use local nixpkgs 2020-04-27 02:11:10 -07:00
modules Merge pull request #87263 from arianvp/resolved-dbus 2020-05-09 18:06:50 +02:00
tests Merge pull request #87210 from Frostman/prom-2.18.0 2020-05-08 14:03:15 -05:00
COPYING
default.nix
README treewide: use https for nixos.org and hydra.nixos.org 2020-05-03 22:14:21 -07:00
release-combined.nix nixos/release-combined: add systemd-networkd-ipv6-prefix-delegation test 2020-05-01 17:45:40 +02:00
release-small.nix
release.nix nixos/release.nix: closures.lapp: use enablePHP, fixes metrics job #86439 2020-05-01 10:07:04 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.