summaryrefslogtreecommitdiff
path: root/lib (follow)
Commit message (Expand)AuthorAgeFilesLines
* systems: remove android armv5te platform•••this isn’t useful any more because the ndk we use no longer supports it. Matthew Bauer2019-04-101-10/+0
* androidndk: fixup mess•••New android ndk (18) now uses clang. We were going through the wrapper that are provided. This lead to surprising errors when building. Ideally we could use the llvm linker as well, but this leads to errors as many packages don’t support the llvm linker. Matthew Bauer2019-04-101-8/+0
* Merge branch 'master' into staging-next•••Hydra nixpkgs: ?compare=1512490 Vladimír Čunát2019-04-025-1/+9
|\
| * Merge pull request #58330 from AerialX/msp430•••TI MSP430 cross compilingJohn Ericson2019-03-294-0/+8
| |\
| | * msp430: include vendor headers with stdenvAaron Lindsay2019-03-251-0/+1
| | * systems: support TI MSP430 microcontrollersAaron Lindsay2019-03-253-0/+7
| * | lib: lists: Alias builtins.map•••Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Suggested-by: Profpatsch <mail@profpatsch.de> Matthias Beyer2019-03-291-1/+1
| |/
* | Merge master into staging-nextFrederik Rietdijk2019-03-231-1/+1
|\|
| * Doc fix: use correct function name in type signature for concatIMapStringsSepNathan van Doorn2019-03-181-1/+1
* | Merge branch 'master' into staging-next•••Hydra nixpkgs: ?compare=1508887 Vladimír Čunát2019-03-105-7/+26
|\|
| * lib: add `showWarnings`Jan Malakhovski2019-03-082-2/+3
| * module system: revert "remove types.optionSet", just deprecate (#56857)•••The explicit remove helped to uncover some hidden uses of `optionSet` in NixOps. However it makes life harder for end-users of NixOps - it will be impossible to deploy 19.03 systems with old NixOps, but there is no new release of NixOps with `optionSet` fixes. Also, "deprecation" process isn't well defined. Even that `optionSet` was declared "deprecated" for many years, it was never announced. Hence, I leave "deprecation" announce. Then, 3 releases after announce, we can announce removal of this feature. This type has to be removed, not `throw`-ed in runtime, because it makes some perfectly fine code to fail. For example: ``` $ nix-instantiate --eval -E '(import <nixpkgs/lib>).types' --strict trace: `types.list` is deprecated; use `types.listOf` instead error: types.optionSet is deprecated; use types.submodule instead (use '--show-trace' to show detailed location information) ```Danylo Hlynskyi2019-03-073-4/+22
| * lib: optionAttrSetToDocList: warn instead of throwing on options without desc...•••For convenience, it's not like not having a description is deadly or something. Jan Malakhovski2019-03-051-1/+1
* | Merge staging-next into stagingFrederik Rietdijk2019-03-013-4/+67
|\|
| * cross/tests: add llvm-based testsMatthew Bauer2019-02-261-1/+1
| * Merge pull request #56393 from matthewbauer/is-compatible•••systems: add isCompatible handlingMatthew Bauer2019-02-262-2/+65
| |\
| | * systems: add “emultator” for wasm•••v8 can run any wasm bytecode Matthew Bauer2019-02-251-0/+2
| | * systems: add isCompatible handlingMatthew Bauer2019-02-212-2/+63
| * | 19.09 is Loris.•••https://en.wikipedia.org/wiki/Loris Linus Heckemann2019-02-251-1/+1
* | | Merge pull request #56197 from matthewbauer/cross-fixes3•••Android and related cross fixesMatthew Bauer2019-02-261-1/+1
|\ \ \
| * | | mesa: armv7a-linux supports mesaMatthew Bauer2019-02-241-1/+1
| |/ /
* / / netbsd: add cross targetMatthew Bauer2019-02-262-0/+8
|/ /
* | Merge pull request #55488 from winpat/add_dirvish•••dirvish: init at 1.2.1 xeji2019-02-241-0/+5
|\ \
| * | lib.licenses: add Open Software License 2.0Patrick Winter2019-02-091-0/+5
* | | Merge pull request #54528 from cdepillabout/module-alias-uses-priority•••lib/modules: Change mkAliasOptionModule to use the priority for the aliasSilvan Mosberger2019-02-235-16/+16
|\ \ \
| * | | Fix the documentation for the tests to reflect what is actually happening.(cdep)illabout2019-02-072-2/+8
| * | | lib/modules: Change mkAliasOptionModule to use the priority for the alias.•••This commit changes the `mkAliasOptionModule` function to make sure that the priority for the aliased option is propagated to the non-aliased option. This also affects the `mkRenamedOptionModule` function in a similar fashion. This also removes the `mkAliasOptionModuleWithPriority` function, since its functionality is now subsumed by `mkAliasOptionModule`. This change was recommended by @nbp: https://github.com/NixOS/nixpkgs/pull/53397#discussion_r245487432 (cdep)illabout2019-01-245-14/+8
* | | | alpha-embedded: isAlpha code Added (#56090)•••Adds isAlpha to stdenv.<platform> flags.Vincent Weisner2019-02-201-0/+1
* | | | Merge master into staging-nextFrederik Rietdijk2019-02-161-1/+1
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge pull request #55129 from oxij/tree/move-defaults-to-package-files•••all-packages.nix: move defaults to package filesMichael Raskin2019-02-131-1/+1
| |\ \ \
| | * | | lib: tiny cleanupJan Malakhovski2019-02-031-1/+1
* | | | | Merge branch 'staging-next' into stagingVladimír Čunát2019-02-015-86/+32
|\| | | |
| * | | | Merge branch 'master' into staging-next•••Comments on conflicts: - llvm: d6f401e1 vs. 469ecc70 - docs for 6 and 7 say the default is to build all targets, so we should be fine - some pypi hashes: they were equivalent, just base16 vs. base32 Vladimír Čunát2019-02-015-86/+32
| |\| | |
| | * | | types.optionSet: deprecate and remove last usagesdanbst2019-01-313-23/+3
| | * | | lib/modules.nix: small eval optimization (foldl' + foldl' + attrNames -> fold...danbst2019-01-301-12/+14
| | * | | lib/types.nix: small eval optimization (listToAttrs + mapAttrsToList -> mapAt...danbst2019-01-301-2/+1
| | * | | linux: convert hardened-config to a structured oneMatthieu Coudron2019-01-282-2/+6
| | * | | linux: ability to merge structured configs•••This should make the composability of kernel configurations more straigthforward. - now distinguish freeform options from tristate ones - will look for a structured config in kernelPatches too one can now access the structuredConfig from a kernel via linux_test.configfile.structuredConfig in order to reinject it into another kernel, no need to rewrite the config from scratch The following merge strategies are used in case of conflict: -- freeform items must be equal or they conflict (mergeEqualOption) -- for tristate (y/m/n) entries, I use the mergeAnswer strategy which takes the best available value, "best" being defined by the user (by default "y" > "m" > "n", e.g. if one entry is both marked "y" and "n", "y" wins) -- if one item is both marked optional/mandatory, mandatory wins (mergeFalseByDefault) Matthieu Coudron2019-01-282-49/+9
| | * | | systems/default.nix: wasm in platform.uname.system•••This adds the "Wasm" system to platform.uname.system. This is used in CMake infrastructure.Matthew Bauer2019-01-271-0/+1
| | |/ /
* | | | Merge #51447: libpng: 1.6.35 -> 1.6.36, license v2•••(into staging) Vladimír Čunát2019-01-191-0/+5
|\ \ \ \ | |/ / / |/| | |
| * | | libpng2: link to license, SPDX seems geared to old version•••See https://github.com/NixOS/nixpkgs/pull/51447 for some discussion. Will Dietz2018-12-291-1/+1
| * | | libpng: 1.6.35 -> 1.6.36, license v2Will Dietz2018-12-291-0/+5
* | | | Merge staging-next into stagingFrederik Rietdijk2019-01-192-6/+7
|\ \ \ \ | | |/ / | |/| |
| * | | Merge pull request #50561 from oxij/lib/setPrio•••lib: implement `setPrio`Michael Raskin2019-01-182-6/+7
| |\ \ \
| | * | | lib: implement `setPrio`•••For when `hiPrio` and `lowPrio` are not enough. Jan Malakhovski2018-11-222-6/+7
* | | | | Merge staging-next into stagingFrederik Rietdijk2019-01-155-6/+140
|\| | | |
| * | | | Merge pull request #53397 from cdepillabout/aliasoptionmodule-set-priority•••lib/modules: Add function to create option alias that respects priorityNicolas B. Pierron2019-01-145-6/+140
| |\ \ \ \
| | * | | | Add test that shows that the aliases are able to override options.(cdep)illabout2019-01-062-0/+55
| | * | | | Pull out defaultPriority to a top-level definition.(cdep)illabout2019-01-061-5/+5
| | * | | | lib/modules: Add a function to create an option alias that respects the priority•••This commit adds a function `mkAliasOptionModuleWithPriority`. This function will make an alias to an existing option and copy over the priority. This functionality is needed for PRs like #53041. In that case `nixos-generate-config` added an option to `hardware-configuration.nix` with `mkDefault`. That option was then changed and an alias created for the old name. The end user should be able to set the non-alias option in their `configuration.nix` and have everything work correctly. Without this function, the priority for the option won't be copied over correctly and the end-user will get a message saying they have the same option set to two different values. (cdep)illabout2019-01-043-5/+29