Commit Graph

226151 Commits

Author SHA1 Message Date
Benjamin Hipple
c88290789c doc: Rewrite python onboarding tutorials in manual
Based on some feedback in #87094 and discussion with @fridh, this re-organizes
the onboarding tutorial in the Nixpkgs manual's python section, so that we start
with the simplest, most ad-hoc examples and work our way up. This progresses
from:

1. How to create an temporary python env at the cmdline, then
2. How to create a specific python env for a single script, then
3. How to create a specific python env for a project in a shell.nix, then
4. How to install a specific python env globally on the system or in a user profile.

Additionally, I've tried to standardize on some of the "best practice" ways of
doing things:

1. Instead of saying that this command style is "supported but strongly not
   discouraged", I've just deleted it to avoid confusion.

   Bad:  nix-shell -p python38Packages.numpy python38Packages.toolz
   Good: nix-shell -p 'python38.withPackages(ps: with ps; [ numpy toolz ])'

2. In the portion where we show how to add stuff to the user's
   `XDG_CONFIG_HOME`, use overlays instead of `config.nix`. The former can do
   everything the latter can do, but is also much more generic and powerful,
   because it can compose with other files, compose with other envs, compose
   with overlays that do things like swap whether tensorflow and pytorch are
   built openblas/mkl/cuda stacks, and so on. The user is eventually going to
   see the overlay, so to avoid confusion let's standardize on it.
2020-05-15 22:43:16 +02:00
Elis Hirwing
52d2e99182
php74: 7.4.4 -> 7.4.5
Changelog: https://www.php.net/ChangeLog-7.php#7.4.5
2020-05-15 22:10:03 +02:00
Vladyslav M
84765451c2
Merge pull request #87896 from bbigras/starship 2020-05-15 22:50:36 +03:00
Vincent Laporte
a91007dbc4 ocamlPackages.ipaddr: remove at 2.6.1
This is a legacy version for OCaml 4.02
2020-05-15 21:40:31 +02:00
Peter Simons
5e6f290e32
Merge pull request #87805 from NixOS/haskell-updates
Update Haskell package set to LTS 15.12 (plus other fixes)
2020-05-15 21:39:12 +02:00
Florian Klink
b611581162
Merge pull request #87885 from flokli/fly-6.1.0
fly: 6.0.0 -> 6.1.0
2020-05-15 21:21:15 +02:00
Peter Simons
a4282b6dc1 all-cabal-hashes: update to Hackage at 2020-05-15T17:34:35Z 2020-05-15 21:19:10 +02:00
Peter Simons
e037eb4046 ghcjs: mark build as broken
ghcjs hasn't compiled for several weeks.
2020-05-15 21:19:10 +02:00
Robert Hensing
4353027d0b haskell/generic-builder.nix: Fix C lib multiple inclusions
Allow the darwin links code to overwrite libs that were already
copied, because C dependencies can occur multiple times.

Solves errors like

    ln: failed to create symbolic link '/nix/store/higpc9xavwcjjzdipz7m9ly03bh7iy2z-hercules-ci-agent-source-0.7.0/lib/links/libboost_context.dylib': File exists
2020-05-15 21:02:08 +02:00
Peter Simons
4ed93cc494 haskell-ghc-lib-parser-ex: update overrides for the update 8.10.x version 2020-05-15 21:02:08 +02:00
Peter Simons
dcbcd742e0 haskell-dhall: update override for the latest version on ghc-8.10.x 2020-05-15 21:02:08 +02:00
Malte Brandy
a61cf82b6d hackagePackages.neuron: Fix build 2020-05-15 21:02:08 +02:00
Peter Simons
730024fcaa hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.3-1-gb7c82db from Hackage revision
4c409c7b8e.
2020-05-15 21:01:59 +02:00
Peter Simons
ca8cb6044e hackage2nix: update list of broken packages 2020-05-15 21:01:34 +02:00
Peter Simons
cf8bd2cd22 LTS Haskell 15.12 2020-05-15 21:01:34 +02:00
Tor Hedin Brønner
59e2e44f5b
Merge pull request #87202 from r-ryantm/auto-update/glade
gnome3.glade: 3.22.2 -> 3.36.0
2020-05-15 20:52:25 +02:00
Andreas Rammhold
b0774e2d0e
Merge pull request #87811 from andir/firefox
firefox: 76.0 -> 76.0.1
2020-05-15 20:21:24 +02:00
zimbatm
99efa7c85c
Revert "Get rid of go 1.13 (#86036)"
This partially reverts commit 3e0aa4af2d.

