Commit Graph

148003 Commits

Author SHA1 Message Date
Jamey Sharp
f2434d1208 gnome-builder: fix whitespace 2018-08-01 13:12:54 -07:00
Justin Bedő
51fc0ef8d2 somatic-sniper: init 1.0.5.0 (#43403) 2018-08-01 22:11:13 +02:00
Uli Baum
3835786896 gitter: fix eval
gnome3.gconf was dropped
2018-08-01 21:55:14 +02:00
Maximilian Bosch
cd5e01edd9 ocserv: init at 0.12.1 (#42871)
`ocserv` is a VPN server which follows the openconnect protocol
(https://github.com/openconnect/protocol). The packaging is slightly
inspired by the AUR version
(https://aur.archlinux.org/packages/ocserv/).

This patch initializes the package written in C, the man pages and a
module for a simple systemd unit to run the VPN server. The package
supports the following authentication methods for the server:

* `plain` (mostly username/password)
* `pam`

The third method (`radius`) is currently not supported since `nixpkgs`
misses a packaged client.

The module can be used like this:

``` nix
{
  services.ocserv = {
    enable = true;
    config = ''
      ...
    '';
  };
}
```

The option `services.ocserv.config` is required on purpose to
ensure that nobody just enables the service and experiences unexpected
side-effects on the system. For a full reference, please refer to the
man pages, the online docs or the example value.

The docs recommend to simply use `nobody` as user, so no extra user has
been added to the internal user list. Instead a configuration like
this can be used:

```
run-as-user = nobody
run-as-group = nogroup
```

/cc @tenten8401
Fixes #42594
2018-08-01 21:39:09 +02:00
Jaka Hudoklin
e4ca48c224 confluent: init at 4.1.1-2.11 (#43137) 2018-08-01 21:35:42 +02:00
Yuri Aisaka
9caf7ec5a4 pybind11: init at 2.2.2 (#35027)
* pybind11: init at 2.2.2

* fix license

* remove test dependencies
2018-08-01 21:14:51 +02:00
Daiderd Jordan
61a1b20d23
doc: add darwin installCheckTarget example 2018-08-01 20:58:45 +02:00
Ivan Malison
e090fb2967 gitter: init at 4.1.0 (#43505) 2018-08-01 20:51:17 +02:00
Jan Tojnar
62e665e1ec
nixos/gnome3: warn against sessionPath 2018-08-01 20:36:25 +02:00
Daiderd Jordan
64e550c31f
jq: disable strptime test on darwin
This seems to fail depending on the machine's configuration, probably
something locale or timezone related.
2018-08-01 20:33:44 +02:00
Michael Weiss
8aa04df600
Merge pull request #44310 from primeos/android-studio-improvements
Android Studio improvements
2018-08-01 20:24:03 +02:00
Andreas Rammhold
7feba330da
nixos/manual: added missing xml tags 2018-08-01 20:21:28 +02:00
Michael Weiss
8caeec1ba7 androidStudioPackages: Use recurseIntoAttrs
IMO it makes sense that the other channels show up in nix-env as well.
2018-08-01 19:47:36 +02:00
Michael Weiss
88bfbf6c7d android-studio-preview: Print a deprecation warning
Hope this is ok... :)
2018-08-01 19:47:36 +02:00
Michael Weiss
d8b44edd8f androidStudioPackages: Use more intuitive names for the derivations 2018-08-01 19:47:36 +02:00
Michael Weiss
31583d7cb6 androidStudioPackages: Refactor the code 2018-08-01 19:47:36 +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
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