Commit graph

634 commits

Author SHA1 Message Date
Eelco Dolstra 214d4fb73c Allow options with type "package" to be store paths
For example, this allows writing

  nix.package = /nix/store/786mlvhd17xvcp2r4jmmay6jj4wj6b7f-nix-1.10pre4206_896428c;

Also, document types.package in the manual.
2015-08-07 03:09:57 +02:00
makefu 86c973d429 luaPackages.vicious: init at 2.1.3
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
    ];
2015-08-06 12:59:08 +02:00
Eelco Dolstra cbecbd01f9 Module system: Fix ‘definitions’ field
Fixes https://github.com/NixOS/nixops/issues/325.
2015-08-05 14:35:00 +02:00
Oliver Dunkl ad686d3762 Add odi to list of maintainers 2015-07-30 20:59:50 +02:00
Vladimír Čunát 7c291e2e59 super-user-spark: init at 0.1.0.0 (close #8894)
Super-User-Spark is a program for managing dotfiles.
The author is Tom Sydney Kerckhove.

Details on usage can be found on his [blogpost] as well as the [reddit thread].

[blogpost]: http://cs-syd.eu/posts/2015-07-19-super-user-spark.html
[reddit thread]: http://www.reddit.com/r/haskell/comments/3dsdi5/more_than_just_another_symlink_manager_written_in/
2015-07-30 19:14:38 +02:00
Eelco Dolstra f463d24903 Add read-only options
These are options that can have only one definition, regardless of
priority.
2015-07-30 13:44:50 +02:00
Kamil Chmielewski e610f27c43 qtile: init at 0.10.1 2015-07-28 22:55:32 +02:00
Eelco Dolstra b89b6b2a7b Add function callPackagesWith
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.
2015-07-28 21:42:25 +02:00
Eelco Dolstra 314e8e49ec Remove deepOverride
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.
2015-07-28 21:42:25 +02:00
lethalman 37e554828d Merge pull request #8878 from 2chilled/master
synapse: init at 0.2.99.1
2015-07-28 18:44:20 +02:00
Eelco Dolstra 395fdaef6c Use builtins.sort 2015-07-28 18:42:22 +02:00
Eelco Dolstra 5976d393fb Use builtins.genList
This fixes the quadratic complexity of functions like imap.
2015-07-28 18:42:22 +02:00
Eelco Dolstra 273d9ffd6a Remove superfluous copy of "min" 2015-07-28 18:42:22 +02:00
Matthias Herrmann 679a941f26 synapse: init at 0.2.99.1 2015-07-28 17:25:28 +02:00
Eelco Dolstra 7c30ce9562 Remove zipTwoLists
This function is redundant (we also have zipLists).
2015-07-28 15:04:18 +02:00
Eelco Dolstra 67b1a20f12 Minor module system evaluation speedups
This gives about a 5% speedup.

Issue #8152.
2015-07-28 15:04:18 +02:00
Eelco Dolstra 0ca10a445a Fix indentation 2015-07-28 15:04:18 +02:00
Arseniy Seroka b5ca5cc0ce Merge pull request #8914 from desiderius/falcon-0.3.0
python-packages: falcon 0.2.0 -> 0.3.0
2015-07-28 14:05:58 +03:00
desiderius f7b283896b python-packages: falcon 0.2.0 -> 0.3.0 2015-07-27 09:14:18 +02:00
Eelco Dolstra c399f94bb3 intersperse: Fix quadratic performance 2015-07-24 15:58:34 +02:00
Eelco Dolstra 2d9885db9e Remove eqStrings
It's no longer needed. Also clean up some comments.
2015-07-24 15:58:34 +02:00
Eelco Dolstra 9cfd128a42 Use replaceStrings primop 2015-07-24 15:58:34 +02:00
Eelco Dolstra 6f6f66ac98 Use concatStringSep primop 2015-07-24 15:58:34 +02:00
Eelco Dolstra 447afef153 Use builtin all and any functions 2015-07-24 15:58:34 +02:00
Eelco Dolstra 4cc6c83477 concatLists (map ...) -> concatMap 2015-07-23 18:31:54 +02:00
Eelco Dolstra 0ae8b365b3 Rename misc.nix -> deprecated.nix 2015-07-23 18:31:54 +02:00
Eelco Dolstra 637e35deb9 Use foldl' instead of fold in some places 2015-07-23 18:31:54 +02:00
Eelco Dolstra f14dab05d6 optionAttrSetToDocList: O(n^2) -> O(n)
This shaves about 10% off memory consumption of NixOS evaluation.
2015-07-23 16:49:13 +02:00
Eelco Dolstra 3cd5fd8bb3 More efficient version of filterAttrs 2015-07-23 16:49:13 +02:00
Brandon Carrell 4f4fa58199 cassandra-1.2: Add package.
- Add myself to maintainers.
- Add package to all-packages.nix.
2015-07-14 19:35:16 -04:00
Nicolas B. Pierron 37dad0ee0b Merge pull request #8814 from nbp/module-arg-context
NixOS modules: Add error context on module arguments evaluation.
2015-07-14 16:35:01 +02:00
Nicolas B. Pierron a6b455bbae NixOS modules: Add error context on module arguments evaluation. 2015-07-14 15:07:54 +02:00
lethalman 6bf51d3a85 Merge pull request #8719 from lancelotsix/add_poezio
Add poezio
2015-07-14 14:56:55 +02:00
Nicolas B. Pierron ff8b35a643 Merge pull request #8806 from nbp/issue-8152
Issue 8152 - Reduce number of attribute sets created by replaceChars.
2015-07-14 12:34:36 +02:00
Nicolas B. Pierron be65ac7c32 Issue 8152 - Reduce number of attribute set created by replaceChars. 2015-07-13 23:46:38 +02:00
James Felix Black 9b863fac6b notion: init at 3-2015061300
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
2015-07-13 12:08:05 -04:00
Leonardo Cecchi 532678fa8b bleachbit: init at 1.8 2015-07-12 16:33:59 +02:00
Lancelot SIX e1f2930213 poezio: init at 0.8.1 2015-07-10 22:40:49 +02:00
Robert Irelan f9efcd47a1 subsonic: add telotortium as maintainer 2015-07-08 09:21:27 -07:00
William Casarin 9d85874aeb lmdb: lightning memory-mapped database 2015-07-04 05:06:29 -07:00
Phil Scott 52339c7c70 tome4: add new maintainer 2015-06-28 18:35:26 +01:00
Matthew Maurer 90a4de0f1b ocaml-bitstring: init at 2.0.4 and f1673f8 2015-06-27 16:54:10 +00:00
Andrey Pavlov 5506632473 erlang: add Erlang R18, closes #8515 2015-06-26 16:15:14 +02:00
Alexander V. Nikolaev 46f5efa018 Add myself as maintainer 2015-06-26 00:31:57 +03:00
Simon Vandel Sillesen 9dab1a840c tvheadend: init at 4.0.4 2015-06-24 13:22:09 +00:00
Arseniy Seroka 266531b5b0 Merge pull request #8422 from travisbhartwell/update/atom-shell-to-electron
atom-shell: renamed to electron and updated 0.19.1 -> 0.28.2
2015-06-23 18:54:22 +03:00
laMudri f0b4065392 ibus-table: init at 1.9.6 2015-06-22 18:25:45 +02:00
Michael Raitza f10c6bef56 Added entry to maintainers.nix 2015-06-22 18:09:31 +02:00
Travis B. Hartwell 1682bd707a electron: Added myself as maintainer.
Per https://github.com/NixOS/nixpkgs/pull/8422#issuecomment-113695261
2015-06-20 12:43:10 -06:00
Leroy Hopson 5bb9988ce9 maintainers: add myself for upcoming packages 2015-06-20 12:53:04 +12:00
Mateusz Kowalczyk fc26e89159 Merge pull request #8394 from mbakke/maim
Add maim and slop
2015-06-19 15:22:20 +01:00
Marius Bakke 09c505c111 add self to maintainers 2015-06-18 22:55:56 +01:00
Andrew Kelley 8925d17034 add myself as maintainer 2015-06-18 11:52:39 -07:00
Daiderd Jordan f119508140 darwin os-specific: rez and derez packages 2015-06-18 11:34:05 +02:00
Eelco Dolstra c738b309ee types.uniq types.bool -> types.bool 2015-06-15 18:10:26 +02:00
Eelco Dolstra e212e07cf6 Make types.bool complain on conflicting definitions
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'.
2015-06-15 18:07:48 +02:00
Eelco Dolstra a4925bcfa8 Remove obsolete stuff 2015-06-15 18:07:44 +02:00
Arseniy Seroka 2e5f4a0152 Merge pull request #8255 from adevress/master
New expression for the davix toolkit
2015-06-12 00:52:37 +02:00
Adrien Devresse f12a466730 New expression for the davix toolkit 2015-06-11 22:57:13 +02:00
Vladimír Čunát 95def7e4f0 lib/maintainers: recommend to re-use github usernames 2015-06-11 22:19:20 +02:00
Daniel Peebles 6e73884c31 Merge pull request #8204 from copumpkin/modulesPath
An importable modulesPath, once again
2015-06-10 12:32:04 -04:00
lethalman f37c81323e Merge pull request #8180 from froozen/master
Add the tewi font
2015-06-08 14:27:57 +02:00
lethalman 850f775a98 Merge pull request #8213 from robbinch/pkg-wavegain
wavegain: show correct maintainer
2015-06-08 14:26:36 +02:00
Anders Papitto 50e9fa5719 dirt: include sound samples (close #8179)
also add self as maintainer
2015-06-08 10:16:03 +02:00
Robbin C 757942ddbf wavegain: show correct maintainer 2015-06-08 10:31:30 +08:00
Dan Peebles b13cb54614 Bring an importable modulesPath back from the dead, in the only way I know 2015-06-08 01:55:49 +00:00
fro_ozen 4ae0815d3b Add the tewi font 2015-06-07 19:05:05 +02:00
Eelco Dolstra 3096d03435 Revert "Refactor mkFlag / shouldUsePkg into the nixpkgs libraries"
This reverts commit 25a148fa19.
2015-06-04 14:54:48 +02:00
lethalman ea83ebff86 Merge pull request #8115 from Havvy/iojs
Update io.js to v.2.2.1
2015-06-01 16:52:04 +02:00
_1126 98e698fad2 maintainers: change of nickname. 2015-06-01 11:00:57 +02:00
Ryan Scheel (Havvy) b49026ee98 Added: Havvy as maintainer for iojs/nodejs. 2015-06-01 05:17:59 +02:00
Tobias Geerinckx-Rice 87fd373aac lib/licenses: add CC-BY-SA-2.5 2015-05-27 22:00:04 +02:00
lethalman af4d6468b2 Merge pull request #7959 from ikervagyok/darkice
New Package: Darkice
2015-05-27 10:51:59 +02:00
Tobias Geerinckx-Rice 48b7e40f0c licenses: add Vim licence 2015-05-27 00:13:19 +02:00
vbgl 2857d5d7a8 Merge pull request #7823 from ericbmerritt/ocaml-enhancements
Ocaml enhancements
2015-05-26 23:52:32 +02:00
Lengyel Balázs aa1ce46281 Inital commit for Darkice 2015-05-26 15:20:53 +02:00
Alexander Flatter be71c0871c Add meta information to heroku toolbelt 2015-05-26 13:06:34 +02:00
Eric Merritt 9cc8b80c96 add jwilberding as a maintainer 2015-05-25 13:40:32 -07:00
William A. Kennington III 384d8a79d0 Merge pull request #7717 from stephenmw/gcloud
Add the google-cloud-sdk package
2015-05-23 22:14:47 -07:00
Stephen Weinberg da2aef3685 Add the google-cloud-sdk package 2015-05-24 06:20:45 +02:00
William A. Kennington III 25a148fa19 Refactor mkFlag / shouldUsePkg into the nixpkgs libraries 2015-05-22 13:26:55 -07:00
Eric Merritt ae0e3c8974 add ericbmerritt to the maintainers list 2015-05-22 10:12:21 -07:00
Ozan Sener 97160a8644 Add Thrust 0.7.6 2015-05-20 20:58:03 +02:00
lethalman efed756e67 Merge pull request #7849 from mschristiansen/mongo-tools-2
MongoDB Tools and Go dependencies
2015-05-18 10:52:49 +02:00
Mikkel Christiansen 734bc9f2e5 Add MongoDB tools and build dependencies. 2015-05-18 10:29:22 +02:00
Jascha Geerds a84775e8f6 Merge pull request #7862 from C0DEHERO/fix/supertuxkart-update
supertuxkart: update 0.8.1 -> 0.9
2015-05-17 21:33:54 +02:00
C0DEHERO e505663051 supertuxkart: update 0.8.1 -> 0.9 2015-05-17 14:36:49 -04:00
Arseniy Seroka 78b2afadff Merge pull request #7811 from pmiddend/fcppt
Add fcppt package
2015-05-16 22:37:14 +03:00
Paulus Esterhazy 89a58c9e05 Add Jekyll maintainer 2015-05-16 20:11:41 +02:00
Philipp Middendorf 7f2262e9a8 fcppt: initial import into nixpkgs 2015-05-14 23:54:57 +02:00
lethalman 1103392dd9 Merge pull request #7794 from womfoo/kbdlight
Add kbdlight package and setuid wrapper
2015-05-14 17:09:28 +02:00
Arseniy Seroka c0727fb751 Merge pull request #7788 from Lassulus/charybdis
add charybdis nixos module
2015-05-11 12:57:58 +03:00
Kranium Gikos Mendoza 6f634e3c3a Add kbdlight package and setuid wrapper
update nixos/modules/programs/kbdlight.nix to use mkEnableOption
2015-05-11 13:23:01 +08:00
lassulus 5927faa138 add Lassulus to maintainers.nix 2015-05-10 14:10:22 +02:00
Aistis Raulinaitis a5a740a17a z3 opt 2015-05-08 23:45:07 -07:00
Philip Potter 2216728979 add support for pam_u2f to nixos pam module
This adds support for authenticating using a U2F device such as a
yubikey neo.
2015-05-03 19:22:00 +01:00
Bram Duvigneau 70241a53d0 Added Bram Duvigneau to maintainers 2015-04-29 23:30:18 +02:00
Linus Arver e216a63c7d Add package: pcg-c
Also, add myself as maintainer.
2015-04-26 14:50:45 -07:00
Edward Tjörnhammar ca9d049654 removing cocreature as maintainer, as per request #6305 2015-04-25 00:29:51 +02:00
Hendrik Bunke a96c076743 vimPlugins: added vim-jinja 2015-04-23 17:40:16 +02:00
Remy Goldschmidt de02110903 Added K Framework package.
Closes https://github.com/NixOS/nixpkgs/pull/7419.
2015-04-17 16:05:00 +02:00
Luca Bruno 9abde81f8f Improve the list of archs made by commit 1299c020e9 2015-04-17 15:25:54 +02:00
Jaka Hudoklin 1299c020e9 Add a list of platforms organized by architecture 2015-04-17 15:24:59 +02:00
Arseniy Seroka f029ccadc9 Merge pull request #7385 from Forkk/screencloud
Add package for Screencloud 1.2.0
2015-04-16 06:28:00 +03:00
Forkk 78eb702d35 qxt: init at 0.6.2 2015-04-15 22:04:33 -05:00
Tuomas Tynkkynen 3600de6791 maintainers: Add dezgeg (Tuomas Tynkkynen) 2015-04-12 17:51:39 +03:00
Arseniy Seroka e52e160190 Merge pull request #7215 from cwoac/btsync2
Add support for btsync 2.x branch
2015-04-06 18:50:05 +03:00
Oliver Matthews 0539ed4771 Add support for btsync 2.x branch 2015-04-06 15:31:40 +00:00
cillianderoiste 174d924b6e Merge pull request #6951 from nix-faust/faust-redux
Faust redux
2015-04-04 14:15:51 +02:00
Nicolas B. Pierron 6de931a0f8 Merge rename.nix changes. 2015-04-03 23:12:12 +02:00
Joel Moberg 243ec61c4f i2p: initial 2015-04-01 18:15:54 +02:00
Christian Theune b15078b579 Provide a basic package for sensu.
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!)
2015-03-30 23:56:15 +02:00
Andreas Baldeau f079de2dbf Added WebStorm IDE 2015-03-29 16:27:37 +02:00
Arseniy Seroka a639c710ae Merge pull request #6968 from oxij/unquestionably-good
Easy to check to be unquestionably good changes
2015-03-28 13:16:13 +03:00
Domen Kožar ba5134c8e0 Merge pull request #7021 from taktoa/master
Added package for willie
2015-03-27 09:39:55 +01:00
Remy Goldschmidt 1697b2a228 Added Eiffel Forum License v1 and v2 to lib/licenses.nix 2015-03-26 21:12:10 -04:00
William A. Kennington III 611a4bfc0d licenses: Add mpl-1.0 2015-03-26 17:22:11 -07:00
Jan Malakhovski 5990cce95f lib: cleanup a little bit, add traceIf 2015-03-26 12:43:42 +00:00
Patrick Mahoney 04c96957ca faust: refactored derivation 2015-03-23 12:01:53 -05:00
William Casarin ea2baa8abf spectrwm window manager 2015-03-21 11:02:44 -07:00
Jaka Hudoklin f953d77be2 Revert "Reverts a bunch of commits as a try to fix GC errors."
This reverts commit 1e4ba025c2.

Conflicts:
	pkgs/development/web/nodejs/build-node-package.nix
2015-03-21 17:49:37 +01:00
Eelco Dolstra 0461f35894 Rename scrubDrv -> hydraJob and make it more effective
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.
2015-03-20 19:46:18 +01:00
Eelco Dolstra ef0e4d56f5 Use builtin seq/deepSeq 2015-03-20 19:29:21 +01:00
Luca Bruno cb45b7ec3e Revert "nixos: Multiple service instances, apply to nginx. See #6784"
This reverts commit 7ef59c4fe2.

Wrong push! Sorry!
2015-03-18 14:09:24 +00:00
Luca Bruno 7ef59c4fe2 nixos: Multiple service instances, apply to nginx. See #6784 2015-03-18 14:07:29 +00:00
lethalman 66d119c55c Merge pull request #6862 from hmuehlhans/master
p2pvc: new package
2015-03-18 10:10:30 +01:00
hmuehlhans ec9f528961 p2pvc: new package
Added myself to maintainers
2015-03-17 21:04:05 +01:00
lukasepple f7f0fd0dfe
Added CC-BY-SA 4.0 License 2015-03-17 20:54:05 +01:00
Domen Kožar 1e4ba025c2 Reverts a bunch of commits as a try to fix GC errors.
Commits

- 694f01db2d
- 829479d1dd
- bd81885f70
- b2fdcf801c
2015-03-17 08:55:03 +01:00
Nicolas B. Pierron 7f1a782d91 Add tests for the new module system improvements. 2015-03-16 22:38:41 +01:00
Vladimír Čunát 51a8a43dfc Merge #6472: add ddccontrol 2015-03-16 21:52:59 +01:00
Nicolas B. Pierron 05e8a48fb4 Document and rename internal option of modules. 2015-03-15 14:45:42 +01:00
Nicolas B. Pierron ed91474e9b Share common code for merging option definitions.
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 == []`.
2015-03-12 23:42:58 +01:00
Nicolas B. Pierron dd4f5f6b78 Rename mergeDefinitions internal steps to functions which are independent of each others. 2015-03-12 23:42:58 +01:00
Nicolas B. Pierron 83dc60456e Expose submodule arguments to builtins.functionArgs before applying the arguments.
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.
2015-03-12 23:42:58 +01:00
Shea Levy 772b8869d2 Add comment about limitation on __internal.check 2015-03-12 23:42:57 +01:00
Shea Levy 0a0a29fd0b Add comments about the module system interface
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.
2015-03-12 23:42:57 +01:00
Shea Levy e3eff53037 evalModules: Add internal option for the check argument 2015-03-12 23:42:57 +01:00
Shea Levy e4a06f35b1 nixos: Don't evaluate twice to get the value of config.nixpkgs 2015-03-12 23:42:57 +01:00
Shea Levy 1d62ad4746 modules.nix: Generate the extra argument set from the configuration
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.
2015-03-12 23:42:57 +01:00
Shea Levy 4f5c6330c9 types.loaOf: Update check function
This symplifies typechecking and allows properties to be used inside the
function body. It also makes possible checking the type of the result.
2015-03-12 23:42:57 +01:00
Shea Levy 8737d1783f types.attrsOf: Use mergeDefinitions to handle each element
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.
2015-03-12 23:42:57 +01:00
Shea Levy e4bc2592f3 types.listOf: Use mergeDefinitions to handle each element
This simplifies typechecking and allows properties to be used inside the lists
2015-03-12 23:42:57 +01:00
Shea Levy 9255c48a06 Move property processing, type checking, and merge code into a function
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.
2015-03-12 23:42:57 +01:00
Luis G. Torres 92eaff008e Added derivation for google ceres-solver optimization library for C++ 2015-03-12 16:04:04 -04:00
Gabriel Ebner fde4a0d442 Add ibus-anthy. 2015-03-11 21:54:04 +01:00
Robin Gloster 282530454a add myself as php and rustc maintainer 2015-03-11 11:24:55 +01:00
Jim Garrison df9daf16aa Package vmtouch 2015-03-10 19:05:02 -07:00
Peter Simons 8196130a1d Merge pull request #6711 from phile314/dev
haskell: Add uhc compiler
2015-03-10 11:22:15 +01:00
Philipp Hausmann 1ce75368f1
Add uhc haskell compiler 2015-03-09 13:38:28 +01:00