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: 5b49b4347da6
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 71c672133add
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Apr 22, 2020

  1. sway: Make it possible to use exec in extraSessionCommands

    This is useful for use-cases like this (logging to journald):
    ```
    programs.sway.extraSessionCommands = ''
      if [ -z "$_SWAY_DID_SYSTEMD_CAT" ]; then
        export _SWAY_DID_SYSTEMD_CAT=1
        exec ${config.systemd.package}/bin/systemd-cat -t sway "$0" "$@"
      fi
      # ... (potentially also another exec)
    '';
    ```
    
    Without this change the rest of the extraSessionCommands won't be
    executed after the exec since the whole extraSessionCommands block would
    be skipped during the re-execution (_SWAY_WRAPPER_ALREADY_EXECUTED is
    already set).
    primeos committed Apr 22, 2020
    Copy the full SHA
    1a047c4 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2020

  1. Merge pull request #85783 from primeos/sway-wrapper-exec-support

    sway: Make it possible to use exec in extraSessionCommands
    primeos committed Apr 23, 2020
    Copy the full SHA
    71c6721 View commit details
    Browse the repository at this point in the history