This improves error messages when a set or a list is used where a path
was expected. For an example, if you used a package set (as opposed to a
single package) in systemPackages before this commit, the error was:
```
cannot coerce a list to a string, at "/home/nixpkgs/lib/types.nix":103:37
```
Now, the error message reads:
```
The option value `environment.systemPackages' in `/etc/nixos/configuration.nix' is not a list of paths.
```
For example, this allows writing
nix.package = /nix/store/786mlvhd17xvcp2r4jmmay6jj4wj6b7f-nix-1.10pre4206_896428c;
Also, document types.package in the manual.
vicious is a module for creating widgets on window managers.
This commit adds the library and a wrapper lua file for easy importing.
I use the library with the awesome window manager via luaModules:
services.xserver.windowManager.awesome.luaModules = [
pkgs.luaPackages.vicious
];
This is like callPackageWith, except that it expects the supplied
function to return a *set* of packages. It will then make the
individual packages overridable.
It's unused, and also a bad idea: because it recursively recomputes
every function argument and there is no sharing, you can get an
exponential (?) blowup in evaluation time. For example, evaluating
‘linuxPackages.kernel’ takes 0.09s and ~13 MiB, but evaluating
‘linuxPackages.kernel.deepOverride {}’ takes 3.6s and ~305 MiB.
The notion (not-ion) window manager [1], plus optional (defaulted to
true) Xft/pango support (via [2]). Defined a license (notion uses a
modified LGPL).
As per [3], changes:
1. renamed option from pango -> xft, better to reflect the actual
nature of the patch;
2. modified the patch to replace the postPatch changes to system-autodeteck.mk;
3. commited the patch to the nixpkgs repo;
4. removed 'fallbackFont' as an option. Use a sensible default, instead.
Many stylistic changes, thanks to @lethalman.
[1] http://notion.sourceforge.net
[2] http://sourceforge.net/p/notion/feature-requests/47/
[3] https://github.com/NixOS/nixpkgs/pull/8789
Previously, conflicting definitions would merge to "true". Now they
give an error, e.g.
error: The option `hardware.enableAllFirmware' has conflicting definitions, in `/etc/nixos/configurations/misc/eelco/stuff.nix' and `/etc/nixos/configurations/misc/eelco/mandark.nix'.
The server currently starts without error messages (on OS X) if you also
install redis and rabbitmq-server and start their processes without any
further configuration:
$ redis-server
$ rabbitmq-server
$ sensu-server
Haven't tried much more yet, but will in a bit.
(Amended: fix whitespace and string literal formatting issues, and
superfluous dependencies created by the generator script.
Thanks the-kenny!)
It now strictly evaluates all remaining attributes, preventing
unevaluated thunks that cannot be garbage-collected. It's also applied
to all jobs in Nixpkgs' release.nix.
This reduces hydra-eval-jobs' memory consumption on the 14.12
release-combined jobset from 5.1 GB to 2.0 GB.
This move idioms which were used in `evalOptionValue` and in the `merge`
functions of `listOf` and `attrsOf` types, such that we can use a names such
as `isDefined` and `optionalValue` instead or repeating identical
comparisons of `defsFinal == []`.
The current implementation of the ApplyIfFunction is looking at the
arguments of a module to decide which arguments should be given to each
module. This patch make sure that we do not wrap a submodule function in
order to keep functionArgs working as expected.
Ideally the module system could be configured pretty much completely by
the contents of the modules themselves, so add comments about avoiding
complicating it further and possibly removing now-redundant
configurability from the existing interface.
This allows for module arguments to be handled modularly, in particular
allowing the nixpkgs module to handle the nixpkgs import internally.
This creates the __internal option namespace, which should only be added
to by the module system itself.
This simplifes typechecking and allows properties to be used inside of
the attribute sets.
This fixes the empty synergy-client and synergy-server services
previously generated on systems with synergy disabled.
This makes the relationship between property types clearer, and more
importantly will let option types parameterized by other option types
reuse the code for delegated type checking and merging.
(A Scheme subset for Atmel microcontrollers.)
Use of the actual git HEAD because the actual tarball compiles but
segfault at runtime.
Upload the BLINK.ms sample on arduino board (/dev/ttyACM0):
```sh
$ sudo ./result/bin/microscheme -m UNO -d /dev/ttyACM0 -auc ~/repo/perso/microscheme/examples/BLINK.ms
Microscheme 0.8, (C) Ryan Suchocki
>> Treeshaker: After 4 rounds: 84 globals purged! 22 bytes will be
reserved.
>> 18 lines compiled OK
>> Assembling...
>> Uploading...
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100%
0.00s
avrdude: Device signature = 0x1e950f
avrdude: reading input file
"/home/tony/repo/perso/microscheme/examples/BLINK.hex"
avrdude: writing flash (2080 bytes):
Writing | ################################################## | 100%
0.35s
avrdude: 2080 bytes of flash written
avrdude: safemode: Fuses OK (E:00, H:00, L:00)
avrdude done. Thank you.
>> Cleaning Up...
>> Finished.
```
The patch is borrowed verbatim from Debian. It is under the same
license as the rest of the package, and is necessary for the app to
work.
There does not seem to be a canonical upstream homepage for this app
other than Debian itself.
Change-Id: I4f0bec32a95778fb12a48bfb280386b65a0d0f9a
These aren't readily picked up by Hunspell-compatible software such as
Firefox or LibreOffice just yet, as they need to be setup to look for
the dictionaries at the proper paths. Nevertheless, one can point
Hunspell-compatible tools to, say, $HOME/.nix-profile/share/hunspell and
they will find the dictionaries:
% echo "bonjor" | hunspell -d fr-classique
Can't open affix or dictionary files for dictionary named "fr-classique".
% export DICPATH=$HOME/.nix-profile/share/hunspell
% echo "bonjor" | hunspell -d fr-classique
Hunspell 1.3.3
& bonjor 1 0: bonjour
The full list of packages added:
hunspellDicts.es-any hunspell-dict-es-any-rediris-0.7
hunspellDicts.es-ar hunspell-dict-es-ar-rediris-0.7
hunspellDicts.es-bo hunspell-dict-es-bo-rediris-0.7
hunspellDicts.es-cl hunspell-dict-es-cl-rediris-0.7
hunspellDicts.es-co hunspell-dict-es-co-rediris-0.7
hunspellDicts.es-cr hunspell-dict-es-cr-rediris-0.7
hunspellDicts.es-cu hunspell-dict-es-cu-rediris-0.7
hunspellDicts.es-do hunspell-dict-es-do-rediris-0.7
hunspellDicts.es-ec hunspell-dict-es-ec-rediris-0.7
hunspellDicts.es-es hunspell-dict-es-es-rediris-0.7
hunspellDicts.es-gt hunspell-dict-es-gt-rediris-0.7
hunspellDicts.es-hn hunspell-dict-es-hn-rediris-0.7
hunspellDicts.es-mx hunspell-dict-es-mx-rediris-0.7
hunspellDicts.es-ni hunspell-dict-es-ni-rediris-0.7
hunspellDicts.es-pa hunspell-dict-es-pa-rediris-0.7
hunspellDicts.es-pe hunspell-dict-es-pe-rediris-0.7
hunspellDicts.es-pr hunspell-dict-es-pr-rediris-0.7
hunspellDicts.es-py hunspell-dict-es-py-rediris-0.7
hunspellDicts.es-sv hunspell-dict-es-sv-rediris-0.7
hunspellDicts.es-uy hunspell-dict-es-uy-rediris-0.7
hunspellDicts.es-ve hunspell-dict-es-ve-rediris-0.7
hunspellDicts.fr-any hunspell-dict-fr-any-dicollecte-5.2
hunspellDicts.fr-classique hunspell-dict-fr-classique-dicollecte-5.2
hunspellDicts.fr-moderne hunspell-dict-fr-moderne-dicollecte-5.2
hunspellDicts.fr-reforme1990 hunspell-dict-fr-reforme1990-dicollecte-5.2
hunspellDicts.it-it hunspell-dict-it-it-linguistico-2.4
hunspellDicts.en-us hunspell-dict-en-us-wordlist-2014.11.17
hunspellDicts.en-ca hunspell-dict-en-ca-wordlist-2014.11.17
hunspellDicts.en-gb-ise hunspell-dict-en-gb-ise-wordlist-2014.11.17
hunspellDicts.en-gb-ize hunspell-dict-en-gb-ize-wordlist-2014.11.17
Added myself to maintainers.nix