Commit graph

533 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
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