Nathan Henrie
f5f24cdb58
doc: add documentation for pkgs.{substitute,substituteAll,substituteAllFiles}
...
Fixes https://github.com/NixOS/nixpkgs/issues/65252
2024-08-21 20:11:02 +02:00
Philip Taron
be245de559
Merge pull request #333262 from nbraud/doc/runCommandWith
...
nixpkgs-manual: Document `runCommandWith`, refactor `runCommand{,CC,Local}`
2024-08-19 12:29:58 -07:00
nicoo
9e5d56e8c6
doc/build-helpers: forward-link runCommand*
in runCommandWith
2024-08-19 19:16:43 +00:00
nicoo
2b8a6a7e43
doc/build-helpers: refactor the paragraph about runCommandLocal
2024-08-19 19:16:43 +00:00
nicoo
e3d7e7f2a7
doc/build-helpers: add note relating runCommand
and runCommandWith
2024-08-19 19:16:42 +00:00
nicoo
482d6eaab2
doc/build-helpers: refactor the paragraphs about runCommand{,CC}
...
Co-authored-by: Johannes Kirschbauer <hsjobeki+github@gmail.com>
2024-08-19 19:16:42 +00:00
nicoo
80e3fd91a9
doc/build-helpers: document runCommandWith
...
Co-authored-by: Johannes Kirschbauer <hsjobeki+github@gmail.com>
2024-08-19 19:16:42 +00:00
Matthieu Coudron
a5e5d66a4c
vimPlugins: introduce passthru.initLua for some plugins ( #334913 )
...
* vimPlugins: introduce passthru.initLua for some plugins
as described in https://github.com/NixOS/nixpkgs/issues/172538 , some vim
plugins need some configuration to be able to work at all.
We choose not to patch those plugins and instead expose the necessary
configuration to make them work in `PLUGIN.passthru.initLua`.
For now the user can check if plugins have a `PLUGIN.passthru.initLua`
and if yes, prepend it to their own init.lua.
Maybe later we can revisit this to either patch them in a way that is
clear that it's a nixpkgs patch or by having the neovim wrapper pick
those snippets and autoadd them to init.lua ?
* Update doc/languages-frameworks/vim.section.md
Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>
---------
Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>
2024-08-19 12:16:42 +02:00
Philip Taron
cd7b95ee37
Merge pull request #333236 from nbraud/testers/runCommand
...
testers.runCommand: init
2024-08-16 18:07:41 -07:00
Alyssa Ross
5c30512e09
doc/using/overrides: manage package option expectations
...
We haven't been good at managing expectations about this, so let's
tell people what level of support they can expect. I think the place
people are most likely to see it is the place where they learn about
overriding in the first place, so I've added it here.
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-08-16 16:13:01 +02:00
github-actions[bot]
bf227f2f74
Merge master into staging-next
2024-08-13 06:01:20 +00:00
Justin Bedő
b1953b001e
Merge pull request #328272 from TomaSajt/r-packages-migrate-to-json
...
rPackages: migrate code generation to use JSON
2024-08-13 15:06:02 +10:00
Martin Weinelt
0e1624df44
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
- pkgs/development/python-modules/pycdio/default.nix
2024-08-11 03:10:34 +02:00
Robert Hensing
c5979b4e01
Merge pull request #329400 from NixOS/doc-function-inputs
...
doc/README: Add function Inputs guidelines
2024-08-11 01:23:32 +02:00
Doron Behar
00183733be
Merge pull request #332952 from doronbehar/doc/python_by-name
...
doc/python: don't recommend all-packages.nix for Python applications
2024-08-10 21:29:58 +00:00
nicoo
e0fc12cd12
doc: add type signature of testers.runCommand
2024-08-08 15:43:47 +00:00
nicoo
d0a96c6eda
testers.runCommand: add, document, and test
2024-08-08 15:29:14 +00:00
github-actions[bot]
0bc8d4924e
Merge master into staging-next
2024-08-07 18:01:07 +00:00
Doron Behar
d6f7206fe0
Merge pull request #323493 from pyrox0/pnpm-fetchdeps-improve
...
pnpm.fetchDeps: Add workspace and custom pnpm config commands support
2024-08-07 12:37:34 +00:00
Doron Behar
38e8fe7e3f
doc/python: don't recommend all-packages.nix for Python applications
2024-08-07 12:02:11 +03:00
github-actions[bot]
3c2967ad03
Merge master into staging-next
2024-08-07 06:01:16 +00:00
OTABI Tomoya
6ff8fec735
Merge pull request #332784 from pbsds/doc-python-auto-remove-deps-hook-1722967990
...
docs/language-frameworks/python: pythonRemoveDepsHook is added automatically
2024-08-07 14:22:48 +09:00
Peder Bergebakken Sundt
6488c3d438
docs/language-frameworks/python: update python{,2,3}Package aliases
2024-08-06 20:16:59 +02:00
Peder Bergebakken Sundt
ef70f7d028
docs/language-frameworks/python: pythonRemoveDepsHook is added automatically
2024-08-06 20:15:54 +02:00
Martin Weinelt
0b0dd33e0a
python312Packages.setuptoolsCheckHook: remove
...
The hook relied on the `test` command passed to `setup.py`, which has
long been deprecated and finally removed in setuptools 72.0.
2024-08-06 18:18:40 +02:00
Pyrox
875c9f044f
pnpm.fetchDeps: Add workspaces support and support for custom pnpm configuration commands
...
Solves #316908
2024-08-05 18:36:54 +03:00
K900
a4a42b3aec
Merge remote-tracking branch 'origin/staging-next' into staging
2024-08-01 08:57:50 +03:00
David McFarland
ebd3b37e6b
Merge pull request #327651 from corngood/dotnet-unpacked-packages
...
dotnet: use unpacked packages in store
2024-07-31 20:20:13 -03:00
TomaSajt
7224c89e72
doc: update R section to mention .json files
2024-07-31 18:28:38 +02:00
K900
4f29b5a16b
Merge remote-tracking branch 'origin/staging-next' into staging
2024-07-31 08:57:17 +03:00
David McFarland
d3ca5027fa
dotnet: use unpacked nuget packages
2024-07-31 00:47:14 -03:00
Aleksana
fb3d86ee0d
Merge pull request #330176 from raboof/docs-show-pyproject-instead-of-format
...
docs: show `pyproject = true;` instead of `format = "pyproject";`
2024-07-31 10:09:20 +08:00
Sigmanificient
aab1113d4a
treewide: normalize maintainers list formatting
...
grep -rP 'maintainers = \[\];'
2024-07-30 16:26:22 +02:00
Philip Taron
587f64a264
nixpkgs-manual: use injected revision only
...
`lib.trivial.revisionWithDefault` will change with every Git commit, which causes the manual to be rebuilt on every since PR.
Using `nixpkgs.rev` (or the dummy value "master" if it's not present) means that the manual will contain the revision if built on Hydra, but will not otherwise.
Why?
1. https://hydra.nixos.org/jobset/nixos/trunk-combined#tabs-configuration shows that `pkgs/top-level/release.nix` is passed the `nixpkgs` attrset, which is a "Git checkout".
2. Git checkouts come from [`builtins.fetchGit`](https://nix.dev/manual/nix/2.18/language/builtins#builtins-fetchGit ) and include the `rev` attribute.
3. The `rev` attribute is what `lib.trivial.revisionWithDefault` would have returned.
So, using `nixpkgs.rev or "master"` exclusively will cause the rebuilds on every commit to cease, but will allow "official" nixpkgs manual built on Hydra to continue to reference a specific commit.
2024-07-29 11:29:15 -07:00
Emery Hemingway
edc0b7727f
doc/interoperability: new chapter and section on CycloneDX ( #316626 )
...
* doc/interoperability: new chapter and section on CycloneDX
2024-07-29 12:57:30 +02:00
Robert Hensing
7237aa700f
devShellTools: Docs, fix args env
2024-07-28 23:17:18 +02:00
Robert Scott
745046d266
doc/stdenv: hardening flags: add section on pacret hardening flag
2024-07-28 19:27:21 +01:00
Emily
8a837af302
Merge pull request #326819 from risicle/ris-shadowstack
...
cc-wrapper: add support for `shadowstack` hardening flag
2024-07-28 19:07:52 +01:00
Robert Scott
5ce990eb57
doc/stdenv: add section on shadowstack hardening flag
2024-07-28 17:40:53 +01:00
Vladimír Čunát
a5b2fe7374
Merge #328673 : staging-next 2024-07-20
2024-07-28 13:45:55 +02:00
Robert Hensing
4ca52fdf5f
Merge pull request #323613 from CyberShadow/fix-nix-path-without-channels-v2
...
nix-channel: do not set empty nix-path when disabling channels
2024-07-28 13:31:10 +02:00
Vladimír Čunát
64c6a981fe
Merge branch 'master' into staging-next
2024-07-27 09:18:58 +02:00
Philip Taron
b846df0a2e
nixpkgs-manual: inline common.nix
2024-07-26 13:46:13 -07:00
Philip Taron
eaa7811104
nixpkgs-manual: move shell to package
2024-07-26 13:46:12 -07:00
Philip Taron
b5dc82844f
nixpkgs-manual: init
2024-07-26 13:46:12 -07:00
Philip Taron
4252286f21
doc: extract nixpkgs-manual into its own package
...
Also, use `finalAttrs` style and pass through all the helper derivations.
2024-07-26 13:44:04 -07:00
Philip Taron
8bb7777aee
doc: extract manpage-urls test into its own package
2024-07-26 13:44:04 -07:00
Philip Taron
2266280af7
doc: reshape python-interpreter-table.nix into a normal callPackage
...
Before, it produced a string, not a derivation.
2024-07-26 13:44:04 -07:00
Philip Taron
eac67316dc
doc: extract optionsDoc into its own package
2024-07-26 13:44:04 -07:00
Philip Taron
ee6a243ea4
doc: extract epub manual stub into its own package
2024-07-26 13:44:04 -07:00