summary refs log tree commit diff
path: root/pkgs/lib
Commit message (Collapse)AuthorAge
* Added myself to the maintainers list.Alexander Tsamutali2010-01-06
| | | | svn path=/nixpkgs/trunk/; revision=19268
* * Support require/imports in top-level anonymous configurations,Eelco Dolstra2010-01-05
| | | | | | | | i.e. the elements of initModules that are not paths. * Support a "key" attribute in anonymous configurations to allow lazyGenericClosure to distinguish between them. svn path=/nixpkgs/trunk/; revision=19240
* * Retrieve the filename of a path.Nicolas Pierron2010-01-03
| | | | svn path=/nixpkgs/trunk/; revision=19180
* * Add a function to take the last element of a list.Nicolas Pierron2010-01-03
| | | | svn path=/nixpkgs/trunk/; revision=19179
* remove mapRecordFlatten & fix source autofsMarc Weber2009-12-16
| | | | svn path=/nixpkgs/trunk/; revision=18987
* nixpkgs lib: adding haskell's takeMarc Weber2009-12-08
| | | | svn path=/nixpkgs/trunk/; revision=18848
* add x86_64-darwin as platformRob Vermaas2009-11-26
| | | | svn path=/nixpkgs/trunk/; revision=18646
* testAllTrue helper functionMarc Weber2009-11-22
| | | | svn path=/nixpkgs/trunk/; revision=18540
* nix lib: add nixType returning type of value as string which is used inMarc Weber2009-11-22
| | | | | | | | eqStrict now to return false when a b have different types. Passing string and {} to eqStrict caused coercion failures when running tests previously svn path=/nixpkgs/trunk/; revision=18539
* follow runTests change prefixing all tests by "test"Marc Weber2009-11-22
| | | | svn path=/nixpkgs/trunk/; revision=18538
* nix lang runTests: ignore tests which are not prefixed by "test"Marc Weber2009-11-22
| | | | svn path=/nixpkgs/trunk/; revision=18537
* add some debugging functionsMarc Weber2009-11-22
| | | | | | traceCallXml is used to trace arguments and result svn path=/nixpkgs/trunk/; revision=18536
* * Bring back Emacs 22 by request from Ludovic.Eelco Dolstra2009-11-22
| | | | svn path=/nixpkgs/trunk/; revision=18529
* * Move makeOverridable out of all-packages.nix.Eelco Dolstra2009-11-19
| | | | svn path=/nixpkgs/trunk/; revision=18469
* * Move `modifyDerivation' from build-support/vm to lib and rename itEelco Dolstra2009-11-19
| | | | | | to `overrideDerivation'. svn path=/nixpkgs/trunk/; revision=18466
* * Move functions like `runCommand' out of all-packages.nix and intoEelco Dolstra2009-11-19
| | | | | | build-support/. svn path=/nixpkgs/trunk/; revision=18465
* * Another unused function.Eelco Dolstra2009-11-17
| | | | svn path=/nixpkgs/trunk/; revision=18391
* * Remove some more unused functions.Eelco Dolstra2009-11-17
| | | | svn path=/nixpkgs/trunk/; revision=18390
* * Remove sumArgs and its few remaining uses. Idem for composedArgs.Eelco Dolstra2009-11-17
| | | | svn path=/nixpkgs/trunk/; revision=18388
* * Add the Go Programming Language compiler.Nicolas Pierron2009-11-14
| | | | svn path=/nixpkgs/trunk/; revision=18348
* * Improve showVal: handle integer and strings.Nicolas Pierron2009-11-14
| | | | svn path=/nixpkgs/trunk/; revision=18346
* * Fix typo and clarify why you should not use "mkFixStrictness" on top ofNicolas Pierron2009-11-07
| | | | | | plain list or attribute set. svn path=/nixpkgs/trunk/; revision=18260
* * Add an awful hack to bypass the strictness of isType operators forNicolas Pierron2009-11-07
| | | | | | option definitions. svn path=/nixpkgs/trunk/; revision=18259
* * Change the check function to accept sub-modules with arguments inNicolas Pierron2009-11-07
| | | | | | option definitions. svn path=/nixpkgs/trunk/; revision=18252
* * Add a function to sort a list.Nicolas Pierron2009-11-07
| | | | | | | | * Add a new property to order NixOS definitions without creating dependencies between snippets. * Add mkHeader & mkFooter properties (special case of mkOrder). svn path=/nixpkgs/trunk/; revision=18242
* * Add a function to replace "pkgs.checker". The function checkModule does aNicolas Pierron2009-11-07
| | | | | | | traversal of all definitions and also check definitions contained inside sub-modules. svn path=/nixpkgs/trunk/; revision=18241
* * Add "_args" to all sub-module configurations result. This attributeNicolas Pierron2009-11-07
| | | | | | enable argument introspection outside of the scope of each sub-module. svn path=/nixpkgs/trunk/; revision=18240
* * Add a type to handle environment variables with the usual stringNicolas Pierron2009-11-07
| | | | | | separator ":". svn path=/nixpkgs/trunk/; revision=18239
* * Report file locations in the stack-trace when multiple optionNicolas Pierron2009-11-05
| | | | | | declarations cannot be merged. svn path=/nixpkgs/trunk/; revision=18149
* * Add a type for read-only options. Options which are only declaredNicolas Pierron2009-11-05
| | | | | | are used when a module produces read-only data for other modules. svn path=/nixpkgs/trunk/; revision=18148
* * Add isDefined to each options. This will clean-up NixOS introspection.Nicolas Pierron2009-11-05
| | | | svn path=/nixpkgs/trunk/; revision=18147
* * The libx86 package refers to platforms.netbsd, so add it.Eelco Dolstra2009-10-28
| | | | svn path=/nixpkgs/trunk/; revision=17987
* svn path=/nixpkgs/trunk/; revision=17934Eelco Dolstra2009-10-23
|
* Try to add missing flip function for NixOSMichael Raskin2009-10-23
| | | | svn path=/nixpkgs/trunk/; revision=17933
* Refactor a bit to add names to intermediate computations. Add a crossNicolas Pierron2009-10-12
| | | | | | | | | temporary result to fetch information from the evaluation to make them available inside the option declaration. Add: isNotDefined flag inside the option. svn path=/nixpkgs/trunk/; revision=17766
* * modules.nix: use catAttrs function instead of hand made code.Nicolas Pierron2009-10-12
| | | | svn path=/nixpkgs/trunk/; revision=17760
* Revert previous commit because this is implicit. Fix property evaluationNicolas Pierron2009-10-12
| | | | | | | error which arose when one module define a value with "mkDefaultValue" and another module define its value with "mkIf <false>". svn path=/nixpkgs/trunk/; revision=17759
* do not delay mkOverride on options which are does not have sub modules.Nicolas Pierron2009-10-12
| | | | svn path=/nixpkgs/trunk/; revision=17758
* Only allow properties with a onGlobalEval function to go through specificNicolas Pierron2009-10-12
| | | | | | types. svn path=/nixpkgs/trunk/; revision=17756
* Revert "* Revert the last two commits ..." (rev 17738) & Fix.Nicolas Pierron2009-10-09
| | | | svn path=/nixpkgs/trunk/; revision=17740
* * Enable builds on OpenBSD.Eelco Dolstra2009-10-09
| | | | svn path=/nixpkgs/trunk/; revision=17739
* * Revert the last two commits since they break every job in theEelco Dolstra2009-10-09
| | | | | | buildfarm ("undefined variable `delayPropertiesTemplate'"). svn path=/nixpkgs/trunk/; revision=17738
* Add mkOverrideTemplate (currently the same as mkOverride).Nicolas Pierron2009-10-09
| | | | svn path=/nixpkgs/trunk/; revision=17737
* Replace a counter intuitive behaviour of module evaluations.Nicolas Pierron2009-10-09
| | | | | | | | | | | | | | | | | | | - types.nix: Introduce a new flag named "delayProperties" which define either that properties should be evaluated (when false) or that they should be delaied through the type structure. - properties.nix: Generalized the delayProperties function to make it work with the iter functions of option types. - modules.nix: Replace evalProperties by a condition based on the value of the "delayProperties" flag of the option type. If the flag does not exists or if it is false, then the system behaves as always. Otherwise it delays the properties from the current value to each values contained inside it. svn path=/nixpkgs/trunk/; revision=17736
* extract function unifyOptionModule from moduleMerge. This function isNicolas Pierron2009-10-09
| | | | | | | used to convert option sets, provided inside option declarations, to a module. svn path=/nixpkgs/trunk/; revision=17735
* fix some typos in commentsMarc Weber2009-10-08
| | | | svn path=/nixpkgs/trunk/; revision=17708
* Add the reverseList function.Nicolas Pierron2009-10-06
| | | | svn path=/nixpkgs/trunk/; revision=17676
* Improve the efficiency of stringToCharacters.Nicolas Pierron2009-10-06
| | | | svn path=/nixpkgs/trunk/; revision=17671
* introduce the stringAsChars ans replaceChars functions.Nicolas Pierron2009-10-06
| | | | svn path=/nixpkgs/trunk/; revision=17670
* Extract the path done inside the iteration process of the option type andNicolas Pierron2009-10-06
| | | | | | | | | give it as argument to each sub-module. With the type "types.attrsOf types.optionSet", you will obtain the name of the attribute in which the sub-modules are contained. svn path=/nixpkgs/trunk/; revision=17669