about summary refs log tree commit diff
path: root/pkgs/top-level/config.nix
AgeCommit message (Collapse)AuthorFilesLines
2022-12-08config.structuredAttrsByDefault: add optionArtturin1-0/+4
2022-10-03pkgs/top-level: convert to MD option docspennae1-17/+17
2022-10-02Disable checkMeta by default again.Profpatsch1-1/+1
This caused too many downstream projects to break, so we are reverting this change for now, until further transition fixes are in place. See discussion in https://github.com/NixOS/nixpkgs/pull/191171 This reverts part of 6762de9a28e248f46bd0810e03c9666289de8e1d
2022-09-25check-meta.nix: type checking changespiegames1-0/+7
- Enable metadata checking by default, see https://github.com/NixOS/nixpkgs/pull/25304#issuecomment-298385426 - Check metadata before any other package issues, see https://github.com/NixOS/nixpkgs/issues/191124#issuecomment-1246523976 - Document that type checks only apply to the top level of nested values. Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-09-11pkgs/top-level: add a type for warnUndeclaredOptionsK9001-0/+1
Fixes https://hydra.nixos.org/build/190091926/nixlog/1
2022-06-21config.configurePlatformsByDefault: init optionSergei Trofimovich1-0/+4
Useful to enable tree-wide occasionally to have incremental progress towards https://github.com/NixOS/nixpkgs/pull/87909 resolution.
2022-06-05pkgs/config.nix: Fix missing attribute when no config keys are undeclaredZhaofeng Li1-1/+1
2022-05-29pkgs/config.nix: Fix infinite recursion when freeform config is strict in pkgsRobert Hensing1-1/+1
https://github.com/NixOS/nixpkgs/issues/175196 The loop involved: - pkgs is strict in the config.nix freeformType's produced attrNames, as these are included in the config. - the attrNames were strict in all the direct attrValues, because of scanning for `mkIf`s. `lazyAttrsOf` removes proper `mkIf` support, which we don't need here.
2022-05-25Merge pull request #171014 from hercules-ci/nixpkgs-warn-undeclared-optionsRobert Hensing1-1/+20
pkgs/top-level/config.nix: Add warnUndeclaredOptions
2022-05-19Merge pull request #171163 from hercules-ci/nixpkgs-config-docRobert Hensing1-0/+5
Add generated `nixpkgs.config` doc to Nixpkgs manual
2022-05-11config.enableParallelBuildingByDefault: init optionArtturin1-0/+4
useful for testing if some builds could be faster
2022-05-10nixpkgs.config: Also warn for unused defs if warnUndeclaredOptionsRobert Hensing1-3/+8
2022-05-10pkgs/top-level/config.nix: Add warnUndeclaredOptionsRobert Hensing1-1/+15
2022-05-03stdenv/check-meta: add an eval warning optionckie1-0/+15
This will be used in the next commit in this patch series.
2022-05-02config.allowUnsupportedSystem: define as optionArtturin1-0/+13
2022-05-02config.allowBroken: define as optionArtturin1-0/+11
2022-05-02config.allowUnfree: define as optionArtturin1-0/+12
2022-05-02doc: Add Nixpkgs config options referenceRobert Hensing1-0/+5
2022-04-27config.contentAddressedByDefault: init optionArtturin1-0/+4
2022-04-27config.strictDepsByDefault: init optionArtturin1-0/+4
so i won't have to change make-derivation.nix when i wan't to make this true
2022-04-01config.allowAliases: Define as optionRobert Hensing1-0/+18
This simplifies usages and makes the default value consistent. In a few cases, the default value was interpreted to be `false`, but this is useless, because virtually nobody will explicitly set `allowAliases = true;`.
2022-01-27Revert "pkgs.path: Avoid copying when used via flake"Robert Hensing1-14/+0
This reverts commit 813f9da8ab69f106055dd4a8fead7bc0a21a251b.
2022-01-22pkgs.path: Avoid copying when used via flakeRobert Hensing1-0/+14
2019-06-16treewide: remove unused variables (#63177)volth1-11/+1
* treewide: remove unused variables * making ofborg happy
2019-03-08pkgs/top-level: little doc fix for mkMassRebuilddanbst1-1/+1
2019-03-08pkgs/top-level: check types of `nixpkgs.config`Jan Malakhovski1-0/+51
This patch simply introduces a plain simple NixOS module and passes `nixpkgs.config` through it via `evalModules` (with some temporary hackery to passthru undefined options).