Commit graph

147710 commits

Author SHA1 Message Date
Jan Tojnar 62e665e1ec
nixos/gnome3: warn against sessionPath 2018-08-01 20:36:25 +02:00
Tor Hedin Brønner 9cd6342008
nixos/gnome3: Add back debug 2018-08-01 19:14:33 +02:00
Tor Hedin Brønner ee34f2537a
nixos/gnome3: Add back sessionPath
Implement through `services.xserver.displayManager.sessionCommands`.
2018-08-01 19:14:33 +02:00
Tor Hedin Brønner e8e0edd95c
nixos/tests/gnome3: Explicitly set default desktopManager
Sessions from `extraSessionFilePackages` isn't picked automatically as the
default session.
2018-08-01 19:14:33 +02:00
Tor Hedin Brønner efa27d33cf
nixos/desktopManager: Only trace if the default session isn't found
The default session might be found in `extraSessionFilePackages`, but it's not
viable to detect at evaluation time, so emit a warning.

In LightDM instead of checking `defaultSessionName` against
`displayManager.session.names` we rely on the assertions in
`desktopManager` and `windowMananger` and just check that there's at least one
default set. The second assertion could never actually be triggered.
2018-08-01 19:14:32 +02:00
Tor Hedin Brønner 9fad9fb869
nixos/displayManager: Create a common environment wrapper for all dms
This makes it easier to support a wider variety of .desktop session files. In
particular this makes it possible to use both the «legacy» sessions and upstream
session files.

We separate `xsession` into two parts, `xsessionWrapper` and `xsession`.
`xsessionWrapper` sets up the correct environment and then lauches the session's
Exec command (from the .desktop file), falling back to launching the default
window/desktopManager through the `xsession` script (required by at least some
nixos tests).

`xsession` then _only_ handles launching desktop-managers/window-managers defined
through `services.xserver.desktopManager.session`.
2018-08-01 19:14:32 +02:00
Jan Tojnar adbe4e1c68
gnome3.gnome-session: use absolute paths
TryExec needs absolute path too, otherwise the desktop file will be ignored
unless gnome-session is in PATH, in which case, we would not need to patch
Exec.
2018-08-01 19:14:31 +02:00
Jan Tojnar e6056c72d1
nixos/gnome3: use upstream session file
Pass gnome-session to extraSessionFilePackages, remove unnecessary environment variables, move the rest out of old session option, and then drop the option.
2018-08-01 19:14:31 +02:00
Jan Tojnar eb65e5ce56
nixos/gnome3: remove session path
Global environment variables are not very Nix-y.
2018-08-01 19:14:31 +02:00
Jan Tojnar f63d94eba3
gnome3.gpaste: hard-code paths
GPaste GNOME Shell extension uses GPaste library generated via introspection. Previously, we added the gpaste package to services.xserver.desktopManager.gnome3.sessionPath option, which
added its typelib directory to GI_TYPELIB_PATH environment variable globally, in order for GNOME Shell to be able to find it. This is not very Nix-y, though, so we have decided to patch the code to
append the path to the GI repository search path.

