Commit graph

448 commits

Author SHA1 Message Date
Marc Weber
aa583c8cf4 experimental/lib-fold-attr
adding useful function foldAttr which behave like fold on attr values grouped by name
(without assertions now)

Signed-off-by: Marc Weber <marco-oweber@gmx.de>
2012-08-28 15:06:14 +02:00
Eelco Dolstra
9d516f16fc Fix evaluation problem
http://hydra.nixos.org/build/2940128
2012-08-14 13:42:43 -04:00
Eelco Dolstra
4f7917ac62 Remove obsolete flattenAttrs function 2012-08-13 18:26:19 -04:00
Eelco Dolstra
8225460f82 Remove obsolete eqLists function 2012-08-13 18:19:06 -04:00
Eelco Dolstra
37159c1b9a Remove obsolete eqStrict function
Use the "==" operator instead.
2012-08-13 18:08:35 -04:00
Eelco Dolstra
0b4fb4e4f6 Replace some calls to attrByPath with "or" 2012-08-13 15:15:16 -04:00
Eelco Dolstra
c68c95d55a Provide O(n) time implementations of fold/foldl/any/all
Previous implementations were O(n^2) because tail takes O(n) time.
2012-08-13 15:15:16 -04:00
Eelco Dolstra
c0a483632c Eliminate some calls to ‘tail’ 2012-08-13 15:15:16 -04:00
Eelco Dolstra
431c55cbf1 Use builtin filter, elem, concatLists functions if available 2012-08-13 15:15:16 -04:00
Eelco Dolstra
3bf4437622 Remove obsolete backwards compatibility hack for getAttr 2012-08-13 15:15:16 -04:00
Andres Loeh
8984139215 Fix bug in uniqList. 2012-07-18 16:31:39 +02:00
Andres Loeh
3fbd694d7d Try to cut recursion depth in uniqList and closePropagation. 2012-07-18 11:18:15 +02:00
Carles Pagès
c93ecad6e2 Adding myself (page) to maintainers. 2012-07-17 23:31:19 +02:00
Eelco Dolstra
46dc120270 Fix the "path" option type
Comparing a string with a context with "/" doesn't work because the
"==" operator also compares context.  So the context needs to be
discarded.
2012-07-12 11:54:05 -04:00
Antono Vasiljev
76021a76cb Add myself to maintainers.nix 2012-06-23 02:22:38 +03:00
Eelco Dolstra
4b5c1dec62 * Add a function ‘mapAttrsToList’ that maps a function over the
attributes in a set, returning a list.  (Note that the regular
  ‘mapAttrs’ returns an attribute set.)

svn path=/nixpkgs/trunk/; revision=34509
2012-06-14 19:07:01 +00:00
Arie Middelkoop
3c74283d03 Committing some outstanding modifications that I cannot make into smaller chunks anymore.
* added briss: a pdf cropper
* added compton, an improved fork of xcompmgr
* added myself to the maintainers list
* minor version bumps: xcompmgr, upower


svn path=/nixpkgs/trunk/; revision=34380
2012-06-08 10:16:46 +00:00
Rickard Nilsson
ca5dfc9634 obnam 1.0
obnam is a backup program with support for deduplication, compression and encryption. See http://liw.fi/obnam/.

svn path=/nixpkgs/trunk/; revision=34331
2012-06-03 22:11:09 +00:00
Eelco Dolstra
040cf06388 * Add a type "path".
svn path=/nixpkgs/trunk/; revision=34247
2012-05-25 17:19:07 +00:00
Eelco Dolstra
89af9f3f4c * Add a variant of mapAttrs that allows rewriting the name of each
attribute in addition to the value.

svn path=/nixpkgs/trunk/; revision=34246
2012-05-25 17:01:58 +00:00
Andres Löh
5144845d71 Platform refinement.
This should be stable under regeneration with hackage4nix.

svn path=/nixpkgs/trunk/; revision=34189
2012-05-20 20:21:55 +00:00
Eelco Dolstra
069604730b * Work around some problems in tarball checks. Nix wants to open the
DB even in read-only mode.  Should probably fix that.  Also, "or" no
  longer works like this because it's a keyword now.

svn path=/nixpkgs/trunk/; revision=34079
2012-05-13 19:10:57 +00:00
Nicolas Pierron
82b308bf11 Add armv7l support.
svn path=/nixpkgs/trunk/; revision=33798
2012-04-15 23:41:25 +00:00
Nicolas Pierron
8a67709183 Add mkMerge and obsolete mkThenElse.
svn path=/nixpkgs/trunk/; revision=33796
2012-04-15 23:31:48 +00:00
Eelco Dolstra
e78a048265 * Add a function "filterAttrs" and clean up some comments.
svn path=/nixpkgs/trunk/; revision=33626
2012-04-05 15:37:52 +00:00
Lluís Batlle i Rossell
5d15ef0e7c Updating vimprobable2 to 1.0.0
I took mainly the patch from Alexandr Foremny, but I had to solve conflicts.

