summaryrefslogtreecommitdiffstats
path: root/doc/languages-frameworks
AgeCommit message (Collapse)Author
2018-04-22haskell: allow overriding all package sets at onceBas van Dijk
Setting haskell.packageOverrides like so: haskell = super.haskell // { packageOverrides = self: super: { my-package = ...; my-other-package = ...; }; }; causes all compiler-specific package sets to be overridden with those overrides.
2018-04-19tree-wide: fix instance of "meta.maintainer" -> "meta.maintainers"Will Dietz
Encountered one of these when using check-meta, did a quick search to find other instances.
2018-04-01nixpkgs: remove ancient 'ecj' packageAustin Seipp
Nobody has stepped up to keep maintaining this and it's several years old, and the last strict Java 7 dependency, as it won't work with newer versions without an update. Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-03-28docs: extend rust docs (#35587)Garrett Berg
- Add example for setting up nix-shell, improve rust docs - Rust docs: add gcc rust dependencies and fix carnix commands - Fix a typo with the carnix command.
2018-03-25Move all nixpkgs doc files in to the doc directoryGraham Christensen
This makes a makefile-driven developer workflow nicer.
2018-03-21python.md: fix grammar around bdist_wheel FAQgiraffito
2018-03-20Remove obsolete /nix/var/nix/{manifests,channel-cache}Eelco Dolstra
2018-03-18Emscripten 1.37.16 to 1.37.36 (#37291)Joachim Schiele
* trying to build emscriptenPackages not all fail * reading the console.log it turns out python executable is not in place and that is why emconfigure didnt work * backup commit * much more targets are compiling now * added common revisioning * revision bump to 1.37.36 (not tested) * fixed xmllint * forcing unit testing, will implement the tests after i get home * json_c test working * added tests * tiny fixes * added documentation
2018-03-10Merge branch 'master' into stagingJan Malakhovski
Resolved the following conflicts (by carefully applying patches from the both branches since the fork point): pkgs/development/libraries/epoxy/default.nix pkgs/development/libraries/gtk+/3.x.nix pkgs/development/python-modules/asgiref/default.nix pkgs/development/python-modules/daphne/default.nix pkgs/os-specific/linux/systemd/default.nix
2018-03-07A note about scheme-* in texlive.combineMichael Raskin
2018-02-28perlPackages.DBI: Stub out dbd_postamble for cross-compilation.Shea Levy
2018-02-28perlPackages: Add cross-compilation support.Shea Levy
This involved: * Installing miniperl as $dev/bin/perl * Setting miniperl to take INC from lib/perl5/{site_perl/,}cross_perl/${version} as well as lib/perl5/{site_perl/,}/${version}/${runtimeArch}, in that order. miniperl taking from runtimeArch is not really correct, but it works in some pure-perl cases (e.g. Config.pm) and can be overridden with the cross_perl variant. * Installing perl-cross's stubs into $dev/lib/perl5/cross_perl/${version} * Patching MakeMaker.pm to gracefully degrade (very slightly) if B.pm can't be loaded, which it can't in cross-compilation. * Passing the right build-time and runtime perls to Makefile.PL
2018-02-20BuildRustCrate: more general overrides, and handling the "dylib" crate type ↵Pierre-Etienne Meunier
(#35171) * buildRustCrate: adding a symlink from libblah-xxxxx.so to libblah.so * BuildRustCrate: overriding phases * Carnix: 0.6.5 -> 0.6.6 * Fixing symlink_dependencies --buildDep * Shorter symlink_dependencies * running `runHook postBuild` *after* the build
2018-02-06Merge pull request #33306 from bgamari/patch-2Michael Raskin
haskell: Recommend use of hoogle --local
2018-02-03carnix: 0.6.0 -> 0.6.5pe@pijul.org
2018-01-16Python docs: remove `name` attributeFrederik Rietdijk
The `name` attribute is filled in when `pname` and `version` are specified. See https://github.com/NixOS/nixpkgs/pull/31173
2018-01-01haskell: Recommend use of hoogle --localBen Gamari
This works around the browser security restriction of disallowing links from http:// to file://.
2017-12-26haskell docs: change wording in the "Miscellaneous Topics" sectionPiotr Bogdan
2017-12-19coqPackages docs: fix typo (and thus manual build)Vladimír Čunát
2017-12-18coqPackages: update documentationVincent Laporte
2017-12-14Update haskell.mdVaibhav Sagar
Unindent prose that was incorrectly being displayed as code.
2017-12-12add buildRustCrate function to build rust cratesPierre-Étienne Meunier
2017-12-08Python docs: fix nix-shell exampleFrederik Rietdijk
2017-12-08Revert "Python docs: fix nix-shell example"Frederik Rietdijk
This reverts commit aa2326682c7210027747a2b5ee7f33311dc8fe10. Forgot parentheses...
2017-12-08Python docs: fix nix-shell exampleFrederik Rietdijk
2017-11-27haskell docs: fix typoBenjamin Hipple
2017-11-24doc: rust is an attribute set, not a packageVaibhav Sagar
Using `rust` instead of `rustc cargo` doesn't work in either `systemPackages` or `nix-shell -p`
2017-11-19documentation: python 2.6 is no moreVladimír Čunát
2017-11-19documentation: python3Packages is python36PackagesSamuel Dionne-Riel
Close #31810.
2017-11-17doc: improve rustPlatform exampleOrivej Desh
2017-11-03Python docs: fix quotes PR #31197Frederik Rietdijk
2017-11-03Fix nix-shell command example in python docsJonathan Curran
The nix-shell command here is incorrect AFAICT. `-i` is supposed to specify the interpreter and `-p` specifies the packages.
2017-10-23rust: update cargo builder to fetch registry dynamicallyKevin Cox
The biggest benefit is that we no longer have to update the registry package. This means that just about any cargo package can be built by nix. No longer does `cargo update` need to be feared because it will update to packages newer then what is available in nixpkgs. Instead of fetching the cargo registry this bundles all the source code into a "vendor/" folder. This also uses the new --frozen and --locked flags which is nice. Currently cargo-vendor only provides binaries for Linux and macOS 64-bit. This can be solved by building it for the other architectures and uploading it somewhere (like the NixOS cache). This also has the downside that it requires a change to everyone's deps hash. And if the old one is used because it was cached it will fail to build as it will attempt to use the old version. For this reason the attribute has been renamed to `cargoSha256`. Authors: * Kevin Cox <kevincox@kevincox.ca> * Jörg Thalheim <Mic92@users.noreply.github.com> * zimbatm <zimbatm@zimbatm.com>
2017-09-25docs/python: more infos regarding failing testsJörg Thalheim
2017-09-10haskell: introduce failOnAllWarningsBas van Dijk
Applying `haskell.lib.failOnAllWarnings` to a Haskell package enables the `-Wall` and `-Werror` GHC options to turn all warnings into build failures.
2017-09-02Python docs: add section on testsFrederik Rietdijk
2017-09-01documentation: fix some spellingDmitry Kalinkin
2017-08-30haskell: add the checkUnusedPackages function including docsBas van Dijk
2017-08-26Python docs: rewrite a partFrederik Rietdijk
- fix some mistakes - move explanation on how to create Python environments to the front
2017-08-15ruby docs: improve examplenonsequitur
1. Call `nix-build` with `--no-out-link` to avoid cluttering the source dir. 2. Re-add `patchShebangs`, since `buildCommand` doesn't imply a patch phase. (It was my fault to remove this in the first place, sorry!)
2017-08-13Merge commit '4c49205' into HEADFrederik Rietdijk
2017-08-12Python: overridePythonPackage -> overridePythonAttrsFrederik Rietdijk
to better fit the existing naming scheme. https://github.com/NixOS/nixpkgs/pull/26155#issuecomment-321279629
2017-08-11Merge pull request #27998 from davidak/macOSDomen Kožar
replace "Mac OS X" and "OS X" with "macOS"
2017-08-09Python: add buildPythonPackage.overridePythonPackage method.Frederik Rietdijk
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 examplenonsequitur
The 'phases' attribute is unneeded and misleading
2017-08-08Merge pull request #27753 from FRidh/python33eolFrederik Rietdijk
python33: end-of-life
2017-08-07replace "Mac OS X" and "OS X" with "macOS"davidak
as it is the official name since 2016 https://en.wikipedia.org/wiki/Macintosh_operating_systems#Desktop exception are parts refering to older versions of macOS like "GUI support for Mac OS X 10.6 - 10.12. Note that Emacs 23 and later [...]"
2017-08-07ruby docs: fix text and example (#28006)nonsequitur
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 Mosberger
2017-07-29python33: end-of-lifeFrederik Rietdijk
Python 3.3 reaches end-of-life when we release 17.09. https://mail.python.org/pipermail/python-dev/2017-July/148584.html