Additionally, the code relies on GPaste’s GSettings schemas, so we had to hard-code the paths to them as well. We ignored the GNOME Shell’s schemas, since they will already be available for the
extension inside GNOME Shell program.
2018-08-01 19:14:30 +02:00
Jan Tojnar 0e1c01451f
nixos/gnome3: rely on xdg autostart for xdg-user-dirs 2018-08-01 19:14:30 +02:00
Jan Tojnar cc6d77c83f
gnome3.gdm: add upstream xsession 2018-08-01 19:14:30 +02:00
Jan Tojnar 83fc9a9825
nixos/display-manager.default: add extraSessionFilePackages option 2018-08-01 19:14:30 +02:00
Jan Tojnar a8c6489fd4
nixos/services.xserver.displayManager: move X sessions to a subdirectory
Previously, the mkDesktops function produced a flat package containing
session files in the top level. As a preparation for introduction of
Wayland sessions, the files will now be placed to $out/share/xsessions.
2018-08-01 19:14:29 +02:00
Elis Hirwing 7c585235ff php71: 7.1.19 -> 7.1.20 (#44211)
Changelog: https://secure.php.net/ChangeLog-7.php#7.1.20
2018-07-30 20:16:26 +02:00
Vladimír Čunát 437b604354
Merge #44225: chromium: Increase build timout to two days 2018-07-30 19:53:25 +02:00
Peter Simons 5c4b203032 hledger-lib: patch code to work around a regression in version 0.10
https://github.com/simonmichael/hledger/issues/852
2018-07-30 19:46:25 +02:00
Teo Klestrup Röijezon 6c54cfb280 nixos/gitlab: don't install pg_trgm for remote hosts
Fixes #41476
2018-07-30 19:41:12 +02:00
Teo Klestrup Röijezon e0983f3eec nixos/gitlab: create uploads folder
It seems like Gitlab doesn't pick up GITLAB_UPLOADS_PATH. The internal uploads
folder is already symlinked to /run/gitlab/uploads by the gitlab package. Here
we symlink this further to ${statePath}/uploads, since /run is (usually) a tmpfs.
2018-07-30 19:41:12 +02:00
Teo Klestrup Röijezon 3250b89987 nixos/gitlab: don't delete ${statePath}/lib if it doesn't exist
The old behaviour caused new instances to be unable to start
2018-07-30 19:41:12 +02:00
catern a52b6b1932 pythonPackages.contextvars: 2.2 -> 2.3 (#44234) 2018-07-30 19:18:55 +02:00
catern de311d9ab3 pythonPackages.contextvars: 2.2 -> 2.3 (#44234) 2018-07-30 19:16:37 +02:00
Robert Schütz 03b77a3910 python.pkgs.libusb1: fix tests 2018-07-30 18:56:10 +02:00
Okina Matara 21e5d59f9c dolphinEmuMaster: 2018-07-02 -> 2018-07-22 2018-07-30 09:42:53 -07:00
Robert Schütz 25fd46d102 home-assistant: 0.74.0 -> 0.74.2 2018-07-30 18:14:10 +02:00
Andreas Rammhold 80b5f5227e
jsonrpc-glib: init at 3.28.1 2018-07-30 16:23:15 +02:00
Andreas Rammhold b2c565eee5
template-glib: init at 3.28.0 2018-07-30 16:23:10 +02:00
Jörg Thalheim 67e2de195a
Merge pull request #44229 from dtzWill/fix/rr-32bit
rr: enable on 32bit x86
2018-07-30 14:20:22 +01:00
Jörg Thalheim 8e74fd3d3a
Merge pull request #44231 from samueldr/auto/dbeaver/nixpkgs-unstable/5.1.4
dbeaver: 5.1.3 -> 5.1.4
2018-07-30 14:19:47 +01:00
Jörg Thalheim 81d5e441b2
Merge pull request #44202 from jerith666/journald-rate
journald: set rateLimitInterval and rateLimitBurst to upstream defaults
2018-07-30 13:47:01 +01:00
Jörg Thalheim b4d668859a
Merge pull request #44205 from manveru/golangci-lint
golangci-lint: init at 1.9.2
2018-07-30 13:45:44 +01:00
Samuel Dionne-Riel 81511557c8 dbeaver: 5.1.3 -> 5.1.4 2018-07-30 08:38:05 -04:00
Frederik Rietdijk 0349f796f2
Merge pull request #44219 from andreabedini/aws-sam-cli-0-5-0
aws-sam-cli: 0.4.0 -> 0.5.0
2018-07-30 14:28:08 +02:00
Will Dietz 541d30a3a9 rr: enable on 32bit x86
Lack of 32bit support led to the creation
of an overlay to add it back again,
but since it at least builds and seems to work
don't see why we'd disallow it here :).
2018-07-30 07:27:25 -05:00
Jörg Thalheim 1e54a4e5e9
Merge pull request #44227 from dywedir/rdedup
rdedup: 2.0.0 -> 3.0.1
2018-07-30 12:45:43 +01:00
Robert Schütz f5811cadc5 python.pkgs.pytest-flake8: 1.0.1 -> 1.0.2 (#44215) 2018-07-30 13:05:55 +02:00
Vladyslav Mykhailichenko dba10d2d49 rdedup: 2.0.0 -> 3.0.1 2018-07-30 13:50:51 +03:00
Jörg Thalheim 86d7d96da2
Merge pull request #44030 from ajs124/exim_mysql_dovecot
exim: add optional support for MySQL and the Dovecot authenticator
2018-07-30 11:48:28 +01:00
ua74e3dqka 8f12a9a283 yed: 3.17.2 -> 3.18.1 (#44088) 2018-07-30 11:43:24 +01:00
markuskowa b59a13e9b4 beegfs: 6.18 -> 7.0 (#44210) 2018-07-30 12:42:59 +02:00
Jörg Thalheim 9cfc9de70f
Merge pull request #44161 from Izorkin/nginx-modules
Nginx modules
2018-07-30 11:39:10 +01:00
Sarah Brofeldt 7679891e2b chromium: Increase build timout to two days 2018-07-30 12:29:58 +02:00
Isaac Shapira a8febbc4eb nixos/hoogle: add home option (#44103) 2018-07-30 11:27:07 +01:00
Jörg Thalheim 9250c264d8
Merge pull request #44112 from ajs124/nextcloud_13_0_5
nextcloud: 13.04 -> 13.05
2018-07-30 10:27:30 +01:00
Jörg Thalheim a42311a9f6
Merge pull request #44209 from samueldr/feature/nix-top
nix-top: init at 0.1.0 -> 0.2.0
2018-07-30 10:05:29 +01:00
Jörg Thalheim 8717de96a9 nix-top: simplify installPhase 2018-07-30 10:04:15 +01:00
lewo d123f5d00f
Merge pull request #44222 from nlewo/pr-skopeo
skopeo: 0.1.30 -> 0.1.31
2018-07-30 10:57:38 +02:00
Eelco Dolstra 14b5d5e93e
Revert "release/metrics: drop requiredSystemFeatures"
This reverts commit 1d0caa7b03. Thanks
to @vcunat we have a 'benchmark' machine again!
2018-07-30 10:46:20 +02:00
Jörg Thalheim c5d1f7723b
Merge pull request #43985 from snaar/fix-lesspipe-dependency
lesspipe: add missing dependency on 'file'
2018-07-30 09:46:06 +01:00
Michael Fellinger 06eb270c8f golangci-lint: init at 1.9.2 2018-07-30 10:23:57 +02:00