Moreover it required the old webkit.


svn path=/nixpkgs/trunk/; revision=33596
2012-04-04 21:30:49 +00:00
Eelco Dolstra
1c62133e9f * Fix email address.
svn path=/nixpkgs/trunk/; revision=33575
2012-04-04 16:36:17 +00:00
Eelco Dolstra
23957ac824 * Updated htop to 1.0.1.
svn path=/nixpkgs/trunk/; revision=33566
2012-04-04 14:46:17 +00:00
Lluís Batlle i Rossell
3153e80659 Adding tp_smapi.
Patch by Rok Garbas, who also adds himself as a maintainer.


svn path=/nixpkgs/trunk/; revision=33495
2012-03-31 13:40:34 +00:00
Yury G. Kudryashov
ec15b98631 Add memcached
Patch by Corey O'Connor, see http://reviewboard.loegria.net/r/15/

svn path=/nixpkgs/trunk/; revision=33461
2012-03-28 22:30:13 +00:00
Yury G. Kudryashov
613a8ecaf9 Remove some trailing spaces
svn path=/nixpkgs/trunk/; revision=33456
2012-03-28 15:43:39 +00:00
Peter Simons
1aa8a93bf6 pkgs/lib/maintainers.nix: re-enabled my e-mail account for Hydra notifications
svn path=/nixpkgs/trunk/; revision=33393
2012-03-24 10:21:43 +00:00
Rob Vermaas
e1873ada7f disable notification to Peter Simons for now
svn path=/nixpkgs/trunk/; revision=33384
2012-03-23 15:33:35 +00:00
Eelco Dolstra
2938819d7e * Remove an unnecessary function.
svn path=/nixpkgs/trunk/; revision=33271
2012-03-19 18:13:47 +00:00
Eelco Dolstra
6b4cd6673a * Add a utility function "versionOlder" to compare two version
strings.

svn path=/nixpkgs/trunk/; revision=33267
2012-03-19 18:04:47 +00:00
Eelco Dolstra
af2da39a04 * Remove unused function "checker".
svn path=/nixpkgs/trunk/; revision=33266
2012-03-19 18:01:49 +00:00
Florian Friesdorf
8e32380a79 add PSFL, update python meta (license, maintainers, unify description)
svn path=/nixpkgs/branches/stdenv-updates/; revision=32585
2012-02-26 17:23:16 +00:00
Shea Levy
ea195b2507 svn merge ^/nixpkgs/trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=32564
2012-02-25 19:57:34 +00:00
Eelco Dolstra
5f78cfa108 * Add "..." to the trace message.
svn path=/nixpkgs/trunk/; revision=32559
2012-02-25 17:33:14 +00:00
Yury G. Kudryashov
5b132f6e96 svn merge ^/nixpkgs/trunk
Conflicts: cups, all-packages.nix (gcc45_debug)

svn path=/nixpkgs/branches/stdenv-updates/; revision=31863
2012-01-26 15:27:03 +00:00
Lluís Batlle i Rossell
4a1c721c01 Changing every reference from mips64-linux to mips64el-linux. That's
what the new nix thinks the fuloong is.

Anyone having the old nix should use a nixpkgs previous to this change to build
the new nix. And then, with the new nix, he can use any newer nixpkgs revision.

svn path=/nixpkgs/trunk/; revision=31751
2012-01-21 00:34:51 +00:00
Eelco Dolstra
bafc4ff59d * Sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=31739
2012-01-20 15:29:04 +00:00
Ludovic Courtès
5cd82587aa overrideDerivation: Check whether hostDrv' and buildDrv' are present.
svn path=/nixpkgs/trunk/; revision=31727
2012-01-19 22:29:26 +00:00
Yury G. Kudryashov
84c0185038 svn merge ^/nixpkgs/trunk, one simple conflict in jruby
svn path=/nixpkgs/branches/stdenv-updates/; revision=31721
2012-01-19 21:31:51 +00:00
Ludovic Courtès
08439eb00a overrideDerivation: Override hostDrv' and buildDrv' too.
svn path=/nixpkgs/trunk/; revision=31706
2012-01-19 16:44:17 +00:00
Peter Simons
cd22d76a8e maintainers: added myself for upcoming packages
svn path=/nixpkgs/trunk/; revision=31652
2012-01-18 20:32:31 +00:00
Eelco Dolstra
f6db0ed1e0 * Mesa only builds on Linux.
svn path=/nixpkgs/trunk/; revision=31640
2012-01-18 18:45:00 +00:00
Yury G. Kudryashov
394fd28e4e svn merge ^/nixpkgs/trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=31280
2012-01-04 15:22:16 +00:00
Eelco Dolstra
7fcf771c2a * Handle the attributes added by the multiple outputs branch.
svn path=/nixpkgs/trunk/; revision=31278
2012-01-04 15:06:21 +00:00
Eelco Dolstra
eda3fd1730 * Sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=30852
2011-12-12 16:54:35 +00:00