Commit Graph
43498 Commits
Author SHA1 Message Date
Eelco Dolstra 886b9e27a6 httpd.nix: Support non-root operation 2013-11-18 18:04:17 +01:00
Eelco Dolstra 2b0aea1793 Allow running NixOS services outside of systemd
The attribute ‘config.systemd.services.<service-name>.runner’
generates a script that runs the service outside of systemd.  This is
useful for testing, and also allows NixOS services to be used outside
of NixOS.  For instance, given a configuration file foo.nix:

  { config, pkgs, ... }:

  { services.postgresql.enable = true;
    services.postgresql.package = pkgs.postgresql92;
    services.postgresql.dataDir = "/tmp/postgres";
  }

you can build and run PostgreSQL as follows:

  $ nix-build -A config.systemd.services.postgresql.runner -I nixos-config=./foo.nix
  $ ./result

This will run the service's ExecStartPre, ExecStart, ExecStartPost and
ExecStopPost commands in an appropriate environment.  It doesn't work
well yet for "forking" services, since it can't track the main
process.  It also doesn't work for services that assume they're always
executed by root.
2013-11-18 18:04:17 +01:00
Eelco Dolstra dc87f8e080 Check whether fileSystems defines the root FS 2013-11-18 18:04:16 +01:00
Eelco Dolstra 8951be2d80 Allow overrides to work for unit options 2013-11-18 18:04:16 +01:00
Eelco Dolstra 33cb0bbb4b Use types.lines for script/preStart/postStart/postStop 2013-11-18 18:04:16 +01:00
Eelco Dolstra 5620e69b5d Apply better type checking to unitConfig/serviceConfig/...
In particular, complain if two modules define the same systemd option.
2013-11-18 18:04:16 +01:00
Eelco Dolstra f8a034172a Fix broken Conflicts options 2013-11-18 18:04:16 +01:00
Eelco Dolstra 08a85c2152 Allow building/testing individual systemd units 2013-11-18 18:04:16 +01:00
Rok Garbas 174f5813ef nginx: rtmp module - commited to fast. now it works. 2013-11-18 17:04:30 +01:00
Rok Garbas f73185d596 nginx: adding rtmp module 2013-11-18 16:02:33 +01:00
Peter Simons 2df5e8122b haskell-language-ecmascript: fix build
The test suite fails because of <https://github.com/jswebtools/language-ecmascript/issues/7>.
Jailbreak to support current versions of QuickCheck: <https://github.com/jswebtools/language-ecmascript/issues/49>.
2013-11-18 12:14:16 +01:00
Sergey Mironov 1fa1dd24ad yandex-disk: add the Yandex.Disk cloud storage client
Details:
http://help.yandex.com/disk/cli-clients.xml
2013-11-18 14:31:50 +04:00
Oliver Charles 9d51b03053 haskellPackages.smallcheck: Update to 1.1 2013-11-18 11:28:18 +01:00
Oliver Charles db8c22c6d3 haskellPackages.tasty*: Add ocharles to the list of maintainers 2013-11-18 11:28:17 +01:00
Oliver Charles 41a0cb7bd9 haskellPackages.tastyTh: New expression 2013-11-18 11:28:17 +01:00
Oliver Charles 6e89adc6ba haskellPackages.tastyGolden: New expression 2013-11-18 11:28:17 +01:00
Oliver Charles 17b738330c haskellPackages.tastyQuickcheck: New expression 2013-11-18 11:28:17 +01:00
Oliver Charles 2e8c5b626c haskellPackages.tastyHspec: New expression 2013-11-18 11:28:17 +01:00
Oliver Charles 1eb47b17af haskellPackages.tastyAntXml: New expression 2013-11-18 11:28:17 +01:00
Peter Simons 8786aa1213 Merge pull request #1218 from ocharles/web-routes
haskellPackages.webRoutesBoomerang: new expression
2013-11-18 02:26:42 -08:00
Bjørn Forsman 99c09eacb4 asciidoc: update 8.6.8 -> 8.6.9
Changes: http://www.methods.co.nz/asciidoc/CHANGELOG.html
2013-11-17 23:14:30 +01:00
Bjørn Forsman 9c0e95663a lighttpd: update 1.4.32 -> 1.4.33
Changes in this version: http://www.lighttpd.net/2013/9/27/1-4-33/
2013-11-17 23:06:25 +01:00
Vladimír Čunát 747e757500 libunique: fix build, make the package unique
The one in gnome2 was failing to build,
but all there is likely in a desolate state anyway.

