1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
Commit graph

35978 commits

Author SHA1 Message Date
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
Bjørn Forsman 21e86d498f newsbeuter: update 2.6 -> 2.7 2013-11-17 21:33:24 +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
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
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 b5356f7f27 wine: (stable) bugfix update 1.6 -> 1.6.1
Tested on a couple of apps.
2013-11-16 18:22:16 +01:00
Eelco Dolstra 359e2e3add gnucash: Enable support for Finance::Quote 2013-11-16 17:29:55 +01:00
Eelco Dolstra ee5d461471 Date::Manip: Update to 6.41 2013-11-16 17:29:55 +01:00
William A. Kennington III 0eeb78d74c nvidia: Update to version 331.20
We no longer need the patches applied for the previous version so they
are removed.
2013-11-16 17:10:45 +01:00
Kim Simmons db3abf1c45 nanomsg: new package
Socket library built in C but provides bindings in many languages.
Highly efficient and easy to use.

[@bjornfor: whitespace fixes, quote shell variables and add meta.platforms]
2013-11-16 17:06:12 +01:00
Sergey Mironov d8b0c942a1 xfce: enable tumbler the thumbnail manager (close #1206) 2013-11-16 16:58:08 +01:00
Ricardo M. Correia 36a05c7b15 systemd: Add systemd.extraConfig option for /etc/systemd/system.conf 2013-11-16 16:50:59 +01:00
Ricardo M. Correia e0171ef026 systemd: Change services.logind.extraConfig type to types.lines 2013-11-16 16:50:59 +01:00
Petr Rockai dde70f9378 clang-wrapper: Optionally use libc++ instead of libstdc++. 2013-11-16 13:53:48 +01:00
Petr Rockai 7c3f07f97c clang-wrapper: Guard against LD_LIBRARY_PATH. 2013-11-16 13:53:48 +01:00
Petr Rockai e3f2e2e10b libcxx: Update to 190100 and build with libc++abi. 2013-11-16 13:53:48 +01:00
Petr Rockai 2c9f0e059a clang: Do not try to build clang-tblgen in LLVM's build path. 2013-11-16 13:53:48 +01:00
Petr Rockai 52abed95ca all-packages: Add a self-hosted variant of clang. 2013-11-16 13:53:47 +01:00
Petr Rockai 9cfc81b749 clang: Build with gcc 4.7 for better libstdc++. 2013-11-16 13:53:47 +01:00
Peter Simons 188834603a haskell-shake: update to version 0.10.9 2013-11-16 12:33:40 +01:00
Peter Simons 17fd8d5627 haskell-system-posix-redirect: update to version 1.1.0.1 2013-11-16 12:33:39 +01:00
Karn Kallio 6c32416a31 Fix HOL documentation build 2013-11-16 03:43:38 +02:00
Tom Ridge f13bcf6463 HOL: update to k.8 2013-11-16 02:52:36 +02:00
Bjørn Forsman d4b3a7d685 robotframework-ride: new package
Robot Framework RIDE is a light-weight and intuitive editor for Robot
Framework test case files. (It's more like an IDE.)
2013-11-16 00:36:45 +01:00
Bjørn Forsman fe547ab100 python-robotframework: new package
Robot Framework is a generic test automation framework for acceptance
testing and acceptance test-driven development (ATDD).

http://robotframework.org/
2013-11-15 22:01:23 +01:00