Commit graph

992 commits

Author SHA1 Message Date
Valentin Gagarin fba19509b1 use nix-shell -p for dhall-to-nixpkgs example 2023-09-25 17:00:55 +02:00
Frederik Rietdijk f4822bb295
Merge pull request #254309 from pbsds/flit-prune
python3Packages.flitBuildHook: remove
2023-09-25 11:34:15 +02:00
Alejandro Sánchez Medina ade134ecd1
nixpkgs manual: doc python: add hyperlinks to Python section (#252156)
* nixpkgs manual: doc python: add hyperlinks to Python section

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-09-24 19:13:18 +02:00
Peder Bergebakken Sundt bdda7b0a53 python3Packages.flitBuildHook: remove 2023-09-22 21:11:24 +02:00
Wout Mertens 00de2104fc corepack: PR review updates
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Sandro Jaeckel <sandro.jaeckel@gmail.com>
2023-09-20 17:27:05 +02:00
Wout Mertens 724f6bcb77 nodejs: corepack wrappers package 2023-09-20 10:10:51 +02:00
Valentin Gagarin e2c2528075
BEAM docs: recommend nix-shell -p and shell.nix instead of nix-env (#255131)
* BEAM docs: recommend `nix-shell -p` and `shell.nix` instead of `nix-env`

Co-authored-by: asymmetric <lorenzo@mailbox.org>
2023-09-18 16:34:30 +02:00
Mario Rodas 3b1f3712a4
Merge pull request #255128 from PuercoPop/ruby-document-extraConfigPaths
ruby: document extraConfigPaths option from bundlerEnv
2023-09-15 08:13:32 -05:00
Maciej Krüger 7b737acb4a
Merge pull request #254967 from nbraud/sha256-to-hash/top-level 2023-09-15 14:36:49 +02:00
Frederik Rietdijk 53dd1a6edb
Merge pull request #254136 from figsoda/python
python310Packages.buildPythonPackage: introduce pyproject option
2023-09-14 18:33:49 +02:00
asymmetric b414f942e0
doc: link, instead of just mentioning, Nix manual (#255126)
Instead of just telling the reader to go find the relevant section of the Nix
manual, let's just link to it. Yay hypertext!
2023-09-14 17:09:39 +02:00
Javier Olaechea fbe107fd5c ruby: document extraConfigPaths option from bundlerEnv 2023-09-14 09:46:07 -05:00
nicoo fe138d36c9 doc: Replace sha256 with hash where appropriate 2023-09-13 17:24:49 +00:00
Pol Dellaiera c0c01910ce
php: update documentation 2023-09-13 15:00:03 +02:00
ajs124 f85cec7548 erlang23: remove 2023-09-13 11:33:11 +00:00
figsoda 39c64e2323 doc/python: document pyproject and remove usages of format 2023-09-12 19:54:43 -04:00
Weijia Wang bd2ccdef23
Merge pull request #251006 from Uthar/doc-lisp001
doc/lisp:  Clarifications in the manual
2023-09-07 22:37:02 +02:00
Connor Baker d5e5246e76 cudaPackages: split outputs
This change which involves creating multiple outputs for CUDA
redistributable packages.

We use a script to find out, ahead of time, the outputs each redist
package provides. From that, we are able to create multiple outputs for
supported redist packages, allowing users to specify exactly which
components they require.

Beyond the script which finds outputs ahead of time, there is some custom
code involved in making this happen. For example, the way Nixpkgs
typically handles multiple outputs involves making `dev` the default
output when available, and adding `out` to `dev`'s
`propagatedBuildInputs`.

Instead, we make each output independent of the others. If a user wants
only to include the headers found in a redist package, they can do so by
choosing the `dev` output. If they want to include dynamic libraries,
they can do so by specifying the `lib` output, or `static` for static
libraries.

To avoid breakages, we continue to provide the `out` output, which
becomes the union of all other outputs, effectively making the split
outputs opt-in.
2023-08-31 03:31:55 +00:00
Kasper Gałkowski 827b70a9b4 doc/lisp: document arguments of buildASDFSystem 2023-08-25 22:20:46 +02:00
Kasper Gałkowski 9ce6e34ddf doc/lisp: add links to sections and upstream websites
Also clean up complex paragraphs and fix section on building wrappers
2023-08-25 21:35:34 +02:00
Kasper Gałkowski b991ea8385 doc/lisp: clarify section on importing from Quicklisp
1. Clarify what is the reason for importing and to where it saves
2. Clarify that packages.sqlite is a temporary file
3. Link to section about native dependencies from first mention of ql.nix
2023-08-25 21:00:39 +02:00
Kasper Gałkowski 952781729f doc/lisp: minor changes to manual 2023-08-23 19:01:16 +02:00
Daniel Nagy f58a6078fa
chickenPackages: turn into scope
The purpose of this change is to allow the overriding of one egg, which in turn
affects all dependents of that eggs.
2023-08-21 17:00:00 +02:00
Alejandro Sanchez Medina 13e4891d6d nixpkgs manual: doc python: render manual notes as admonitions 2023-08-21 16:02:34 +02:00
Alejandro Sánchez Medina 8cd56a3b7a
Documentation: nixpkgs manual: move Python reference to the top of Python chapter (#247117)
* nixpkgs manual, doc Python: move Reference/Optimizations to FAQ

See https://github.com/NixOS/nixpkgs/issues/246234.

* nixpkgs manual, doc Python: move Reference/python-optional-dependencies to FAQ

See https://github.com/NixOS/nixpkgs/issues/246234.

* nixpkgs manual, doc Python: move Reference/Tools to FAQ

See https://github.com/NixOS/nixpkgs/issues/246234.

* nixpkgs manual, doc Python: move Reference/deterministic-builds to FAQ

See https://github.com/NixOS/nixpkgs/issues/246234.

* nixpkgs manual, doc Python: move Reference/automatic-tests to FAQ

See https://github.com/NixOS/nixpkgs/issues/246234.

* nixpkgs manual, doc Python: move Reference to top section

See https://github.com/NixOS/nixpkgs/issues/246234.
2023-08-17 14:45:29 +02:00
mdarocha a36883ddfe maintainers: add dotnet team 2023-08-16 08:49:08 +02:00
Artturin b93da3f4b7 treewide: overrideScope' -> overrideScope
`lib.makeScope` `overrideScope'` has been renamed to `overrideScope`

`fd --type f | xargs sd --string-mode "overrideScope'" "overrideScope"`
2023-08-14 18:46:47 +03:00
github-actions[bot] 4507a6bd1f
Merge master into staging-next 2023-08-08 00:01:49 +00:00
Alejandro Sánchez Medina c72480119a
nixpkgs manual, doc Python: render interpreters in a table (#246956)
* nixpkgs manual, doc Python: render interpreters in a table

The current paragraph presenting Python interpreters is verbose and hinders clarity. The information provided is well suited to be rendered as a table.

Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com>

* nixpkgs manual, doc Python: fix typos in interpreters' table

* nixpkgs manual, doc Python: update header in interpreters' table

* nixpkgs manual, doc Python: get rid of empty block code workaround in interpreters' table

---------

Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com>
2023-08-07 23:48:22 +02:00
Vladimír Čunát 3a5c176f95
Merge branch 'master' into staging-next 2023-08-05 07:40:22 +02:00
Dmitry Kalinkin aa725d5a5b
Merge pull request #225503 from xworld21/texlive-binaries-from-tlpdb
texlive: generate bin containers from tlpdb
2023-08-04 22:31:30 -04:00
github-actions[bot] 0542af4e29
Merge master into staging-next 2023-08-04 00:02:04 +00:00
Jan Malakhovski ccbb065c88 doc: make sourceRoot and setSourceRoot documentation match the implementation, fix examples 2023-08-03 16:32:05 +00:00
Vladimír Čunát 55f778d2b5
Merge branch 'master' into staging-next 2023-08-01 18:22:43 +02:00
Weijia Wang 3bf9e65881 doc/maven: add stable-maven-plugins back 2023-08-01 16:00:52 +02:00
Tomo 48bbc6d964 doc/maven: prefer maven.buildMavenPackage over mvn2nix
Manually calling `mvn2nix` was the preferred way of building
Java apps that use Maven, but `maven.buildMavenPackage` is now the
preferred way.
2023-08-01 10:19:26 +02:00
Vincenzo Mantova 01af940407 texlive.combine: include packages with man pages by default 2023-07-29 18:31:17 +02:00
Doron Behar 6560d0086c python3.pkgs.pypaBuildHook: init 2023-07-28 12:13:25 +02:00
Doron Behar 1298c367b1 pip-build-hook.sh: Support $pipBuildFlags 2023-07-28 12:13:25 +02:00
Doron Behar 5262a7d1c9 doc/python: Demonstrate how to override the blas implementation 2023-07-28 12:13:25 +02:00
Connor Baker 495875182e
Merge pull request #224068 from SomeoneSerge/respect-config-cudaSupport
Respect global config.cudaSupport
2023-07-25 14:18:14 -04:00
Martin Weinelt f00b8343d2
Merge pull request #243848 from SuperSandro2000/clarify-python-tools
docs/python: clarify allowance of using toosl to autogenerate packages
2023-07-24 20:16:07 +02:00
Sandro Jäckel 0a47d54801
docs/python: clarify allowance of using toosl to autogenerate packages 2023-07-24 16:41:08 +02:00
github-actions[bot] 41e6556ad3
Merge master into staging-next 2023-07-22 18:01:06 +00:00
Paul Colomiets 366404a9d3 Remove tailhook from maintainers 2023-07-22 14:11:29 +03:00
Someone Serge 133993211b
config.cudaSupport: init option 2023-07-20 17:57:31 +03:00
Someone Serge a17baa5db4
doc: update #cuda to reflect the recommended config.cudaSupport style 2023-07-20 17:27:07 +03:00
Jan Tojnar cea188cbbb Merge branch 'staging-next' into staging
Conflicts:
 - pkgs/tools/networking/shadowfox/default.nix between e989daa65f and 1c29673fcc
 - pkgs/tools/networking/wuzz/default.nix between 7d80417710 and 1c29673fcc
2023-07-16 02:20:49 +02:00
maralorn 85331ccd98
doc/../haskell.section.md: Make a bit clearer and more beginner friendly 2023-07-15 02:18:29 +02:00
Artturin 1c29673fcc treewide: go-modules -> goModules
In 787af0f79f
I had to change ${go-modules} to $goModules to allow overrideAttrs to work;
However, env vars cannot contain -, so  i had to change go-modules too.
This in turn broke nix-update because it uses the go-modules attr.

Instead of making nix-update more complicated, make go-modules naming match cargoDeps.

`fd --type f | xargs sd '\bgo-modules\b' 'goModules'`
and revert change to pkgs/applications/misc/dstask/default.nix
and pkgs/servers/http/dave/default.nix
and pkgs/os-specific/darwin/plistwatch/default.nix

release note added
2023-07-14 00:18:06 +03:00