In gmpc it also seemed without any reason to have a duplicate.
2013-11-17 22:26:49 +01:00
Bjørn Forsman 21e86d498f newsbeuter: update 2.6 -> 2.7 2013-11-17 21:33:24 +01:00
Vladimír Čunát 4aa1dff1d6 gvfs: major update 1.14.2 -> 1.18.3, unify to one
There were several files defining gvfs, now use one common.
Also delete long-unused forgotten xfce file.
2013-11-17 20:20:13 +01:00
zimbatm 55639c3aeb Adds a new package: direnv 2013-11-17 19:53:54 +01:00
zimbatm d33f1a218e Add myself to the maintainers. Hello NixOS ! 2013-11-17 19:53:54 +01:00
Arvin Moezzi bb8406b3c0 calibre: upgrade 1.8.0 -> 1.11.0 2013-11-17 19:49:29 +01:00
Michael Raskin 98e8d9d5a3 Adding BadVPN network (mostly BPN) tools 2013-11-17 21:48:26 +04:00
Vladimír Čunát 85b6d28862 imagemagick: minor update 6.8.7-5 -> .7-6 2013-11-17 15:41:10 +01:00
Vladimír Čunát 04921cbae6 desktop_file_utils: update 2013-11-17 15:14:20 +01:00
Vladimír Čunát 017b36a5df dbus_python: update 1.1.1 -> 1.2.0 2013-11-17 15:10:46 +01:00
Vladimír Čunát a44df6d289 libgsf: bugfix update 1.14.26 -> .28 2013-11-17 15:10:24 +01:00
zimbatm 8677a22dd5 Fixes go 1.1.2 compilation on OSX Maverick
Apparently Apple thinks that faking gcc wiht a clang stub but not providing a
compatile libgcc.a is not going to cause any issues. They really do hate GPL.
2013-11-17 13:51:37 +00:00
Vladimír Čunát 1812522f2a libssh: bugfix update + CVE-2013-0176
It seems an old DoS-only problem.
2013-11-17 14:48:42 +01:00
Vladimír Čunát 6c193c7053 gtk3: bugfix updates 3.10.0 -> .4 2013-11-17 14:43:32 +01:00
Vladimír Čunát 5aaabde3b8 gdk_pixbuf: bugfix update 2.30.0 -> .1 2013-11-17 14:35:29 +01:00
Vladimír Čunát 90e63ea5dd gnome3.at_spi2_*: bugfix update 2.10.0 -> .2 2013-11-17 14:31:03 +01:00
Vladimír Čunát 08085aaf0a libusb1: update 1.0.16 -> .17 2013-11-17 14:27:19 +01:00
Vladimír Čunát 3bcc63913b harfbuzz: major update 0.9.12 -> .24
Also use deps recommended by upstream (by defaul).
2013-11-17 14:16:28 +01:00
Vladimír Čunát 45859b5f34 icu: update 51.1 -> 52.1 2013-11-17 14:08:21 +01:00
Vladimír Čunát 1876b8e4b2 glib: bugfix update 2.38.0 -> .2 2013-11-17 13:48:22 +01:00
Vladimír Čunát 2a1cd6433b pixman: major update 0.30.2 -> 0.32.2
This is new major release with performance improvements for image scaling,
and a large number of bug fixes.
2013-11-17 13:44:40 +01:00
Vladimír Čunát 6dc30df086 libdrm: minor update 2.4.46 -> .48 2013-11-17 13:41:10 +01:00
Bjørn Forsman 9f9f905819 json-c: add meta.platforms and break overlong line 2013-11-17 12:15:02 +01:00
Jason "Don" O'Conal f49f9225d5 newsbeuter: add dev expression 2013-11-17 12:06:38 +01:00
Bjørn Forsman 452b25b6c3 qmmp: add meta.respositories
This metadata is used by the tool @phreedom is writing to automatically
find package updates.
2013-11-17 12:02:37 +01:00
Vladimír Čunát b8aba318bd mesa: build libOSMesa into $osmesa output 2013-11-17 10:53:41 +01:00
Vladimír Čunát 9df6a053c3 libvdpau: minor update 0.6 -> 0.7 2013-11-16 21:36:05 +01:00
Vladimír Čunát 9da8db195b mesa: minor update, enable vdpau drivers by default
It is in $drivers; it also depends on LLVM.
No testing done yet.
2013-11-16 21:35:26 +01:00