summary refs log tree commit diff
path: root/doc
Commit message (Collapse)AuthorAge
* manual: fix typoWilli Butz2017-05-12
|
* Python: replace requests2 with requests tree-wideFrederik Rietdijk2017-05-07
| | | | | | | See f63eb5857352705665411130d4f1638d55dd8c58 The `requests2` attribute now throws an error informing that `requests` should be used instead.
* doc: enable code syntax highlightingAlexey Muranov2017-04-26
| | | | | Use "fenced" code blocks to enable syntax highlighting. Other markup and formatting.
* nixpkgs manual: Remove obsolete warning (#21117)Linus Heckemann2017-04-23
| | | PR #815 has already been cherry-picked into the default nix version 1.11.8.
* Merge pull request #25099 from obsidiansystems/cross-lib-foundationJohn Ericson2017-04-23
|\ | | | | | | | | Changes to nixpkgs infra to prepare to better package some pesky cross-compilers No hashes (native or cross) should be changed
| * top-level: Introduce targetPackages and a "double link fold"John Ericson2017-04-23
| | | | | | | | | | | | | | | | | | Each bootstrapping stage ought to just depend on the previous stage, but poorly-written compilers break this elegence. This provides an easy-enough way to depend on the next stage: targetPackages. PLEASE DO NOT USE IT UNLESS YOU MUST! I'm hoping someday in a pleasant future I can revert this commit :)
* | bundix: 2.0.8 -> 2.1.0 (#25129)Nick Novitski2017-04-23
|/
* Merge pull request #24980 from Ericson2314/platform-normalizationJohn Ericson2017-04-18
|\ | | | | Doc for Platform Normalization
| * doc: Document the structure of `{build,host,target}Platforms`John Ericson2017-04-18
| | | | | | | | Worthwhile to do now that #24610 makes it less abysmal.
* | Python docs: Python 2.x namespace packages may collide when using .withPackagesFrederik Rietdijk2017-04-18
| |
* | rustup: init at 1.2.0Jörg Thalheim2017-04-17
|/
* doc: fix overlays pathsCarles Pagès2017-04-02
| | | | It was not updated with 9d6a55aefd7.
* rename iana_etc to iana-etcJörg Thalheim2017-03-28
| | | | fixes #23621
* Python docs: small fixesFrederik Rietdijk2017-03-22
|
* Update python.md (#23669)Joachim Schiele2017-03-21
| | | | | | | | | | | | | | | | | | * Update python.md this makes it clear how to alter `attributes` by using `packageOverrides` * Update python.md * Update python.md * Update python.md * Update python.md * Update python.md * Update python.md
* doc: remove double spaceRobin Gloster2017-03-20
|
* Revert "doc: remove double space"Robin Gloster2017-03-20
| | | | | | This reverts commit 6393d433803f84e02cc340645481dcd85231083b. Commit added too much changes.
* doc: remove double spaceRobin Gloster2017-03-20
|
* doc: Add rust documentation (#23510)Matthias Beyer2017-03-20
|
* doc/language-frameworks/haskell.md: integer-simple improvementsBas van Dijk2017-03-12
| | | | | | * Strip the unnecessary 'pkgs' attribute. * Remove ghc-7.6.3 as a GHC supporting integer-simple.
* doc: fix code highlighting, use valid Nix syntaxAlexey Muranov2017-03-06
| | | | | | | | | Fix code syntax highlighting by specifying language in every code block and adding some context to Nix code blocks to make them valid expressions. Use the same markup style for all code blocks. Reformat some code blocks. fixes #23535
* doc: cleanup whitespace in python.mdAlexey Muranov2017-03-06
|
* Merge branch 'master' into stagingVladimír Čunát2017-02-27
|\
| * Update Qt and KDE documentationThomas Tuegel2017-02-27
| | | | | | | | | | | | - Describe the new `libsForQt5.callPackage` interface - Emphasize that Qt dependencies must be imported unqualified - Describe the new `kdeWrapper` wrapper generator
| * 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.
* | Python: explain deterministic build in docsFrederik Rietdijk2017-02-26
|/
* Docs: update Python contributing guidelinesFrederik Rietdijk2017-02-22
|
* wrap added notes in <note>Paul Kinsky2017-02-20
|
* Add tips for resolving https issues in containersPaul Kinsky2017-02-20
| | | | I ran into some issues making HTTPS requests from a container built with buildImage. I've added notes with tips for resolving similar issues.
* Merge branch 'master' into stagingVladimír Čunát2017-02-09
|\
| * top-level: Allow nixpkgs to take localSystem directlyJohn Ericson2017-02-08
| | | | | | | | This is instead of both system and platform, which is kind of ugly.
| * Merge pull request #22387 from Ericson2314/cross-3-platformsJohn Ericson2017-02-05
| |\ | | | | | | cross stdenv: let build package's build deps resolve to native packages
| | * cross stdenv: let build package's build deps resolve to native packagesJohn Ericson2017-02-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the "sliding window" principle: 0. Run packages: build = native; host = foreign; target = foreign; 1. Build packages: build = native; host = native; target = foreign; 2. Vanilla packages: build = native; host = native; target = native; 3. Vanilla packages: build = native; host = native; target = native; n+3. ... Each stage's build dependencies are resolved against the previous stage, and the "foreigns" are shifted accordingly. Vanilla packages alone are built against themsevles, since there are no more "foreign"s to shift away. Before, build packages' build dependencies were resolved against themselves: 0. Run packages: build = native; host = foreign; target = foreign; 1. Build packages: build = native; host = native; target = foreign; 2. Build packages: build = native; host = native; target = foreign; n+2. ... This is wrong because that principle is violated by the target platform staying foreign. This will change the hashes of many build packages and run packages, but that is OK. This is an unavoidable cost of fixing cross compiling. The cross compilation docs have been updated to reflect this fix.
* | | Merge #19328: mkWrapper fix and docsVladimír Čunát2017-02-05
|\ \ \ | |/ / |/| |
| * | stdenv: document makeWrapperProfpatsch2016-10-08
| | | | | | | | | | | | | | | Add function documentation to `makeWrapper`. Also add user documentation to the nixpkgs manual.
* | | Merge branch 'master' into stagingVladimír Čunát2017-02-03
|\ \ \
| * | | docs: fix link for pythonDomen Kožar2017-02-01
| | | |
| * | | ~/.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_OVERLAYS -> <nixpkgs-overlays>Eelco Dolstra2017-02-01
| | |/ | |/| | | | | | | | | | | | | The Nix search path is the established mechanism for specifying the location of Nix expressions, so let's use it instead of adding another environment variable.
* / | ghc: support building with integer-simple and provide package sets for itBas van Dijk2017-02-02
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the flag enableIntegerSimple is true GHC will be build with the GPL-free but slower integer-simple library instead of the faster but GPLed integer-gmp library. The attribute `pkgs.haskell.compiler.integer-simple."${ghcVersion}"` provides a GHC compiler build with `integer-simple`. Similarly, the attribute `pkgs.haskell.packages.integer-simple."${ghcVersion}"` provides a package set supporting `integer-simple`. Closes https://github.com/NixOS/nixpkgs/pull/22121. Closes https://github.com/NixOS/nixpkgs/issues/5493.
* | Merge #16501: add a guide about vim pluginsVladimír Čunát2017-01-30
|\ \
| * | doc vim: nitpicksVladimír Čunát2017-01-30
| | |
| * | Add nixpkgs documentation about how to create a derivation with Vim + pluginsMarc Weber2016-06-25
| | |
* | | Make more visible which fetch approach is bestLorenzo Manacorda2017-01-30
| | | | | | | | | Prepend "bad/better/best" to each paragraph, to make more visible which approach is best
* | | Merge pull request #22101 from zimbatm/no-md5Domen Kožar2017-01-25
|\ \ \ | | | | | | | | Bye bye MD5
| * | | doc/old/cross.txt: md5 -> sha256zimbatm2017-01-24
| | | |
* | | | nixpkgs docs: Cross compilation docsJohn Ericson2017-01-24
| | | |
* | | | nixpkgs doc: Talk about nativeBuildInputs and propgatedNativeBuildInputsJohn Ericson2017-01-24
|/ / / | | | | | | | | | | | | | | | Do so in the stdenv section where the other two are discussed. This can be done without brining up cross-compilation by talking about build-time vs run-time.
* | | doc: improve hardening docsFranz Pletz2017-01-20
| | | | | | | | | | | | Fixes #18887.