See the discussion in the PR.
2020-05-15 19:26:53 +02:00
Jan Tojnar
e20c3296a4
glade: 3.32.2 → 3.36.0
https://ftp.gnome.org/pub/GNOME/sources/glade/3.36/glade-3.36.0.news
2020-05-15 19:26:02 +02:00
Jan Tojnar
fe7e564467
glade: format with nixpkgs-fmt
also switch away from dependency aliases and reorder the attributes a bit
2020-05-15 19:21:12 +02:00
Jan Tojnar
6b17638dc6
glade: rename from gnome3.glade 2020-05-15 19:21:12 +02:00
Mario Rodas
202ded0110 go-tools: 2020.1.3 -> 2020.1.4 2020-05-15 10:12:14 -07:00
Oleksii Filonenko
55242c1d67 polybar: 3.4.2 -> 3.4.3 2020-05-15 09:54:30 -07:00
Kim Lindberger
ecb1d7de29
Merge pull request #87843 from talyz/nomachine-archive
nomachine-client: Add archive.org to source urls
2020-05-15 18:53:27 +02:00
Aaron Andersen
0666f6277b govc: 0.21.0 -> 0.22.1 2020-05-15 12:50:41 -04:00
Matt Huszagh
e8215cd634 colmap: update boost to 1.72 to fix build 2020-05-15 09:42:36 -07:00
jakobrs
6bbdcdbf12 schismtracker: 20190805 -> 20200412 2020-05-15 18:23:16 +02:00
jakobrs
4621fe7889 schismtracker: Add x86_64-darwin support 2020-05-15 18:21:34 +02:00
Lila
7517299146
treewide: fix broken AlpineLinux repo links (#87892) 2020-05-15 16:58:27 +01:00
Bruno Bigras
48c4f434fa starship: 0.41.1 -> 0.41.3 2020-05-15 11:22:25 -04:00
Matthieu Coudron
7319061eef
Merge pull request #87803 from aepsil0n/upgrade-alot-0.9.1
alot: 0.9 → 0.9.1
2020-05-15 17:08:12 +02:00
lewo
df928fafd4
Merge pull request #87725 from nlewo/fix-dockertools
dockerTools.examples: fix the nginx image
2020-05-15 16:54:09 +02:00
Jan Tojnar
7ac738273d
lsp-plugins: Fix build
/build/source/include/metadata/modules.h:122:1: note: in expansion of macro 'MOD_PLUGIN'
	  122 | MOD_PLUGIN(slap_delay_mono, plugin_ui)
	      | ^~~~~~~~~~
	lv2.cpp:414:43: error: invalid conversion from 'void* (*)(const lsp::_LV2UI_Descriptor*, const char*, const char*, LV2UI_Write_Function, LV2UI_Controller, void**, const LV2_Feature* const*)' {aka 'void* (*)(const lsp::_LV2UI_Descriptor*, const char*, const char*, void (*)(void*, unsigned int, unsigned int, unsigned int, const void*), void*, void**, const LV2_Feature* const*)'} to 'void* (*)(const LV2UI_Descriptor*, const char*, const char*, LV2UI_Write_Function, LV2UI_Controller, void**, const LV2_Feature* const*)' {aka 'void* (*)(const LV2UI_Descriptor*, const char*, const char*, void (*)(void*, unsigned int, unsigned int, unsigned int, const void*), void*, void**, const LV2_Feature* const*)'} [-fpermissive]
	  414 |                 d->instantiate          = lv2ui_instantiate;    \
	      |                                           ^~~~~~~~~~~~~~~~~
	      |                                           |
	      |                                           void* (*)(const lsp::_LV2UI_Descriptor*, const char*, const char*, LV2UI_Write_Function, LV2UI_Controller, void**, const LV2_Feature* const*) {aka void* (*)(const lsp::_LV2UI_Descriptor*, const char*, const char*, void (*)(void*, unsigned int, unsigned int, unsigned int, const void*), void*, void**, const LV2_Feature* const*)}
2020-05-15 16:14:20 +02:00
Pascal Winkelmann
b94e8cc448 incorporate suggested changes from pull request 2020-05-15 16:03:26 +02:00
Robert Schütz
a6a5cba049
Merge pull request #87346 from r-ryantm/auto-update/python2.7-latexcodec
python27Packages.latexcodec: 1.0.7 -> 2.0.0
2020-05-15 15:44:57 +02:00
Jan Tojnar
a762c0e304
Merge pull request #87731 from jtojnar/update-no-build-src 2020-05-15 15:40:43 +02:00
Florian Klink
44c0533497 fly: 6.0.0 -> 6.1.0 2020-05-15 14:54:35 +02:00
Michael Weiss
b0df5a6816
signal-desktop: 1.33.4 -> 1.34.0 2020-05-15 14:11:58 +02:00
Eduard Bopp
c562954326 alot: replace geistesk as maintainer
As requested by geistesk here:
https://github.com/NixOS/nixpkgs/pull/87803#issuecomment-628711513
2020-05-15 14:05:03 +02:00
Robert Schütz
136aebc2e1 python.pkgs.sphinxcontrib-bibtex: disable python2
Support dropped in efa4e66b5a.
2020-05-15 14:03:33 +02:00
Eduard Bopp
0682ec40c6 alot: 0.9 → 0.9.1
Dropped the patch, as it is included in the point release.

Switched the hash representation to regular base32.
2020-05-15 14:03:06 +02:00
Florian Klink
5d362c2335 fly: use completion generator
There's no need to ship the pre-generated completions in the nixpkgs
tree anymore.
2020-05-15 13:53:14 +02:00
adisbladis
e4d710b1c9
Merge pull request #87409 from rasendubi/melpa-2020-05-09
melpa-packages: 2020-05-11
2020-05-15 13:03:31 +02:00
Jörg Thalheim
2645339fe8
Merge pull request #87876 from cryptix/update-gopls 2020-05-15 11:36:25 +01:00
Robert Schütz
9774e87ef1 python.pkgs.latexcodec: run tests 2020-05-15 12:21:38 +02:00
Pascal Winkelmann
8f475b0470 jugglinglab: init at 1.2 2020-05-15 12:17:13 +02:00
adisbladis
730133e130
darktable: Remove doc directory from output
It puts very generic file names in the store like
`$out/share/doc/README.md` which has a high risk of collisions.
2020-05-15 10:38:39 +01:00
Henry
24a6c81291 gopls: 0.4.0 -> 0.4.1 2020-05-15 11:33:55 +02:00
Jörg Thalheim
2ab9b44a8f
Merge pull request #87874 from marsam/update-git-absorb
gitAndTools.git-absorb: 0.5.0 -> 0.6.0
2020-05-15 10:25:34 +01:00
Jörg Thalheim
84f5d69b42
Merge pull request #87873 from leenaars/sylk272
Sylk: 2.7.0 -> 2.7.2
2020-05-15 10:21:06 +01:00