Commit graph

1428 commits

Author SHA1 Message Date
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
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
aleksana 379b5c2995 doc/dotnet: document SRI hash support in dotnet package 2024-07-04 20:16:51 +08:00
aleksana 673aefdf8e doc/dart: minor sha256 -> hash change
This is to prevent future people from copying this format and
introducing more sha256.
2024-07-04 18:40:06 +08:00
aleksana cb93149275 doc/rust: deprecate cargoSha256 2024-07-03 21:54:33 +08:00
Martin Weinelt 7b8429bbc4
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/jaxtyping/default.nix
2024-07-02 12:08:49 +02:00
Jan Tojnar 2be24442bb nautilus: Move from gnome scope to top-level 2024-07-01 08:26:44 +02:00
github-actions[bot] e335319c82
Merge master into staging-next 2024-06-28 12:01:10 +00:00
Valentin Gagarin 1ee872a769
doc: add a generic section on exploring package sets (#317392)
this removes the hard-coded listing from the Haskell examples, which can later be replaced by
a dynamic one as for the Python interpreters

* fix broken reference

* clarify why using `nix-env --query` makes sense

Co-authored-by: wamirez <wamirez@protonmail.com>
2024-06-28 12:10:56 +02:00
github-actions[bot] d2651fbc94
Merge master into staging-next 2024-06-26 06:01:18 +00:00
éclairevoyant 48893bc89b
Merge pull request #322184 from YoshiRulz/dotnet-docs
doc: Update note under `buildDotnetModule` to reflect actual behaviour
2024-06-26 01:22:50 +00:00
YoshiRulz 5c3f56c32a
doc: Update note under buildDotnetModule to reflect actual behaviour 2024-06-26 06:17:53 +10:00
Martin Weinelt de245ec4a5
Merge remote-tracking branch 'origin/master' into staging-next 2024-06-25 13:00:25 +02:00
Fabián Heredia Montiel 3ff3888250
Merge pull request #322006 from mattpolzin/buildIdris-better-lib-ergonomics
idris2Packages.buildIdris: better lib ergonomics
2024-06-25 00:52:06 -06:00
Artturin 9ed27f4670
Merge pull request #315700 from sysraccoon/android-doc-fix
doc: swap ANDROID_HOME and ANDROID_SDK_ROOT in android section
2024-06-24 23:10:40 +03:00
Martin Weinelt c02aa9b62f
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/pixel-font-builder/default.nix
- pkgs/development/python-modules/unidata-blocks/default.nix
2024-06-24 15:35:04 +02:00
Mango The Fourth 36e8d8a53b
vimPlugins.nvim-treesitter: fix update.py and update documentation (#321535)
* vimPlugins.nvim-treesitter: fix update.py and update documentation
2024-06-24 14:53:31 +02:00
Mathew Polzin 77a37cde20 doc: adopt new buildIdris changes in docs 2024-06-23 12:07:13 -05:00
github-actions[bot] fb94da4e9e
Merge staging-next into staging 2024-06-21 18:01:30 +00:00
Aleksana e739feeb6e
Merge pull request #321272 from Aleksanaa/flutter-doc
doc/dart: minor fix to example code
2024-06-21 21:52:39 +08:00
github-actions[bot] c6707a9686
Merge staging-next into staging 2024-06-21 12:01:53 +00:00
superherointj 40ae5e072c
build-support/ocaml: deprecate minimumOCamlVersion (#319907)
* ocamlPackages.wtf8: use minimalOCamlVersion

* ocamlPackages.ppx_yojson_conv: minimalOCamlVersion

* ocamlPackages.postgresql: use minimalOCamlVersion

* ocamlPackages.opti: use minimalOCamlVersion

* ocamlPackages.opam-repository: use minimalOCamlVersion

* ocamlPackages.opam-format: use minimalOCamlVersion

* ocamlPackages.lwt-dllist: use minimalOCamlVersion

* ocamlPackages.lacaml: use minimalOCamlVersion

* ocamlPackages.gnuplot: use minimalOCamlVersion

* ocamlPackages.fix: use minimalOCamlVersion

* ocamlPackages.eigen: use minimalOCamlVersion

* ocamlPackages.earley: use minimalOCamlVersion

* ocamlPackages.directories: use minimalOCamlVersion

* ocamlPackages.cpuid: use minimalOCamlVersion

* build-support/ocaml: deprecate minimumOCamlVersion

* build-support/ocaml: deprecate minimumOCamlVersion

---------

Co-authored-by: Vincent Laporte <Vincent.Laporte@gmail.com>
2024-06-21 10:29:31 +02:00
aleksana 4e6ae7836d doc/dart: minor fix to example code 2024-06-20 23:03:34 +08:00
Martin Weinelt f822b2ba5c Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/development/python-modules/langsmith/default.nix
- pkgs/development/python-modules/rich-pixels/default.nix
- pkgs/servers/teleport/generic.nix
2024-06-18 20:16:19 +02:00
Pol Dellaiera 4b2ef8f2f0
Merge pull request #315233 from numinit/android-studio-full
android-studio-full: init
2024-06-16 08:35:21 +02:00
Martin Weinelt 58ca021599
docs/language-frameworks/python: update relaxDepsHook docs 2024-06-14 14:51:23 +02:00
github-actions[bot] 19bc81875f
Merge staging-next into staging 2024-06-14 00:02:47 +00:00
Ilan Joselevich 85d871cf14
Merge pull request #319624 from flokli/rust-config
config.rust: update references from rustc
2024-06-14 00:47:45 +03:00
Florian Klink 50261c0602 config.rust: update references from rustc
`rustc.config` is called `rust.rustcTarget` now, and
`{rustc -> rust}.platform`.

This is the new way (tm), and is preferred since
https://github.com/NixOS/nixpkgs/pull/271707 -
though the documentation still is outdated, and some expressions in
nixpkgs were using the old interface.

This updates both.
2024-06-13 21:08:48 +03:00
Arnout Engelen 5411928737
ruby: make 3.3 the default
According to https://www.ruby-lang.org/en/downloads/ this is the
'stable' release
2024-06-13 15:04:29 +02:00
github-actions[bot] aacd9cf894
Merge staging-next into staging 2024-06-13 00:02:48 +00:00
Robert Hensing 299bd6aa7c doc/haskell: Dedup and edit justStaticExecutables
Make sure all relevant info is in the user manual and avoid duplication
of efforts, or things going out of sync.
2024-06-13 00:25:41 +02:00
github-actions[bot] aaf691124c
Merge staging-next into staging 2024-06-11 18:01:49 +00:00
OTABI Tomoya 6a3857a295
Merge pull request #316591 from natsukium/python-docs/update
doc/languages-frameworks/python: update
2024-06-11 23:23:34 +09:00
github-actions[bot] 507aeeb037
Merge staging-next into staging 2024-06-09 00:03:32 +00:00
Martin Weinelt 7ff8facb8b
Merge remote-tracking branch 'origin/staging-next' into staging 2024-06-07 07:25:52 +02:00
github-actions[bot] a5d1b908b4
Merge master into haskell-updates 2024-06-07 00:13:56 +00:00
Peder Bergebakken Sundt 4f06a00fa9
Merge pull request #295155 from onemoresuza/hare-hook
hareHook: init
2024-06-06 23:55:33 +02:00
github-actions[bot] f88b87f09f
Merge staging-next into staging 2024-06-06 12:02:28 +00:00
Doron Behar 01d57709ec
Merge pull request #290715 from Scrumplex/pkgs/build-support/fetchPnpmDeps
pnpm.fetchDeps: init
2024-06-06 09:41:22 +03:00
github-actions[bot] bd4363d68b
Merge master into haskell-updates 2024-06-06 00:13:27 +00:00
github-actions[bot] c05b6cffb5
Merge staging-next into staging 2024-06-06 00:02:48 +00:00
Maciej Krüger b4bde132af
Merge pull request #316144 from Aleksanaa/flutter-apps
{yubioath-flutter, flet-client-flutter, fluffychat}: pin to flutter 3.19
2024-06-05 20:57:06 +02:00
Coutinho de Souza cfa58200cd
doc/hare: init 2024-06-04 20:33:11 -03:00
Morgan Jones 7f03a67b0b
{doc/android,release-notes}: update android-studio and androidenv 2024-06-03 23:01:44 -07:00
natsukium 513573a582
doc/languages-frameworks/python: update contributing section 2024-06-04 09:02:05 +09:00
natsukium b6bf10bf70
doc/languages-frameworks/python: adjust expression to explanation 2024-06-04 09:02:05 +09:00
natsukium ef61a6339c
doc/languages-frameworks/python: normalize pname and add description 2024-06-04 09:02:05 +09:00
natsukium a4d5b56448
doc/languages-frameworks/python: fix typo 2024-06-04 09:02:05 +09:00
natsukium 8f9e861543
doc/languages-frameworks/python: add extra information for pythonRelaxDepsHook 2024-06-04 09:02:05 +09:00
natsukium 1b4462bb0c
doc/languages-frameworks/python: clean up build-system
add setuptools explicitly and remove wheel
2024-06-04 09:02:04 +09:00
natsukium 1c90c05bbc
doc/languages-frameworks/python: disable check explicitly and add pythonImportsCheck 2024-06-04 09:02:04 +09:00
natsukium 130da0dd42
doc/languages-frameworks/python: update the description for tests 2024-06-04 09:02:04 +09:00
Doron Behar c704c02956 doc/javascript: pnpm: mention lack of monorepos/workspaces support 2024-06-03 17:09:22 +03:00
Ivan Trubach 8d5563ec25 iwona: fix build failure caused by src being a symlink 2024-06-03 11:11:15 +03:00
Sefa Eyeoglu 74f5ff78bf
pnpm.fetchDeps: init
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-02 19:56:11 +02:00
natsukium 0a509b237a
doc/languages-frameworks/python: update the description for pypa builder/instller 2024-06-02 12:25:11 +09:00
aleksana 09fa054a4d doc/dart: require to specify flutter version
Context:

@FlafyDev: I think flutter apps in nixpkgs should be required to specify
a flutter version. like flutter319 and flutter322 instead of using
flutter.

https://github.com/NixOS/nixpkgs/pull/313711
2024-05-31 20:11:49 +08:00
sternenseemann c2b48909d6 Merge master into haskell-updates 2024-05-31 12:49:29 +02:00
Emery Hemingway f42e7e8c03 doc/languages-frameworks/nim: fix buildNimPackage example
fix #287355
2024-05-30 08:12:39 +00:00
Emery Hemingway 5b321ac6b3 nimOverrides: do not pass final attrset to override funcs
The final attrset is not used by any of the overrides and presents
a infinite recursion hazard.

Performance of buildNimPackage is improved.
2024-05-30 08:12:39 +00:00
sysraccoon b6f6e50765 doc: swap ANDROID_HOME and ANDROID_SDK_ROOT in android section 2024-05-29 21:41:38 +03:00
Rebecca Turner d2618822ab haskell.lib.compose.justStaticExecutables: Forbid references to GHC
This makes `justStaticExecutables` error if the produced store path
contains references to GHC. This is almost always erroneous and due to
the generated `Paths_*` module being imported. This helps prevent
`justStaticExecutables` from producing binaries with closure sizes in
the gigabytes.

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

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2024-05-27 21:08:16 +02:00
David McFarland f17d1f9302
Merge pull request #313514 from tie/dotnet-cross-split
buildDotnetModule: fix cross-compilation and remove dotnet-test-sdk
2024-05-23 14:05:46 -03:00
Alejandro Sánchez Medina 0cb4674319
doc: autogenerate python interpreter table (#313408)
* doc: autogenerate python interpreter table

This serves as a practical example on generating documentation by
inspection of the evaluated Nixpkgs tree.

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-05-23 10:36:15 +02:00
Ivan Trubach 0e64e645c9 buildDotnetModule: fix cross-compilation and remove dotnet-test-sdk
This change fixes cross-compilation for .NET packages (that are not
using .sln as project files). See relevant comment in the change list
for more details.

In addition to that, it removes dotnet-test-sdk that appears to be
broken, that is, dotnet --list-sdks does not recognize SDKs from PATH,
and when propagated from the check hook it was shadowed by inputs from
preceding hooks.

Note that dotnet-test-sdk used to work when it was introduced in PR
144062, but PR 155257 probably overlooked this case. However, currently
it is not used in Nixpkgs and I think dotnetCorePackages.combinePackages
should cover the intended use case for dotnet-test-sdk.
2024-05-22 03:08:42 +03:00
github-actions[bot] cb21dbcf55
Merge master into haskell-updates 2024-05-10 00:13:33 +00:00
Armando Ramirez 876d055062 callCabal2nixWithOptions: add srcModifier argument
Fixes #256769

Repro + test of fix here: https://gitlab.com/ramirez7/bug-repros/-/merge_requests/1

Adds a `srcModifier` argument to `callCabal2nixWithOptions` to allow
customizing the source files used to generate the cabal file (e.g. to
support `hpack`/`package.yaml`).
2024-05-09 23:55:37 +02:00
Florian Engel 706b41a4df
doc/go: Update url for module documentation
The old wiki is deprecated
2024-05-09 17:24:44 +02:00
nicoo a817fdac5f
Merge #307770: add optional version check in testers.hasPkgConfigModules 2024-05-03 20:18:56 +00:00
K900 a9c7210d0b Merge branch 'master' into staging-next 2024-05-01 09:37:47 +03:00
Bobby Rong 6fdb14cadb
Merge pull request #308019 from bobby285271/upd/homepage
treewide: Move away from wiki.gnome.org (part 1)
2024-05-01 08:46:59 +08:00
nicoo 9245f1b706 doc: Mention testers.hasPkgConfigModules and its versionCheck parameter in the appropriate section 2024-04-30 20:34:08 +00:00
Bobby Rong 25d729926e
treewide: Move away from wiki.gnome.org/Projects
The wiki.gnome.org site is planned for retirement.
2024-05-01 00:27:50 +08:00
Jan Tojnar 1b2ebb8fbb Merge branch 'master' into staging-next 2024-04-28 17:33:27 +02:00
Frederik Rietdijk 5772ac5a75 Removing FRidh as active maintainer of packages
In the past I was very active with Python packaging.
For several years now I was hardly around as maintainer,
so it does not make sense I am listed as a maintainer for
these makes. Looking back, I should have removed myself
as maintainer already much longer ago. Anyway, better late
than never.

It's been a fun ride, and  I do intend to occasionally contribute
to Nixpkgs, but not in the same way it once was.
2024-04-28 12:20:07 +02:00
Weijia Wang 946747effb doc/gnome: fix manual 2024-04-27 05:55:58 +02:00
Jan Tojnar eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
Jan Tojnar 37383113cc wrapGAppsHook3: rename from wrapGAppsHook
GTK 3 is slowly approaching deprecation so let’s not make it default.
2024-04-27 00:05:46 +02:00
Jan Tojnar 4e02eae70e doc/gnome: Use wrapGApps* hook for referring to the hook family 2024-04-27 00:05:46 +02:00
Jan Tojnar e285f7894c doc/gnome: equalize wrapGAppsHook4 with wrapGAppsHook
In preparation for renaming wrapGAppsHook to wrapGAppsHook3.
2024-04-27 00:05:44 +02:00
Jan Tojnar b2f2cee158 Revert "doc/gnome: make wrapGAppsHook4 more discoverable"
We will bring the GTK 3 version to a more equal standing compared
to the GTK 4 one in the next commit.

This reverts commit 9f90c73360.
2024-04-27 00:02:36 +02:00
Jonathan Ringer e660db3233 docs/cuda: remove last references to cudaPackages.autoAddDriverRunpath 2024-04-23 08:12:34 -07:00