Commit graph

88871 commits

Author SHA1 Message Date
8573 34435a9502 redshift: Fix default value of $DISPLAY (#17746)
Before commit 54fa0cfe4e, the `redshift`
service was run with the environment variable `DISPLAY` set to `:0`.

Commit 54fa0cfe4e changed this to
instead use the value of the `services.xserver.display` configuration
option in the value of the `DISPLAY` variable. In so doing, no default
value was provided for the case where `services.xserver.display` is
`null`.

While the default value of `services.xserver.display` is `0`, use of
which by the `redshift` module would result in `DISPLAY` again being
set to `:0`, `services.xserver.display` may also be `null`, to which
value it is set by, e.g., the `lightdm` module.

In the case that `services.xserver.display` is `null`, with the change
made in commit 54fa0cfe4e, the `DISPLAY`
variable in the environment of the `redshift` service would be set to
`:` (a single colon), which, according to my personal experience,
would result in —

  - the `redshift` service failing to start; and

  - systemd repeatedly attempting to restart the `redshift` service,
    looping indefinitely, while the hapless `redshift` spews error
    messages into the journal.

It can be observed that the malformed value of `DISPLAY` is likely at
fault for this issue by executing the following commands in an
ordinary shell, with a suitable `redshift` executable, and the X11
display not already tinted:

  - `redshift -O 2500` — This command should reduce the color
    temperature of the display (making it more reddish).

  - `DISPLAY=':' redshift -O 6500` — This command should raise the
    color temperature back up, were it not for the `DISPLAY`
    environment variable being set to `:` for it, which should cause
    it to, instead, fail with several error messages.

This commit attempts to fix this issue by having the `DISPLAY`
environment variable for the `redshift` service default to its old
value of `:0` in the case that `services.xserver.display` is `null`.

I have tested this solution on NixOS, albeit without the benefit of a
system with multiple displays.
2016-08-17 13:34:26 +02:00
Michal Rus d965dfc00d bitwig-studio: init at 1.3.12 (#17756) 2016-08-17 13:23:48 +02:00
cmfwyp c403221af5 calibre: 2.58.0 -> 2.64.0 (#17771)
Extension definitions were moved to extensions.json, so the patch
needed to be updated.
2016-08-17 13:20:39 +02:00
Franz Pletz 6aa729cf52 ympd: remove unncessary preConfigure hook
Fixes #17788.
2016-08-17 13:19:41 +02:00
Franz Pletz 131bc22b84 gitlab service: add option for db_key_base secret 2016-08-17 13:17:47 +02:00
Franz Pletz cfb930c985 znapzend: 0.15.5 -> 0.15.7 2016-08-17 13:17:46 +02:00
Langston Barrett 0cc89278a1 ympd: init at 1.3.0 2016-08-17 13:17:41 +02:00
Nikolay Amiantov 1db8403e6f Merge pull request #17792 from jflanglois/stage-1-zram
stage-1: exclude zram devices from resumeDevices
2016-08-17 14:16:20 +04:00
Franz Pletz 32ce20c86b Merge pull request #17791 from ebzzry/emem-0.2.24
emem: 0.2.23 -> 0.2.24
2016-08-17 11:20:02 +02:00
Frederik Rietdijk 80b3a7b128 Revert "pythonPackages.psutil: 3.4.2 -> 4.3.0"
This reverts commit 86caec1be1.

In this commit tests were re-enabled, but without correctly testing whether it could.
When a package builds it doesn't mean the tests are actually run. This is often seen when it says that 0 tests were run.
Typically this is because the test runner was invoked incorrectly.

By re-enabling the tests, a false impression is generated that the package is tested while in fact it isn't. Furthermore, the Python 3.5
package broke because the tests are invoked incorrectly.

cc @abbradar
2016-08-17 10:52:22 +02:00
Lluís Batlle i Rossell 9f9cac34d3 Updating mlt to 6.2.0
(cherry picked from commit 93d8ab8007)

I checked with kdenlive people, and they say that we should always use the
latest mlt possible; that it should not be any problem, and provide only
improvements.
2016-08-17 10:06:30 +02:00
Julien Langlois 552c30c155 stage-1: exclude zram devices from resumeDevices 2016-08-17 00:21:47 -07:00
Rommel M. Martinez e5a4afc1b7 emem: 0.2.23 -> 0.2.24 2016-08-17 14:37:37 +08:00
Franz Pletz efab1cb928 Merge pull request #17782 from Baughn/unifi-fix
Unifi controller fixes
2016-08-17 06:24:55 +02:00
Franz Pletz 2571438988 linux: 4.7 -> 4.7.1 2016-08-17 05:46:00 +02:00
Franz Pletz 7a4407461b linux: 4.6.6 -> 4.6.7
Fixes CVE-2016-5696.
2016-08-17 05:45:59 +02:00
Franz Pletz da95fb368c linux: 4.4.17 -> 4.4.18
Fixes CVE-2016-5696.
2016-08-17 05:45:59 +02:00
Franz Pletz 2104d28bcd linux: 4.1.27 -> 4.1.30
Fixes CVE-2016-5696.
2016-08-17 05:45:59 +02:00
Franz Pletz b070a9c439 gitlab: 8.10.3 -> 8.10.6 2016-08-17 05:36:24 +02:00
Matthew Bauer 49bb0aa25a gnustep: attempt to fix osx building
Set with-layout=fhs. This should prevent OS X from having compat issues.
2016-08-16 21:53:45 +00:00
Matthew Bauer 2e5edbfd99 gnustep: move to pkgs/desktops/gnustep 2016-08-16 21:53:45 +00:00
Matthew Bauer 63bd635f80 libobjc2: 1.7 -> 1.8.1 2016-08-16 21:53:33 +00:00
Matthew Bauer a8befcb796 gnustep: fixup descriptions, remove punctuation
This is based on @joachifm's review. Reworded description in each of
GNUstep's attributes.
2016-08-16 21:11:06 +00:00
Matthew Bauer f541715057 gnustep: fix gdomap service
This gets rid of the rest of the pidfile stuff and makes gdomap just act
like a normal systemd process. Also reword "enable" option.
2016-08-16 21:11:06 +00:00
Matthew Bauer 08ce2d9d40 gnustep: remove gdnc service
gdnc is a user process and can't be made into a NixOS module very
easily. It can still be put in the user's login script. According to the
GNUstep documentation it will be started as soon as it is needed.
2016-08-16 21:11:05 +00:00
Matthew Bauer 5ea9bd0920 gnustep: fix naming of gnustep stuff
This should fix the NixOS issues.
2016-08-16 21:11:05 +00:00
Matthew Bauer 387d5e07fd gnustep: remove unneeded lines in patches
There were alot of unnecessary "Only In" lines that were left in the
patch files. This should remove all of them.
2016-08-16 21:11:05 +00:00
Matthew Bauer 4ebfc31388 gnustep: add alias for old gnustep-make 2016-08-16 21:11:05 +00:00
Matthew Bauer 0e58029488 gnustep: update to latest upstream versions
back, base, gorm, gui, gworkspace, and make were updated. xcode was
removed because it's not building correctly.
2016-08-16 21:11:05 +00:00
Matthew Bauer 1e663df66c gnustep: provide default meta
Meta data like maintainers, license, and homepage is shared throughout the
"gnustep" project. Everything going through "gsmakeDerivation" now
shares overridable metadata.
2016-08-16 21:11:05 +00:00
Matthew Bauer c3974455eb gnustep: rescope everything into one folder
This should make merge conflicts easier to
handle. "gnustep" prefix has been removed to
make thing simpler. So "gnustep_make" is now
"make" within the gnustep scope.
2016-08-16 21:10:54 +00:00
Artyom Shalkhakov 697982b91b gnustep: fix gdnc, gdomap
Both gdnc and gdomap seem to work.
2016-08-16 21:00:31 +00:00
Artyom Shalkhakov d3d580ebbe gnustep: cleanup
Major clean-up. Everything builds fine.
2016-08-16 21:00:27 +00:00
Artyom Shalkhakov 9b17cd8fab gnustep: add nixos deamons
Adding basic daemons: gdomap and gdnc. It seems that GWorkspace
does is unable to work properly without the daemons.
2016-08-16 21:00:21 +00:00
Artyom Shalkhakov cf79db3549 gnustep: fix gworkspace
Minor fix: just to make GWorkspace buildable as it is.
2016-08-16 21:00:13 +00:00
Artyom Shalkhakov 15c5a533b5 gnustep: add gworkspace and systempreferences
Packaging some basic GNUstep apps: GWorkspace and SystemPreferences.

Unfortunately, GWorkspace doesn't work well, because gdomap, gdnc, gpbs
are not started. Also, there is some issue with fonts not being found.
2016-08-16 20:59:58 +00:00
Artyom Shalkhakov ea3dcb3264 gnustep: add setup hook for make
Adding a setup-hook for gnustep-make.
2016-08-16 20:59:50 +00:00
Artyom Shalkhakov 4cbeef463c gnustep: use gnustep_builder
Built ProjectCenter and Gorm with the new gnustep_builder. Had to go
back and fix a few things.
2016-08-16 20:59:36 +00:00
Artyom Shalkhakov d39e5372dc gnustep: cleanup
Cleaning up. Adding GNUstep package builder for abstracting out GNUstep
compilation specifics (with thanks to GitHub user lethalman).

The rules for using build_gnustep_package are as simple: any
GNUstep-based package that the package being compiled depends upon are
to be put in [deps] (this is used for setting up a buildEnv), while
other dependencies are put into [buildInputs] as usual.
2016-08-16 20:59:30 +00:00
Artyom Shalkhakov 5db3f3ee61 gnustep: remove gnustep-startup
Removing gnustep-startup (not needed anymore). Adding Gorm and
ProjectCenter applications (these mostly work, provided the environment
is set up manually).
2016-08-16 20:59:23 +00:00
Artyom Shalkhakov 52d17a5f41 gnustep: packageg libs separately
Packing gnustep libs separately, with no use of gnustep-startup. Also,
fixed a bug in WindowMaker package (some imaging dependencies were not supplied).
2016-08-16 20:59:08 +00:00
Artyom Shalkhakov a28c729766 gnustep: init
Adding new library: gnustep-startup, which packages the core
libraries necessary for GNUstep: gnustep-make, gnustep-base,
gnustep-gui, gnustep-backend.
2016-08-16 20:58:57 +00:00
Frederik Rietdijk 5a501bd828 Remove top-level dbus_python and pythonDBus.
See #11567.

Furthermore, it renames pythonPackages.dbus to pythonPackages.dbus-
python as that's the name upstream uses.

There is a small rebuild but I couldn't figure out the actual cause.
2016-08-16 22:52:37 +02:00
Frederik Rietdijk 6b23bd99a3 Remove top-level pyatspi
See #11567.
2016-08-16 22:52:37 +02:00
Matthew Bauer a2937ba293 searx: force to use new pyopenssl 2016-08-16 20:47:18 +00:00
Matthew Bauer 7d3bccdd7c service-identity: 14.0.0 -> 16.0.0
- adds attrs as input
2016-08-16 20:33:59 +00:00
Domen Kožar 40da4e6ce7 fix eval 2016-08-16 22:30:15 +02:00
Domen Kožar 584c19b4a5 Merge pull request #17720 from oxij/fix-xen
Fix xen build
2016-08-16 22:06:52 +02:00
Svein Ove Aas 102472b8de unifi: Open required ports by default.
The controller does not work at all if they aren't, with the exception
of special configurations involving L3 or custom ports.
2016-08-16 21:01:49 +01:00
Svein Ove Aas e3f0a09b6d unifi: chown the data dir as well.
It needs to be writeable.
2016-08-16 21:01:49 +01:00