about summary refs log tree commit diff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2017-08-12Python: overridePythonPackage -> overridePythonAttrsFrederik Rietdijk1-3/+3
to better fit the existing naming scheme. https://github.com/NixOS/nixpkgs/pull/26155#issuecomment-321279629
2017-08-09Python: add buildPythonPackage.overridePythonPackage method.Frederik Rietdijk1-5/+34
This allows one to always override the call to `buildPythonPackage`. In the following example we create an environment where we have the `blaze` package using an older version of `pandas`. We override first the Python interpreter and pass `packageOverrides` which contains the overrides for packages in the package set. ``` with import <nixpkgs> {}; (let python = let packageOverrides = self: super: { pandas = super.pandas.overridePythonPackage(old: rec { version = "0.19.1"; name = "pandas-${version}"; src = super.fetchPypi { pname = "pandas"; inherit version; sha256 = "08blshqj9zj1wyjhhw3kl2vas75vhhicvv72flvf1z3jvapgw295"; }; }); }; in pkgs.python3.override {inherit packageOverrides;}; in python.withPackages(ps: [ps.blaze])).env ```
2017-08-08 ruby docs: simplify examplenonsequitur1-1/+0
The 'phases' attribute is unneeded and misleading
2017-08-08Merge pull request #27753 from FRidh/python33eolFrederik Rietdijk1-3/+2
python33: end-of-life
2017-08-07ruby docs: fix text and example (#28006)nonsequitur1-7/+3
1. 'wrapper' has been renamed to 'wrappedRuby', so use this instead. 2. mkDerivation isn't called with a 'src' attribute, so skip the 'unpackPhase' to avoid an error. 3. Simplify the build command. 'mkdir' and 'patchShebangs' don't need to be called explicitly.
2017-08-06docs: fix error in nix expressionSilvan Mosberger1-1/+1
2017-08-03dockerTools: document image spec v1.2 compatibilityMathias Schreck1-4/+4
2017-07-30Merge pull request #27709 from binarin/fzf-shareJörg Thalheim1-6/+24
fzf: add script for finding 'share' folder
2017-07-29python33: end-of-lifeFrederik Rietdijk1-3/+2
Python 3.3 reaches end-of-life when we release 17.09. https://mail.python.org/pipermail/python-dev/2017-July/148584.html
2017-07-29nixpkgs-manual: fix build, reindentFranz Pletz1-13/+41
cc #25980
2017-07-28Merge pull request #25980 from nyarly/bundlerenv_usecasesCharles Strahan1-2/+23
BundlerEnv, now with groups and paths
2017-07-28fzf: add script for finding 'share' folderAlexey Lebedeff1-6/+24
So that helper scripts can be easily sourced in interactive shell configuration. `autojump` package was already present and had the same requirements for findind a `share` folders, so I took an inspiration there. I beleive this is a better alternative to: - https://github.com/NixOS/nixpkgs/pull/25080 - https://github.com/NixOS/nixpkgs/pull/27058 Replacing `$out/share/shell` with `$bin/share/fzf` was necessary to prevent dependency loop in produced derivations.
2017-07-26haskell: remove all code related to the "haste" compilerPeter Simons1-27/+0
These packages have been broken for a while and now they don't even evaluate any more.
2017-07-18manual: update mailing list linksGraham Christensen1-3/+3
2017-07-18Point to the new mailing list by replacing the old linkDomen Kožar1-1/+1
2017-07-16Merge pull request #25955 from ↵Graham Christensen1-0/+213
matthewbauer/nixpkgs-manual-declarative-package-management manual: add "declarative package management" section
2017-07-07doc: Update cross compilation chapter for stdenv.{build,host,target}PlatformJohn Ericson1-2/+3
2017-07-05Grammar, spelling fixed.Judson1-2/+2
2017-07-02Adding docs for bundlerApp.Judson1-3/+24
2017-06-28Merge pull request #26884 from obsidiansystems/purge-stdenv-crossJohn Ericson1-5/+0
Purge stdenv cross
2017-06-28top-level: stdenv.cross vanquishedhsloan1-5/+0
2017-06-27Merge pull request #26906 from zagy/fix/doc-gobuild-dependency-noteJörg Thalheim1-4/+4
doc / go building: improve
2017-06-27doc / go building: improveChristian Zagrodnick1-4/+4
Move the paragraph about go2nix to the other paragraphs about dependencies.
2017-06-23Merge pull request #26007 from obsidiansystems/cc-wrapper-prefixJohn Ericson1-0/+10
Get rid of gcc-cross-wrapper
2017-06-22cross stdenv adaptor: Support --host --build --target across the boardJohn Ericson1-0/+10
Packages get --host and --target by default, but can explicitly request any subset to be passed as needed. See docs for more info. rustc: Avoid hash breakage by using the old (ignored) dontSetConfigureCross when not cross building
2017-06-22Merge pull request #26668 from gleber/fixpoint-erlang-packagesDaiderd Jordan2-134/+232
erlang: refactor: build packages per Erlang/OTP version.
2017-06-22doc/languages-frameworks/vim: add custom vimrc & packagesJörg Thalheim1-4/+37
2017-06-22Update BEAM docsEric Bailey2-164/+182
Improve beam docs: * correct spelling * update per pandoc changes * capitalize titles * capitalize BEAM throughout and use "the BEAM" when referring to the virtual machine. * tweak grammar and phrasing * reformat build-tools-rebar3 section * add more links * re-wrap <para>s Also update <programlisting>s * normalize whitespace * don't double quote homepage * use $ in all shell snippets
2017-06-19erlang: update documentation.Gleb Peregud1-30/+110
The documentation got a bit stale compared to actual contents of nixpkgs. This commit focuses on updating existing docs, not on making sure all details of beam packages are covered.
2017-06-19Merge pull request #26345 from vcunat/p/doc-override-phasesFrederik Rietdijk1-1/+7
nixpkgs manual: advise against overriding whole phases
2017-06-18nixpkgs: remark about running Qt applicationsThomas Tuegel1-20/+46
2017-06-18nixpkgs: remove comments from manual about wrapping Qt packagesThomas Tuegel1-3/+1
It is no longer necessary to wrap Qt packages
2017-06-15Merge pull request #25954 from matthewbauer/nixpkgs-emacs-manualJoachim F1-0/+136
manual: add "Emacs" section to manual
2017-06-11doc: Fix some typosJan Tojnar5-10/+10
2017-06-10Python docs: Add example for overlaysJosef Kemetmueller1-0/+22
2017-06-03nixpkgs manual: advise against overriding whole phasesVladimír Čunát1-1/+7
I've seen that mistake at least a few times already, e.g. https://github.com/NixOS/nixpkgs/pull/26209#issuecomment-305925562 It might perhaps seem counter-intuitive if one doesn't know nixpkgs well.
2017-05-31Merge pull request #26269 from obsidiansystems/libSystemJohn Ericson1-1/+1
lib and doc: Use "libSystem" as identifier for that libc in platforms
2017-05-31lib and doc: Use "libSystem" as identifier for that libc in platformsJohn Ericson1-1/+1
2017-05-29Merge pull request #26037 from obsidiansystems/platform-examplesJohn Ericson1-8/+44
lib: Consolidate platform configurations (used for crossSystem)
2017-05-29lib: Consolidate platform configurations (used for crossSystem)John Ericson1-8/+44
This is good for maintenance and education.
2017-05-27user-local config.nix path fixed in docsDmitry Vyal1-1/+1
2017-05-24doc/cross-compilation: change cross to targetMatthew Bauer1-1/+1
thanks to @bjornfor for catching this
2017-05-23doc/cross-compilation: cleanup some grammarMatthew Bauer1-4/+4
These all should be uncontroversial changes. Just some awkward wording and double words, etc.
2017-05-20manual: add "declarative package management" sectionMatthew Bauer1-0/+213
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.
2017-05-20manual: add "Emacs" section to manualMatthew Bauer1-0/+136
This gives some basics on configuring Emacs within Nix. The configuration is fairly long just to give a good idea of what’s going on. I can trim out some of it if it’s not necessary. Note that there is already a section for Emacs in the NixOS manual. However, this is aimed at avoiding using modules altogether to make things easier for non-NixOS users. This configuration should work on NixOS anyway, however. Fixes #24243 Fixes #19956
2017-05-12manual: fix typoWilli Butz1-1/+1
2017-05-07Python: replace requests2 with requests tree-wideFrederik Rietdijk1-2/+2
See f63eb5857352705665411130d4f1638d55dd8c58 The `requests2` attribute now throws an error informing that `requests` should be used instead.
2017-04-26doc: enable code syntax highlightingAlexey Muranov1-383/+426
Use "fenced" code blocks to enable syntax highlighting. Other markup and formatting.
2017-04-23nixpkgs manual: Remove obsolete warning (#21117)Linus Heckemann1-1/+0
PR #815 has already been cherry-picked into the default nix version 1.11.8.
2017-04-23Merge pull request #25099 from obsidiansystems/cross-lib-foundationJohn Ericson1-0/+5
Changes to nixpkgs infra to prepare to better package some pesky cross-compilers No hashes (native or cross) should be changed