summary refs log tree commit diff
path: root/doc/configuration.xml
Commit message (Collapse)AuthorAge
* Manual: Random indentation fixesEelco Dolstra2018-09-03
|
* Fix small typo in configuration documentation (#40357)Scott Trinh2018-05-11
| | | | | * Fix small typo in configuration documentation * doc: Fix second instance of same typo
* nixpkgs docs: format =)Graham Christensen2018-05-01
|
* doc: Document `config.allowUnsupportedSystem` and its env varJohn Ericson2018-04-17
|
* nixpkgs manual: unfree packages are untestedFranz Pletz2017-11-01
| | | | Resolves confusion mentioned in #31045.
* Merge pull request #25955 from ↵Graham Christensen2017-07-16
|\ | | | | | | | | matthewbauer/nixpkgs-manual-declarative-package-management manual: add "declarative package management" section
| * manual: add "declarative package management" sectionMatthew Bauer2017-05-20
| | | | | | | | | | | | | | | | This section gives some details on how to setup an "environment" without having to go through NixOS (although it could be used there too). I’ve tried to make it straightforward and have a kind of "tutorial" feel. Not sure if that’s appropriate for the manual, so any recommended changes would be helpful.
* | doc: Fix some typosJan Tojnar2017-06-11
|/
* doc/configuration: tidy up text around #23130 changesVladimír Čunát2017-02-26
|
* nixpkgs: allow packages to be marked insecureGraham Christensen2017-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a package's meta has `knownVulnerabilities`, like so: stdenv.mkDerivation { name = "foobar-1.2.3"; ... meta.knownVulnerabilities = [ "CVE-0000-00000: remote code execution" "CVE-0000-00001: local privilege escalation" ]; } and a user attempts to install the package, they will be greeted with a warning indicating that maybe they don't want to install it: error: Package ‘foobar-1.2.3’ in ‘...default.nix:20’ is marked as insecure, refusing to evaluate. Known issues: - CVE-0000-00000: remote code execution - CVE-0000-00001: local privilege escalation You can install it anyway by whitelisting this package, using the following methods: a) for `nixos-rebuild` you can add ‘foobar-1.2.3’ to `nixpkgs.config.permittedInsecurePackages` in the configuration.nix, like so: { nixpkgs.config.permittedInsecurePackages = [ "foobar-1.2.3" ]; } b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add ‘foobar-1.2.3’ to `permittedInsecurePackages` in ~/.config/nixpkgs/config.nix, like so: { permittedInsecurePackages = [ "foobar-1.2.3" ]; } Adding either of these configurations will permit this specific version to be installed. A third option also exists: NIXPKGS_ALLOW_INSECURE=1 nix-build ... though I specifically avoided having a global file-based toggle to disable this check. This way, users don't disable it once in order to get a single package, and then don't realize future packages are insecure.
* ~/.nixpkgs -> ~/.config/nixpkgsEelco Dolstra2017-02-01
| | | | | | The former is still respected as a fallback for config.nix for backwards compatibility (but not for overlays because they're a new feature).
* nixpkgs manual: more extensible example (#15557)Théo Zimmermann2016-05-23
| | | By checking if the package name appears in a list, this new example allows for easy user-customization.
* nixpkgs manual: fix typo in filenameVladimír Čunát2016-02-17
|
* Manual: Fix indent of config sectionEelco Dolstra2015-12-10
|
* Manual: Rename fileEelco Dolstra2015-12-10