143772 Commits

Author SHA1 Message Date
Maximilian Bosch
8325996621
nixos/autorandr: make default target in systemd service configurable
The `.service` file defining the `systemd` unit for `autorandr.service`
which is bundled with the package itself uses `--default default` in the
`ExecStart` section. This can be an issue when having multiple layouts
(e.g. `default` as workstation layout I mostly work on and `mobile` when
I go somewhere else).

When the service gets restarted and `--default` can't be applied,
however the current layout can't be detected (e.g. when working with an
unknown beamer) the service silently fails with a message like this:

```
Jun 22 18:44:46 hauptshuhle autorandr[3168]: /nix/store/h83b72ffm68nm8fyjnppljchp456a94r-xrandr-1.5.0/bin/xrandr: ca>
Jun 22 18:44:46 hauptshuhle autorandr[3168]: Failed to apply profile 'default' (line 718):
Jun 22 18:44:46 hauptshuhle autorandr[3168]:   Command failed: /nix/store/h83b72ffm68nm8fyjnppljchp456a94r-xrandr-1.>
```

As discussed in the IRC (see https://botbot.me/freenode/nixos/2018-07-05/?msg=101791455&page=6)
it's a bad long-term solution in terms of maintenance to manually patch
the service file bundled with the derivation, instead the service shall
be configured declaratively. Additionally this makes possible overrides
from the user-space way easier.

The `udev` rule (in `$out/etc/udev/rules.d`) won't' be affected, it
simply runs `systemctl start autorandr.service` when e.g. a new display
is added, so now `udev` communicates with the NixOS systemd unit.
2018-07-05 14:39:08 +02:00
Vladimír Čunát
a8c71037e0
installer tests: avoid udisks2
This is a temporary hack to fix channel until we resolve #42324.
2018-06-22 10:47:05 +02:00
Pascal Wittmann
11a0d130ff
Merge pull request #42346 from Ma27/fix-yabar
yabar: fix build
2018-06-22 09:47:05 +02:00
Jörg Thalheim
85b1312b07
Merge pull request #42356 from Ma27/fix-thefuck-module
nixos/thefuck: move init scripts to `programs.*.interactiveShellInit`
2018-06-22 07:09:12 +01:00
Peter Hoeg
2cee0c41e4 jdupes: 1.9 -> 1.10.2 2018-06-22 11:17:34 +08:00
Matthew Justin Bauer
9185df5f9d
Merge pull request #41614 from teto/flent_wrap
[RFC/RDY] flent: add manpage + init http-getter
2018-06-21 21:33:49 -04:00
Matthew Bauer
fc048073e6 git: remove object file from closure
This file pulls in some big dependencies that are unneeded (like
clang).
2018-06-21 19:47:10 -04:00
Maximilian Bosch
6c66e15bbf
nixos/thefuck: move init scripts to programs.*.interactiveShellInit
`fuck` should only be used for interactive sessions, but nothing more
(so init files like `/etc/zshenv` become even more lightweight).
2018-06-22 01:32:11 +02:00
Jörg Thalheim
4756e6ff3b
Merge pull request #42354 from Mic92/hub
gitAndTools.hub: remove go compiler from runtime closure
2018-06-22 00:17:33 +01:00
Jörg Thalheim
6906e5c149 gitAndTools.hub: remove go compiler from runtime closure 2018-06-21 23:34:44 +01:00
Matthew Justin Bauer
fe948fd6b0
Merge pull request #42327 from bkchr/fix_plasma5_test
tests.plasma5: Fixes OCR in sddm by providing a custom theme
2018-06-21 18:24:35 -04:00
John Ericson
e050011aa3
Merge pull request #42311 from obsidiansystems/haskell-enable-shared-defaults
haskell: make generic builder follow compiler’s shared config
2018-06-21 18:07:11 -04:00
Matthew Justin Bauer
ec2ea29716
Merge pull request #41855 from obsidiansystems/gradle-app
init androidenv.buildGradleApp
2018-06-21 17:45:23 -04:00
Maximilian Bosch
2ae32923ed
yabar: fix build
The stable build for `yabar` is currently broken: https://hydra.nixos.org/build/75989172

Main reason is that the inline function `ya_setup_prefix_suffix` is
supposed to be an inline function, but was insufficiently declared as
such which broke the compiler recently with the following message:

```
gcc -std=c99 -Iinclude -pedantic -Wall -Os `pkg-config --cflags pango pangocairo libconfig` -DVERSION=\"0.4.0\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL -DYA_DYN_COL -DYA_ENV_VARS -DYA_INTERNAL_EWMH  -c -o src/intern_blks/ya_intern.o src/intern_blks/ya_intern.c
gcc -o yabar src/ya_main.o src/ya_draw.o src/ya_exec.o src/ya_parse.o src/intern_blks/ya_intern.o -lxcb -lpthread -lxcb-randr -lxcb-ewmh `pkg-config --libs pango pangocairo libconfig`
src/intern_blks/ya_intern.o: In function `ya_int_date':
ya_intern.c:(.text+0x49): undefined reference to `ya_setup_prefix_suffix'
src/intern_blks/ya_intern.o: In function `ya_int_uptime':
ya_intern.c:(.text+0xf4): undefined reference to `ya_setup_prefix_suffix'
src/intern_blks/ya_intern.o: In function `ya_int_brightness':
ya_intern.c:(.text+0x1d8): undefined reference to `ya_setup_prefix_suffix'
src/intern_blks/ya_intern.o: In function `ya_int_bandwidth':
ya_intern.c:(.text+0x377): undefined reference to `ya_setup_prefix_suffix'
src/intern_blks/ya_intern.o: In function `ya_int_cpu':
ya_intern.c:(.text+0x6de): undefined reference to `ya_setup_prefix_suffix'
src/intern_blks/ya_intern.o:ya_intern.c:(.text+0x924): more undefined references to `ya_setup_prefix_suffix' follow
collect2: error: ld returned 1 exit status
make: *** [Makefile:18: yabar] Error 1
```

This issue has been fixed on master (see
9779a5e04b)
which is why `nixos.yabar-unstable` remained functional.
2018-06-21 23:38:13 +02:00
Daiderd Jordan
26434c0924
Merge pull request #42329 from goertzenator/erlang-21.0
add erlang-21.0
2018-06-21 22:44:11 +02:00
Matthew Bauer
2a0c328712 androidenv: add "androidsdk_latest" for latest sdk
This is easier than having to remember which SDKs are supported, etc.
Stuff based on this can become more future-proof.
2018-06-21 16:09:11 -04:00
Matthew Bauer
b72da4bee8 androidenv.buildGradleApp: refactor 2018-06-21 15:57:56 -04:00
Pascal Wittmann
d401db4290
parallel: 20180522 -> 20180622 2018-06-21 21:30:49 +02:00
Matthew Bauer
3da395fd96 xcode: add 9.4 sdk
This is the newest sdk. I have skipped 9.3 for now but someone can
certainly add it if they need it for some reason.

Also I added a generic "xcode" that will always point to the newest
xcode that is available in Nixpkgs.
2018-06-21 13:24:52 -04:00
Eelco Dolstra
bf1c28e978
PULL_REQUEST_TEMPLATE.md: Ask for closure size impact 2018-06-21 18:52:26 +02:00
Matthew Bauer
2e8feba171 androidenv: Use fetchzip instead of googlerepository 2018-06-21 12:12:31 -04:00
Daniel Goertzen
4001a680cc erlangR21: init at 21.0 2018-06-21 09:36:54 -05:00
adisbladis
3813d5dcec
Merge pull request #42328 from holidaycheck/nodejs-10.5.0
nodejs: 10.4.1 -> 10.5.0
2018-06-21 21:42:40 +08:00
Jörg Thalheim
c62bd11d7b
Merge pull request #42323 from Mic92/rancher-compose
rancher-compose: remove
2018-06-21 14:40:49 +01:00
Lancelot SIX
5fc06030f9
Merge pull request #42256 from r-ryantm/auto-update/gsl
gsl: 2.4 -> 2.5
2018-06-21 15:21:48 +02:00
Mathias Schreck
7e7f286fe6 nodejs: 10.4.1 -> 10.5.0 2018-06-21 15:03:53 +02:00
Bastian Köcher
51bafa6471 tests.plasma5: Fixes OCR in sddm by providing a custom theme
The custom theme just sets the old background colour that OCR works
again.
2018-06-21 14:52:54 +02:00
Tim Steinbach
599e3aa7a0
linux: 4.16.16 -> 4.16.17 2018-06-21 08:20:34 -04:00
Tim Steinbach
310bfc9aa7
linux: 4.14.50 -> 4.14.51 2018-06-21 08:20:25 -04:00
Jörg Thalheim
2193fcdee3 telegraf: also remove old deps file 2018-06-21 11:48:46 +01:00
Jörg Thalheim
7e67294e06 telegraf: 1.6.1 -> 1.7.0 2018-06-21 11:47:46 +01:00
Jörg Thalheim
bc8ba3e72c
Merge pull request #42274 from r-ryantm/auto-update/fwup
fwup: 1.1.0 -> 1.2.1
2018-06-21 11:27:24 +01:00
Jörg Thalheim
9da836dd03 rancher-compose: remove
I no longer use rancher and can test this derivation.
Also rancher-compose should have the same version as the rancher cluster
used. So it is better to be build by the user using it rather having a
random version in nixpkgs.
2018-06-21 11:11:41 +01:00
Jörg Thalheim
eb16ff918e
Merge pull request #42229 from r-ryantm/auto-update/marco
mate.marco: 1.20.1 -> 1.20.2
2018-06-21 09:17:33 +01:00
Jörg Thalheim
939bf0d4b2
Merge pull request #42231 from r-ryantm/auto-update/mate-media
mate.mate-media: 1.20.0 -> 1.20.1
2018-06-21 09:16:17 +01:00
Peter Simons
624a9ff647
Merge pull request #42312 from obsidiansystems/fix-android-prebuilt-ghc
Fix Android-prebuilt ghc build
2018-06-21 10:15:56 +02:00
Jörg Thalheim
dfb4f96937
Merge pull request #42233 from r-ryantm/auto-update/mate-power-manager
mate.mate-power-manager: 1.20.1 -> 1.20.2
2018-06-21 09:15:45 +01:00
Jörg Thalheim
b94269dfb9
Merge pull request #42235 from r-ryantm/auto-update/mate-polkit
mate.mate-polkit: 1.20.0 -> 1.20.1
2018-06-21 09:14:41 +01:00
Jörg Thalheim
0f0c9a4f00
Merge pull request #42004 from r-ryantm/auto-update/libpfm
libpfm: 4.9.0 -> 4.10.0
2018-06-21 09:04:17 +01:00
Jörg Thalheim
0f94e4ba66
Merge pull request #42005 from r-ryantm/auto-update/libsixel
libsixel: 1.7.3 -> 1.8.1
2018-06-21 09:02:56 +01:00
Matthew Bauer
6572cb595c gmp: fix on android prebuilt 2018-06-20 22:04:08 -04:00
Matthew Bauer
9e4aebdd7b ghc8.4: add android triple
The triple is needed for armv7a-android-prebuilt to work (partly) with
GHC.

- also set EXTRA_CC_OPTS for ghc8.2
2018-06-20 22:03:59 -04:00
Matthew Justin Bauer
b0b76bf75a
Merge pull request #41313 from Scriptkiddi/fix/gams
gams: move optgams and gamslice to $out/share/gams
2018-06-20 21:52:40 -04:00
Matthew Justin Bauer
73fde65681
Merge pull request #41632 from voanhduy1512/add_leetcode-cli
leetcode-cli: init at 2.5.2
2018-06-20 21:46:16 -04:00
Matthew Justin Bauer
31021701ac
Merge pull request #41478 from bluescreen303/docker-registry
Small improvements to the docker registry module
2018-06-20 21:45:56 -04:00
Matthew Justin Bauer
3925077548
Merge pull request #41485 from teto/owamp
[RDY] Owamp : Get one way (network) latencies between synchronized computers
2018-06-20 21:45:36 -04:00
Jörg Thalheim
b77a57b78b
Merge pull request #42241 from r-ryantm/auto-update/libmateweather
mate.libmateweather: 1.20.0 -> 1.20.1
2018-06-21 00:56:51 +01:00
Jörg Thalheim
a2aaddd862
Merge pull request #42230 from r-ryantm/auto-update/mate-notification-daemon
mate.mate-notification-daemon: 1.20.0 -> 1.20.1
2018-06-21 00:32:58 +01:00
Jörg Thalheim
ac5734752c
Merge pull request #42248 from r-ryantm/auto-update/limesuite
limesuite: 18.04.1 -> 18.06.0
2018-06-21 00:32:20 +01:00
Jörg Thalheim
3ada4fc453
Merge pull request #42234 from r-ryantm/auto-update/mate-menus
mate.mate-menus: 1.20.0 -> 1.20.1
2018-06-21 00:27:12 +01:00