| Commit message (Collapse) | Author | Age |
|\
| |
| |
| | |
svn path=/nixpkgs/branches/stdenv-updates/; revision=18472
|
| |
| |
| |
| |
| |
| | |
to `overrideDerivation'.
svn path=/nixpkgs/trunk/; revision=18466
|
|/
|
|
|
|
|
| |
systems. This is not yet used because it has to be integrated with the
current system.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18468
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove handleOptionSets which used option declarations & definitions
in the same set.
- Add a traversal of modules where "config" and "options" are traverse at
the same time.
This allow to have accruate error messages with the incriminated files
playing a role in the error.
This system add a new restriction compare to the previous system:
- A module with no structure (option definitions & option declarations
& require) should not contain any option declarations. If such module
exists you must convert it to the following form:
{ imports = <content of the require attribute>;
options = <set of option declarations>;
config = <set of option definitions>;
}
svn path=/nixpkgs/trunk/; revision=17163
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=16854
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=16339
|
|
|
|
|
|
| |
Suggested by Eelco Dolstra.
svn path=/nixpkgs/trunk/; revision=16126
|
|
|
|
|
|
| |
big. Also, they could be useful beyond option handling.
svn path=/nixpkgs/trunk/; revision=16055
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=15729
|
|
|
|
|
|
| |
all-packages.nix and into lib.
svn path=/nixpkgs/trunk/; revision=14778
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=14014
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mess. Also cleaned up some functions:
- foldl appeared broken (it recursively called fold).
- Renamed logicalAND/logicalOR to and/or.
- Removed listOfListsToAttrs, eqStrings: obsolete.
- Removed isInList, which does the same thing as elem.
- stringToCharacters: don't return a "" at the end of the list.
- Renamed concatList to concat, as concatList (singular) is a
misnomer: it takes two lists. Likewise, renamed mergeAttr to
mergeAttrs.
misc.nix still contains a lot of stuff that should be refactored and
moved to other files.
svn path=/nixpkgs/trunk/; revision=14013
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13974
|
|
|
|
|
|
| |
pkgs.lib.addErrorContext add a new line inside the stack trace if this is supported by your nix version.
svn path=/nixpkgs/trunk/; revision=13886
|
|
|
|
|
|
| |
filterOptionSets.
svn path=/nixpkgs/trunk/; revision=13872
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13870
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13869
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13842
|
|
|
|
|
|
| |
This merge function allow only one definition for an option.
svn path=/nixpkgs/trunk/; revision=13841
|
|
|
|
|
|
| |
Remove the "notdef" values from the user-defined values.
svn path=/nixpkgs/trunk/; revision=13840
|
|
|
|
|
|
| |
Clean-up fixOptionSetsFun.
svn path=/nixpkgs/trunk/; revision=13839
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13838
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13727
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13726
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13662
|
|
|
|
|
|
| |
qgis, vim_configurable both work now
svn path=/nixpkgs/trunk/; revision=13661
|
|
|
|
|
|
| |
Keys are introduced because manipulated sets cannot be compared safely.
svn path=/nixpkgs/trunk/; revision=13574
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13554
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13553
|
|
|
|
|
|
|
|
|
|
| |
providing easy setups of flags and configurations for derivations.
configuration is passed via passthru automatically,
additional names can be merged with final attrs in an automatic sensible way
even supporting fix.
fun and funMerge idea by Michael Raskin
svn path=/nixpkgs/trunk/; revision=13546
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13545
|
|
|
|
|
|
| |
be merged - the merge function is passed by the attr set itself (and can be overridden/ extended this way) This code can probably be shortened using zip and the like as proposed by Nicolas Pierron (mailinglist)
svn path=/nixpkgs/trunk/; revision=13544
|
|
|
|
|
|
| |
the following commits.. I still have to remove and adopt the code using them
svn path=/nixpkgs/trunk/; revision=13543
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13542
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13541
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13540
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13373
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mkIf config.foo.enable {
require = [ .. ];
environment = {
// infer the else part.
extraPackages = [pkgs.foo];
etc = mkThenElse {
thenPart = { .. };
elsePart = { .. };
};
};
}
Fix: UniqFlattenAttr compare configuration without the "require" attribute.
svn path=/nixpkgs/trunk/; revision=13372
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13371
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13370
|
|
|
|
|
|
| |
mergeTypedOption.
svn path=/nixpkgs/trunk/; revision=13310
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13309
|
|
|
|
|
|
| |
This is similar to the new-proposal in upstart-jobs except that the default value is also processed with this function. (the existing merge function acts only on extra values).
svn path=/nixpkgs/trunk/; revision=13308
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13193
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13190
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13137
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=13119
|
|
|
|
|
|
|
| |
it now figures out the dist name from the url and the revision is added to the url
This way a new version doesn't override the old one and you can keep multiple dist tar.gz files
svn path=/nixpkgs/trunk/; revision=13065
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=12758
|
|
|
|
| |
svn path=/nixpkgs/trunk/; revision=12756
|