nixpkgs/doc
Maximilian Bosch a8efe61412
weechat: 2.1 -> 2.2; improve package configuration
This aims to make the `weechat` package even more configurable. It
allows to specify scripts and commands using the `configure` function
inside a `weechat.override` expression.

The package can be configured like this:

```
with import <nixpkgs> { };
weechat.override {
  plugins = { availablePlugins, ... }: {
    plugins = builtins.attrValues availablePlugins;

    init = ''
      /set foo bar
      /server add freenode chat.freenode.org
    '';

    scripts = [ "/path/to/script.py" ];
  };
}
```

All commands are passed to `weechat --run-command "/set foo bar;/server ..."`.

The `plugins' attribute is not necessarily required anymore, if it's
sufficient to add `init' commands, the `plugins' will be
`builtins.attrValues availablePlugins' by default.

Additionally the result contains `weechat` and `weechat-headless`
(introduced in WeeChat 2.1) now.
2018-09-07 13:10:43 +02:00
..
languages-frameworks Merge pull request #45914 from grahamc/section-ids 2018-09-01 15:38:52 -04:00
old reewide: Purge all uses stdenv.system and top-level system 2018-08-30 17:20:32 -04:00
.gitignore nixpkgs docs: syntax highlight 2018-03-26 21:44:24 -04:00
coding-conventions.xml doc: ran make format 2018-05-31 21:03:37 -04:00
configuration.xml Manual: Random indentation fixes 2018-09-03 17:13:46 +02:00
contributing.xml nixpkgs docs: format =) 2018-05-01 19:54:21 -04:00
cross-compilation.xml nixpkgs docs: give linked things IDs 2018-09-01 15:20:57 -04:00
default.nix Merge pull request #43857 from volth/unused 2018-07-20 21:06:32 +02:00
functions.xml Manual: Random indentation fixes 2018-09-03 17:13:46 +02:00
introduction.chapter.md Fix invalid sentence in doc (#43228) 2018-07-08 23:46:34 +02:00
Makefile doc: Adds xml fixing script. (see previous and next commits) 2018-05-31 21:02:15 -04:00
manual.xml nixpkgs docs: format =) 2018-05-01 19:54:21 -04:00
meta.xml doc: ran make format 2018-05-31 21:03:37 -04:00
multiple-output.xml nixpkgs docs: give linked things IDs 2018-09-01 15:20:57 -04:00
overlays.xml nixpkgs docs: format =) 2018-05-01 19:54:21 -04:00
overrides.css doc: Fixes in-text callouts and screen callouts. 2018-04-07 15:38:12 -04:00
package-notes.xml weechat: 2.1 -> 2.2; improve package configuration 2018-09-07 13:10:43 +02:00
platform-notes.xml nixpkgs docs: normalize 2018-08-27 19:54:41 -04:00
quick-start.xml doc: change git:// links to https:// (#44395) 2018-08-03 14:01:34 +01:00
release-notes.xml nixpkgs docs: give linked things IDs 2018-09-01 15:20:57 -04:00
reviewing-contributions.xml nixpkgs docs: give linked things IDs 2018-09-01 15:20:57 -04:00
shell.nix doc: Adds xml fixing script. (see previous and next commits) 2018-05-31 21:02:15 -04:00
shell.section.md docs: Build with a makefile 2018-03-25 19:52:07 -04:00
stdenv.xml nixpkgs docs: give linked things IDs 2018-09-01 15:20:57 -04:00
style.css nixos docs: syntax highlight 2018-04-05 07:54:01 -04:00
submitting-changes.xml Add section IDs 2018-09-01 15:06:38 -04:00