Commit Graph

1309 Commits

Author SHA1 Message Date
github-actions[bot]
d83e365b06
Merge master into staging-next 2024-08-29 18:04:21 +00:00
adisbladis
9c7ff7277c
importNpmLock.buildNodeModules: init
`importNpmLock.buildNodeModules` returns a derivation with a pre-built `node_modules` directory, as imported by `importNpmLock`.
This is to be used together with `importNpmLock.hooks.linkNodeModulesHook` to facilitate `nix-shell`/`nix develop` based development workflows:

```nix
pkgs.mkShell {
  packages = [
    importNpmLock.hooks.linkNodeModulesHook
    nodejs
  ];

  npmDeps = importNpmLock.buildNodeModules {
    npmRoot = ./.;
    inherit nodejs;
  };
}
```
will create a development shell where a `node_modules` directory is created & packages symlinked to the Nix store when activated.

This code is adapted from https://github.com/adisbladis/buildNodeModules
2024-08-29 06:12:07 -07:00
K900
5c68540f8b Merge remote-tracking branch 'origin/staging-next' into staging 2024-08-22 13:20:38 +03:00
Vladimír Čunát
51091a9b32
Merge #319558: ruby: make 3.3 the default
...into staging
2024-08-22 11:00:51 +02:00
Philip Taron
198af78cb6
nixpkgs-manual: fix build 2024-08-20 06:49:36 -07: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
Doron Behar
0d920a91a2
Merge pull request #225051 from ShamrockLee/go-module-overlay-stdenv
buildGoModule: Fix overriding with overlay-style stdenv
2024-08-16 15:44:15 +00: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
Yueh-Shun Li
eed069a5bc buildGoModule: fix overrideAttrs overriding
Fix overriding of vendorHash and various attributes via the fixed point
attribute support of stdenv.mkDerivation.

Pass as derivation attributes
goModules, modRoot, vendorHash, deleteVendor, and proxyVendor.

Move goModules and vendorHash out of passthru.

Co-authored-by: Doron Behar <doron.behar@gmail.com>
2024-08-11 13:38:11 +08: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
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
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
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
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
Arnout Engelen
b2d53203f2
docs: show pyproject = true; instead of format = "pyproject";
every other format is deprecated, so to imply that people should be setting it is misleading

(`pyproject = true` should also go away eventually, but is the way until
then)
2024-07-26 16:11:17 +02:00
K900
1410c766c8 Merge remote-tracking branch 'origin/master' into staging-next 2024-07-26 08:41:08 +03:00
Peder Bergebakken Sundt
99dec1f6b0 treewide: fix doc typos
Done with `fd \\\.md$ . --type f -x typos --write-changes`
2024-07-26 00:55:13 +02:00
Artturin
60e9cffe2c Merge branch 'master' into staging-next 2024-07-22 22:53:31 +03:00
Franz Pletz
719e8e672b
Merge pull request #328876 from katexochen/buildGoPackage/deprecate 2024-07-21 22:32:03 +02:00
Paul Meyer
653e79254a doc: document deprecation of buildGoPackage
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-07-21 13:03:27 +02:00
Vladimír Čunát
577f40b8a9
Merge branch 'staging' into staging-next 2024-07-20 16:12:24 +02:00
Alexis Hildebrandt
ab42ca141a doc: Remove indefinite article and ending period from example meta.description
so that meta.description examples shown in the documentation
align with recommendations given in the "Meta attributes" section
in pkgs/README.md.

The changes were made with the following commands:
nix run nixpkgs#silver-searcher -- -l0 'description\s*=\s*"([Aa]n?|[Tt]he)\s' doc \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee '/description/s/"([Aa]n?|[Tt]he)\s(.)/"\U\2/'
nix run nixpkgs#silver-searcher -- -l0 'description\s*=\s*".*\."' doc \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee '/description/s/\."/"/'
2024-07-20 09:18:42 +02:00
Artturin
a516ea8c99 Merge branch 'staging-next' into staging 2024-07-16 19:07:48 +03:00
Thiago Kenji Okada
5d2257ba7b doc/vim.section.md: fix references to the old update.py script
Running the `update.py` script directly doesn't work anymore, so instead
replace all usages of it in the documentation with `nix-shell -p
vimPluginsUpdater --run 'vim-plugins-updater'`.
2024-07-15 10:09:28 +01:00
Atemu
476b450df8
Merge pull request #272380 from chayleaf/gradle2
gradle: add setup hook
2024-07-14 22:08:41 +02:00
Vladimír Čunát
211398c03e
Merge branch 'staging-next' into staging 2024-07-14 08:35:35 +02:00
Pol Dellaiera
0ea5202cc3
Merge pull request #326864 from jtojnar/php-mkrepo-docs
doc/php: Fix mkComposerRepository example
2024-07-14 07:43:32 +02:00
Jan Tojnar
05f5dbd470 doc/php: Fix mkComposerRepository example
`mkComposerRepository` required `pname` and `version` since the beginning
(b36ad2f517), with the boolean attribute
becoming required later (3eb168da92).
2024-07-13 18:56:35 +02:00
chayleaf
c12b2a0b19
gradle: add setup hook 2024-07-12 21:36:09 +07:00
github-actions[bot]
b66506a79e
Merge staging-next into staging 2024-07-12 12:01:44 +00:00
Martin Weinelt
176a56c40f
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/applications/misc/blender/default.nix
- pkgs/development/web/nodejs/nodejs.nix
2024-07-11 01:06:28 +02:00
Doron Behar
ee7cfec5aa doc/javascript: document yarn{Config,Build}Hook 2024-07-10 09:39:03 +03:00
Weijia Wang
566d3c2bf8
Merge pull request #288691 from konst-aa/nixify-akku
akku: Add akkuPackages, introduce deps.toml
2024-07-08 14:35:03 +02:00
Konstantin Astafurov
29e9baf2fd akku: Add akkuPackages, introduce deps.toml 2024-07-07 18:45:48 -04:00
Martin Weinelt
e7b1ee45cf
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/tools/misc/watchlog/default.nix
2024-07-06 01:52:35 +02:00
github-actions[bot]
30cfd4445f
Merge master into staging-next 2024-07-05 00:02:21 +00:00
David McFarland
4f7953d244
Merge pull request #324526 from Aleksanaa/nugetHash
dotnet: add SRI hash support to dotnet packages
2024-07-04 20:59:56 -03:00
github-actions[bot]
36cbae9ff0
Merge master into staging-next 2024-07-04 18:01:19 +00:00