Commit Graph

148102 Commits

Author SHA1 Message Date
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
Andreas Rammhold 17ee0a8662
Merge pull request #44190 from andir/nixos/default-enable-sandboxing
nixos/nix-daemon: default `nix.useSandbox` to `true`.
2018-08-01 19:10:45 +02:00
Tuomas Tynkkynen e94fcbcd01 pkgs/tests: Add test for LD_LIBRARY_PATH
The latest binutils upgrade silently broke this until it was fixed by
https://github.com/NixOS/nixpkgs/pull/43531.

So add a test.
2018-08-01 19:02:21 +03:00
kiloreux 954489df24 ffmpeg-full: add AV1 encoder with libaom (#43789) 2018-08-01 17:03:44 +02:00
Peter Hoeg 2428f5dda1 scummvm: fix compilation 2018-08-01 22:32:51 +08:00
Maximilian Bosch 134c5cc8db termite: factor wrapper out into its own file (#43691)
Until now it's impossible to override the attrs of the actual build
instruction for the `termite` package like this:

```
termite.overrideAttrs (_: {
  # ...
})
```

This issue occurs since the `termite/default.nix` expressions returns
the `symlinkJoin` expression when I override termite (e.g. to provide a
config file).

I recently patched termite and wanted to apply this patch to my local
termite installation in my system config which is impossible this, so
splitting the wrapper and the build instruction into their own files
makes this way easier to maintian.
2018-08-01 16:09:55 +02:00
leenaars 2b75a7266c ipgrep: init at 1.0 (#43887) 2018-08-01 15:40:57 +02:00
Yarny0 bdf6f8528e plasma-nm: fix path to mobile broadband provider file (#44302)
When creating a new mobile broadband connection
with the plasma network manager connection editor,
it tries to find a file containing provider
information somewhere in /usr/share/... .
The build recipe contains a patch to fix the lookup path
such that it finds the file in the corresponding package,
probably added due to
https://github.com/NixOS/nixpkgs/issues/9389 .
The actual lookup path is injected into
the patch file with substituteAll.

With commit a31d98f312 ,
the variable name used in subsituteAll changed from
mobile_broadband_provider_info to mobile-broadband-provider-info
(underscores in package names turned into dashes).
Apparently, substituteAll can't handle dashes in variable names.
Consequently, the variable name was no longer resolved.
plasma-nm failed to create new mobile broadband connections;
the connection creator silently exited and logged the error
> plasma-nm: Error opening providers file "@mobile-broadband-provider-info@/share/mobile-broadband-provider-info/serviceproviders.xml"

This commit keeps the dashes in package names, but it
restores the underscores in the variable used by substituteAll,
thereby ensuring the variable gets resolved properly.
2018-08-01 15:23:28 +02:00
Matthew Harm Bekkema 4f505d7267 ffmpeg: 3.4.3 -> 3.4.4 (bugfix) (#44267)
Fixes #44256
2018-08-01 15:22:20 +02:00
Chloe Kever 1bb4fd794c jenkins: 2.107.3 -> 2.121.2 (#43936) 2018-08-01 15:20:21 +02:00
Mario Rodas 1b6190e005 1password: 0.4.1 -> 0.5.1 (#43981) 2018-08-01 15:19:07 +02:00
Mario Rodas 4cc3a18fcd brakeman: init at 4.3.1 (#44294) 2018-08-01 15:15:29 +02:00
Mario Rodas dc4abdfd86 ia-writer-duospace: init at 20180721 (#43937) 2018-08-01 15:13:50 +02:00
Daniël de Kok 186cf1c4d6 cargo-asm: init at 0.1.16 (#44182) 2018-08-01 15:03:03 +02:00
markuskowa 34f6b0cc0e halide: init at 2018_02_15 (#44207) 2018-08-01 14:57:51 +02:00
Jan Tojnar be066d0b27
Merge pull request #44278 from jtojnar/gnome-update
Gnome update
2018-08-01 14:38:45 +02:00
Jörg Thalheim 3ea0322f63
Merge pull request #44197 from etu/php-kill-56-and-70
php: drop 5.6 and 7.0
2018-08-01 12:49:56 +01:00
Jörg Thalheim d9cea0e6f1
Merge pull request #44155 from Assassinkin/slackclient
pythonPackages.slackclient:1.0.0 -> 1.2.1 | refactor
2018-08-01 12:46:57 +01:00
Jörg Thalheim 69a94a01c6
Merge pull request #44264 from eonpatapon/kubelet-cgroup-stats
nixos/kubernetes: fix kubelet cgroup stats
2018-08-01 12:08:13 +01:00
Assassinkin f3b60eb0a4 pythonPackages.slackclient:1.0.0 -> 1.2.1 | refactor 2018-08-01 12:05:32 +01:00
Jörg Thalheim ff75efc953
Merge pull request #44289 from vbgl/ocaml-core_kernel-0.11.1
ocamlPackages.core_kernel: 0.11.0 -> 0.11.1
2018-08-01 11:54:07 +01:00
xeji 299db53476
Merge pull request #43637 from qolii/hardkernel_update_and_defconfig
linux-hardkernel: 4.14.47-139 -> 4.14.55-146. Additionally, use vendo…
2018-08-01 12:18:27 +02:00
Assassinkin 6ee997a5ff pythonPackages.sumo:init at 1.0.9 2018-08-01 10:58:23 +01:00
Assassinkin 791d50fd3f pythonPackages.pymatgen:init at 2018.6.27 2018-08-01 10:58:23 +01:00
Assassinkin 1e1cf4f18c pythonPackages.phonopy:init at 1.13.2.13 2018-08-01 10:57:14 +01:00
Assassinkin 7487510d04 pythonPackages.palettable:init at 3.1.1 2018-08-01 10:57:14 +01:00
xeji c7c3c1663f
Merge pull request #44298 from Izorkin/fix-build
Fix build packages edk2 and bazaar
2018-08-01 11:53:47 +02:00
Jörg Thalheim 12c71a8cbc
Merge pull request #44261 from dotlambda/python-jose-3.0.0
python.pkgs.python-jose: 2.0.2 -> 3.0.0
2018-08-01 10:51:39 +01:00
Jens Binkert 90ce71eb0c ldmtool: init at 0.2.4 (#43975) 2018-08-01 11:40:07 +02:00
Patrick Hilhorst e616563433 atom, atom-beta: 1.28.2 -> 1.29.0, refactored build script (#44297)
atom-beta: 1.29.0-beta1 -> 1.30.0-beta1

The beta version jump seems like an irregular update, but 1.30.0-beta0
was retired rougly 3 hours after release due to an macOS error:

> Fixed an error about a missing string_decoder module when the Git pane
> is displayed on macOS.

This shouldn't affect the Linux x86_64 version, but latest versions are
always nice.

Also refactored the build script, it now takes the version number as
an extra (optional) argument and creates the version number from that.

Also removed `rec` from the main set because it was no longer needed.
2018-08-01 11:30:10 +02:00
Izorkin d1d4ec90ae bazaar: fix buid 2018-08-01 11:46:25 +03:00
Uli Baum 26210f556a memo: don't use ag alias
using the alias `ag` for `silver-searcher` broke the nixpkgs tarball
with an error in eval-release.nix, see discussion in #44273.
2018-08-01 10:44:04 +02:00
xeji d7c34debe2
Merge pull request #44283 from kalbasit/nixpkgs-fix-44282
cups-filters: fix the build with poppler-0.67.0
2018-08-01 10:25:53 +02:00
Izorkin c83eff9022 edk2: fix buid 2018-08-01 11:15:17 +03:00
Jörg Thalheim 02ba14dbd2
Merge pull request #44249 from lukeadams/scrcpy
scrcpy: init at v1.2
2018-08-01 09:14:27 +01:00
Jörg Thalheim 7ceaaa6d3a
Merge pull request #44214 from roconnor/bitcoin
Update Bitcoin and its MiniUPnPc dependency
2018-08-01 09:09:45 +01:00
Jörg Thalheim 980b68dd14
Merge pull request #44279 from bachp/gluster-3.12.12
glusterfs: 3.12.4 -> 3.12.12
2018-08-01 08:59:28 +01:00
leenaars 184a30bdc2 inriafonts: init at 1.200 (#44280) 2018-08-01 09:57:32 +02:00
Wael M. Nasreddine 347ff3238a
cups-filters: fix the build with poppler-0.67.0
Apply the patch from https://github.com/OpenPrinting/cups-filters/pull/51

closes #44282
2018-08-01 00:47:56 -07:00