Commit graph

1428 commits

Author SHA1 Message Date
Rafael Fernández López 0af55cfcbe docs: update docker and podman anchor on CUDA section 2024-10-30 13:45:50 +01:00
github-actions[bot] b67a45959d
Merge staging-next into staging 2024-10-27 00:16:01 +00:00
K900 f21f4ca3ee Merge remote-tracking branch 'origin/master' into staging-next 2024-10-26 21:05:47 +03:00
Francesco Gazzetta 3000459155 doc: Add Tcl doc 2024-10-26 16:23:15 +00:00
Rebecca Turner ff9e35236c
haskell.mkDerivation: Support sourceRoot, setSourceRoot
Allow setting `sourceRoot` and `setSourceRoot` in the arguments to
`haskellPackages.mkDerivation`. These arguments are passed directly to
`stdenv.mkDerivation`.

It may be worth reading over `pkgs/stdenv/generic/setup.sh` and checking
if there's other unsupported variables which may be useful. It may also
be worth adding an argument like `extraAttrs` to be passed to
`stdenv.mkDerivation` directly, as an escape hatch.
2024-10-25 09:41:50 -07:00
K900 720d475962 Merge branch 'staging-next' into staging 2024-10-25 07:59:31 +03:00
Fabián Heredia Montiel da7fb8d0ef Merge remote-tracking branch 'origin/master' into staging-next 2024-10-24 17:53:05 -06:00
Pyrox 09cec0f560
pnpm.fetchDeps: pnpmWorkspace -> pnpmWorkspaces 2024-10-24 15:37:30 -04:00
Victor Duarte f2b58efde4 fix links to specifications.freedesktop.org 2024-10-24 13:00:55 +02:00
github-actions[bot] e14936ef02
Merge staging-next into staging 2024-10-22 18:05:05 +00:00
Fabián Heredia Montiel fdc64cfee0 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-22 09:14:28 -06:00
Austin Horstman eaadc9e24b
docs/vim.section.md: Add note about nvimRequireCheck (#349864)
We are trying to use this more often but, at the moment, it's a manual
addition to overrides.nix. Add notes about the benefits of adding it and
how it can help identify missing dependencies.
2024-10-22 10:16:11 +02:00
github-actions[bot] 6a08749f82
Merge staging-next into staging 2024-10-22 00:14:47 +00:00
sternenseemann 9ddc3313c8
haskellPackages: update hackage and stackage (#346720) 2024-10-21 22:10:48 +02:00
github-actions[bot] 857254fd4a
Merge master into haskell-updates 2024-10-20 00:18:04 +00:00
github-actions[bot] 303c125bf0
Merge staging-next into staging 2024-10-19 18:04:20 +00:00
K900 2ab7280fa2 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-19 15:07:50 +03:00
Tomo e4248a8398 doc/languages-frameworks/gnome: update Qt package example
Part of #180841

Updated the existing example to reflect changes from a later version of
the same package:
b293f6561e/pkgs/applications/misc/calibre/default.nix

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2024-10-19 04:02:45 +00:00
sternenseemann cd3949a15c haskellPackages.Cabal_3_6_3_0: remove at 3.6.3.0 2024-10-17 15:48:55 +02:00
Martin Weinelt 8044c0cc0a
python314: init at 3.14.0a1
https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-0-alpha-1
2024-10-16 03:42:47 +02:00
Vladimír Čunát 8810e738c8
GNOME: 46 → 47 (#333911) 2024-10-15 18:07:04 +02:00
Someone c6a5917666
docs: update the CUDA section with how to use the nvidia-container-toolkit (#344188) 2024-10-14 20:00:21 +00:00
Bobby Rong c0a9799ad1
tinysparql: Renamed from tracker
The project renamed in 3.8.

This commit is done by hand.
2024-10-14 20:54:11 +08:00
Artturin f678d0b777
treewide: replace stdenv.is in non nix files (#344342) 2024-10-09 18:17:34 +03:00
Kirill Radzikhovskyy d04c244c09 python3Packages.mkPythonEditablePackage: correct documentation 2024-10-07 13:39:29 +11:00
github-actions[bot] 2eb05ff3a1
Merge master into haskell-updates 2024-10-02 00:16:14 +00:00
Robert Schütz 46bb7c84ac nodePackages.bower2nix: drop 2024-10-01 16:23:59 -07:00
github-actions[bot] 7b0a6891dd
Merge master into haskell-updates 2024-09-30 00:16:54 +00:00
lelgenio ab4dc6ca78 doc/javascript: fix example usage of yarn hooks 2024-09-28 20:07:11 -03:00
Artturin 8f3e655750 doc/python: correct platform conditional 2024-09-27 19:07:45 +03:00
Artturin 40799fc06d treewide: replace stdenv.is in non nix files
Continuing e0464e4788
2024-09-27 19:07:45 +03:00
Rafael Fernández López 7115576407 docs: update the CUDA section with how to use the nvidia-container-toolkit
This part of the manual explains how to use the
`nvidia-container-toolkit` in order to expose GPU's both for Docker
and Podman, as well as for a `docker-compose` environment.
2024-09-24 13:03:13 +02:00
github-actions[bot] b6b063bdc2
Merge master into haskell-updates 2024-09-24 00:16:10 +00:00
Rodney Lorrimar e2d259ebc0 pkgs.haskell.lib: Add disableParallelBuilding function 2024-09-23 11:36:24 +02:00
Vincent Laporte 94d0d22817
ocamlPackages.elpi: use release tarball (#343266)
coqPackages.metaFetch: Adding a github artifact option

Co-authored-by: Cyril Cohen <cohen@crans.org>
2024-09-23 09:52:07 +02:00
David McFarland 1b7f8c9165
dotnet: infrastructure improvements (#336824) 2024-09-17 11:42:45 -03:00
nicoo 274206a1f1 doc/maven: fakeSha256fakeHash 2024-09-17 10:47:31 +02:00
nicoo 633f94fa4a doc/coq: sha256hash 2024-09-17 10:47:31 +02:00
David McFarland d8bd63a129 doc/languages-frameworks/dotnet: improve documenation of fetch-deps 2024-09-17 01:14:28 -03:00
adisbladis 3fd64819c1
python3Packages.mkPythonEditablePackage: init (#339228) 2024-09-12 09:35:13 +12:00
github-actions[bot] 92d531057e
Merge master into staging-next 2024-09-09 06:05:06 +00:00
Daniel Nagy 8fdcf6d1c1
doc: add gradle language section 2024-09-08 18:30:00 +02:00
adisbladis de1fdc9fe0 python3Packages.mkPythonEditablePackage: init 2024-09-08 17:13:21 +12:00
github-actions[bot] de15243c9a
Merge master into staging-next 2024-09-07 12:04:51 +00:00
David McFarland 13a975148a
dotnet: add override mechanism for nuget packages (#339953) 2024-09-07 09:00:01 -03:00
github-actions[bot] 319af78438
Merge master into staging-next 2024-09-07 06:04:15 +00:00
Philip Taron 29cca09041
rustPlatform.fetchCargoTarball: support pname+version (#332975) 2024-09-06 23:00:21 -07:00
Johannes Kirschbauer 71f01ce1fc
Doc/importNpmLock: general improvements (#340019)
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-09-07 07:59:02 +02:00
éclairevoyant 5c38beb516
doc/rust: prefer pname+version over name in fetchCargoTarball 2024-09-07 01:10:01 -04:00
Daniel Baker 3275f1af7d docs: rust: Improve wording about adding Cargo.lock to src
Improved the wording about adding the Cargo.lock file to src. It was not
clear when this operation was necessary.
2024-09-06 12:26:47 -07:00
David McFarland cc9c59c478 buildDotnetModule: use individual dependencies for nugetDeps 2024-09-06 16:05:19 -03:00
Gavin John 00a43d7d03
doc/languages-frameworks/python: update references to python 3.12 2024-09-04 19:52:52 -07:00
Gavin John 3e2e5daab4
doc/languages-frameworks/python: Reword section to make commit rules a bit clearer 2024-09-04 19:52:24 -07:00
github-actions[bot] 74cdd9c9b1
Merge master into staging-next 2024-09-05 00:13:11 +00:00
lelgenio 7783e118af yarnInstallHook: init 2024-09-04 11:15:47 -03:00
github-actions[bot] ce19166255
Merge master into staging-next 2024-09-02 18:04:19 +00:00
David McFarland 7bc85af0c5
buildDotnetModule: add testFilters arg (#336571) 2024-09-02 07:09:06 -07:00
github-actions[bot] 0cfb8626ee
Merge staging-next into staging 2024-09-01 06:05:31 +00:00
adisbladis 74eefb4210
doc/languages-frameworks/python: fix typos (#322267) 2024-09-01 15:35:33 +12:00
Colin d6de00150e doc/languages-frameworks/python: fix typos 2024-09-01 00:41:03 +00:00
github-actions[bot] 4544f25eb8
Merge staging-next into staging 2024-08-30 06:04:59 +00:00
github-actions[bot] b9ec6f58ab
Merge master into staging-next 2024-08-30 06:04:29 +00:00
adisbladis 93ff3f6b76 python3Packages.psycopg2-binary: Fix pname spelling 2024-08-30 15:25:36 +12:00
Robert Schütz c3925f7268
mkPythonMetaPackage: init meta package function (and psycopg2-binary) (#337621) 2024-08-29 17:30:11 -07:00
adisbladis d3e7844bbc python3Packages.psycopg2-binary: init at 2.9.9
Pscycopg2-binary is normally used in Python development to avoid having to build psycopg2 from source.
In nixpkgs we always want ot build from source whenever possible, but it can still be useful to provide a psycopg2-binary package.

This "fake" package exists to satisfy a dependency on psycopg2-binary, but still use the build from psycopg2.

cc @misuzu https://github.com/nix-community/pyproject.nix/issues/143
2024-08-30 11:05:29 +12:00
github-actions[bot] eacf5283f3
Merge staging-next into staging 2024-08-29 18:04:46 +00:00
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
adisbladis 8cd58c7e14 python3Packages.mkPythonMetaPackage: init
This function exists create a meta package containing [metadata files](https://packaging.python.org/en/latest/specifications/recording-installed-packages/) to satisfy a dependency on a package, without it actually having been installed into the environment.
2024-08-30 00:24:31 +12:00
Wolfgang Walther 050689db30
treewide: fix pg_config / postgresql headers moved to dev output
This was supposed to happen in #294504, but the commit was accidentally
left out when splitting off some libpq-related changes. Originated in
#179962, by Sandro.

Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2024-08-24 15:44:10 +02:00
Matt Sturgeon 1c379e3a57
buildDotnetModule: add testFilters arg
In addition to the existing `disabledTests`, allow defining more general
test filters using `testFilters`.
2024-08-22 19:52:07 +01: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