1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 11:10:03 +00:00
Commit graph

3606 commits

Author SHA1 Message Date
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
Anderson Torres 1fc77a5ce2 doc: rewrite installShellFiles 2024-08-28 19:56:12 -03:00
github-actions[bot] 4420fe8b58
Merge staging-next into staging 2024-08-28 12:05:53 +00:00
github-actions[bot] 42531ffc56
Merge master into staging-next 2024-08-28 12:05:25 +00:00
Matthias Beyer f78adb0891 doc: Move "This is equivalent to" into example block
This patch moves the code snippet which is shown as equivalent to the
example into the actual example block.

Visually, it was not easy to parse that the "equivalent" code piece
belonged to the code snippet that was hidden in the example (which is
collapsed by default).

By moving it into the example block, the "equivalent" piece is hidden by
default as well.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2024-08-28 11:26:23 +02: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
Tim Cuthbertson 7eb5c0991c doc: add proxy usage to fetchers chapter 2024-08-23 21:34:30 +10: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
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 198af78cb6
nixpkgs-manual: fix build 2024-08-20 06:49:36 -07: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
github-actions[bot] 7fab29afce
Merge staging-next into staging 2024-08-17 06:01:46 +00:00
Philip Taron cd7b95ee37
Merge pull request #333236 from nbraud/testers/runCommand
testers.runCommand: init
2024-08-16 18:07:41 -07:00
github-actions[bot] 26d52a889c
Merge staging-next into staging 2024-08-16 18:01:47 +00: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
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
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
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
Philip Taron 87b8931d74
doc: make ./doc-support/lib-function-docs.nix callPackage style
Move `libsets` over to it, since it's the only user.

Format with `nixfmt` since we're changing it so dramatically.
2024-07-26 13:44:04 -07:00
Philip Taron 849cf13725
web-devmode: call as package 2024-07-26 13:43:59 -07: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
Aleksana 40c6a068bd
Merge pull request #324687 from kini/add-sourceProvenance-subheading
doc/meta: Add sourceProvenance to "Standard meta-attributes" section
2024-07-26 11:07:05 +08: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
github-actions[bot] 7208220b63
Merge master into staging-next 2024-07-24 18:01:18 +00:00
Robert Hensing c5e5aa7266
Merge pull request #308822 from yorickvP/yorickvp/streamLayeredImage-overridable
dockerTools.streamLayeredImage: add includeNixDB argument, expose conf and streamScript
2024-07-24 16:02:35 +02:00
Robert Hensing 667f3a73f7
doc/README: Add function Inputs guidelines 2024-07-23 14:30:41 +02:00
Artturin 60e9cffe2c Merge branch 'master' into staging-next 2024-07-22 22:53:31 +03:00
Silvan Mosberger 949797e26e
Merge pull request #328269 from tweag/doc-no-warnings
doc: Prevent evaluation warnings
2024-07-22 01:10:31 +02: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
github-actions[bot] a6c20a7387
Merge staging-next into staging 2024-07-19 12:01:49 +00:00
h7x4 b281753417
Merge pull request #323866 from h7x4/pkgs-fixup-vcpkg-vcpkg-tool
vcpkg{,-tool}: miscellaneous fixups
2024-07-19 10:32:02 +02:00
Silvan Mosberger f01573b6ee doc: Prevent evaluation warnings
Problem: `nix-build doc` gives a bunch of warnings because it inspects
`lib` to figure out where all the symbols are.

Solution: Move the step of figuring out where the symbols are to
a Nix evaluation inside a derivation instead.
2024-07-18 23:33:29 +02:00
h7x4 cce9bb28dc
doc/packages/vcpkg: init 2024-07-17 09:26:15 +02:00
Robert Hensing 3fb14db08a testers.shellcheck: init
Needed for testing upcoming commit.
2024-07-16 20:10:02 +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
éclairevoyant 9665639708
Merge pull request #310708 from importantblimp/180654
nixos/input-method: deprecate .enabled option; add .type and .enable options
2024-07-14 00:02:13 +00: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
Valentin Gagarin 6bb3ac98cc docs: $TMP -> $TMPDIR in Darwin build
`TMPDIR` is the canonical form in POSIX and SUS

https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08_03
2024-07-13 14:29:09 +02:00
Nathan Henrie 16007071b4 docs: allow building in sandbox on darwin
For whatever reason `zip` in this case doesn't seem to be respecting the
`$TMP` or `$TMPDIR` variables, resulting in a permission denied error on
Darwin when sandbox is enabled.

The `-b` flag allows one to manually specify a tempdir, which allows the
build to succeed in spite of sandboxing.

Fixes https://github.com/NixOS/nixpkgs/issues/326380
2024-07-13 09:58:46 +02:00
Jan Tojnar 1275c3f884 Merge branch 'staging-next' into staging 2024-07-12 21:36:23 +02:00
Thomas Gerbet 2d419e7e00
Merge pull request #325591 from SFrijters/install-shell-completion-doc
doc: warn against zero-byte or missing shell completion files
2024-07-12 18:28:40 +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
GY bcc7eff2c5
nixos/input-method: deprecate .enabled option; add .type and .enable options
This commit introduces two new properties:
`enable` and `type`, to replace the `enabled` property.
`enable` has the same meaning as is common across nixpkgs.
`type` has the same meaning as the existing `enabled` property.
`enabled` property is now deprecated and will be removed in a future release.

Fixes #180654
2024-07-12 03:59:20 -04: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
John Ericson 000b58721f Merge remote-tracking branch 'upstream/master' into openbsd-static 2024-07-09 18:18:47 -04:00
John Ericson 676df1cf2d openbsd: Add static linking support
I've had better luck creating statically-linked binaries that work than
dynamically-linked ones, so this is needed quite practically.
2024-07-09 18:17:06 -04:00
Stefan Frijters 259d274a52
doc: warn against zero-byte or missing shell completion files 2024-07-09 23:23:55 +02: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
Keshav Kini 89fcddbc8c doc/meta: Add sourceProvenance to "Standard meta-attributes" section
`meta.sourceProvenance` has its own level 2 heading at the bottom of the file,
but unlike the other meta-attributes it doesn't have a level 3 heading under the
"Standard meta-attributes" section.  Readers looking at the list of subheadings
directly under the "Standard meta-attributes" section header may not realize
that `meta.sourceProvenance` exists unless they scroll down to the bottom of the
page.

This commit adds a level 3 heading for sourceProvenance under "Standard
meta-attributes".
2024-07-04 14:58:25 -07: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 5dcf9c2477
Merge pull request #324531 from Aleksanaa/reduce-sha256
doc: minor sha256 attribute reduction
2024-07-04 20:01:55 +08:00
aleksana 2969ce1dd3 doc/fetchers: correct fetchtorrent sha256 attribute to hash
This seems incorrect because sha256 is not an acceptable attribute of
fetchtorrent.
2024-07-04 18:43:48 +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
Masum Reza 410d1213cd
Merge pull request #323983 from Aleksanaa/cargoSha256-change
treewide: remove all cargoSha256 usage
2024-07-04 10:50:18 +05:30
github-actions[bot] aba75819b6
Merge master into staging-next 2024-07-03 18:01:04 +00:00
aleksana 19bbe0b3eb doc/meta: make meta.description consistent with contributing document 2024-07-04 01:22:08 +08:00
aleksana cb93149275 doc/rust: deprecate cargoSha256 2024-07-03 21:54:33 +08:00
github-actions[bot] d33a11464d
Merge master into staging-next 2024-07-03 06:01:11 +00:00
Silvan Mosberger 06a8bee760
Merge pull request #323398 from NixOS/prep-dev-shell
init `devShellTools`
2024-07-03 05:19:42 +02:00
github-actions[bot] d77a3adc09
Merge master into staging-next 2024-07-03 00:02:45 +00:00
Doron Behar 32d57df8ac
Merge pull request #320266 from doronbehar/pkg/versionInstallHook
versionCheckHook: init
2024-07-03 01:37:49 +03:00
K900 ac42e4ac39 Merge remote-tracking branch 'origin/master' into staging-next 2024-07-02 19:52:45 +03:00
a-kenji ec5679262f writeScriptBin: fix typo in docs 2024-07-02 15:51:18 +02: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
Robert Hensing 8398e087cd devShellTools.{stringValue -> valueToString} 2024-06-29 17:22:57 +02:00
Robert Hensing 469039098b devShellTools.stringValue: init 2024-06-29 17:21:01 +02:00
Robert Hensing 091d8370a2 devShellTools: init (empty) 2024-06-29 16:41:13 +02:00
Doron Behar f42d4debf0 doc: recommend versionCheckHook whenever relevant 2024-06-28 18:03:59 +03:00
Doron Behar eb49fb355e versionCheckHook: init 2024-06-28 18:03:59 +03: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
Martin Weinelt d50a1e97b1
Merge remote-tracking branch 'origin/master' into staging-next 2024-06-27 16:16:01 +02:00
Silvan Mosberger 54a93d0525
Merge pull request #312407 from hsjobeki/doc/lib-generators
doc: init lib.generators reference documentation
2024-06-26 22:09:05 +02:00
github-actions[bot] d2651fbc94
Merge master into staging-next 2024-06-26 06:01:18 +00:00
Jdogzz bca30eb509
doc: remove outdated Steam documentation related to Java
Fixes #297694.
2024-06-25 19:27:58 -07: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
Martin Weinelt 2096642430
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/os-specific/windows/mingw-w64/default.nix
2024-06-23 19:09:00 +02:00
Mathew Polzin 77a37cde20 doc: adopt new buildIdris changes in docs 2024-06-23 12:07:13 -05:00
Robert Scott f52a4c6810 doc/stdenv: hardening flags: add example error for trivialautovarinit 2024-06-22 01:11:27 +01:00
Artturin 1cbcd750d6
Merge pull request #320107 from Artturin/makesetuphookdoc
doc: Improve the `makeSetupHook` example
2024-06-22 00:10:41 +03: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
Rick van Schijndel 43ce0f9ee0
Merge pull request #318256 from risicle/ris-stack-clash-protection
cc-wrapper: add stack clash protection hardening flag
2024-06-19 19:54:30 +02: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 22eb340faf Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/development/python-modules/fastembed/default.nix
2024-06-15 22:41:34 +02:00
Artturin 2be37441da doc: Improve the makeSetupHook example
also format it with nixfmt
2024-06-15 21:02:53 +03:00
Silvan Mosberger 3da97e2163 doc: Prevent unnecessary rebuilds
Especially when only Nix files are changed
2024-06-15 16:35:12 +02:00
Silvan Mosberger be6f553b7d doc: Remove unneeded functions/library dir
All its files were removed years ago!
2024-06-15 16:35:12 +02:00
Silvan Mosberger b59560c3f8 doc: Use build-time to insert dynamic python interpreter table
Nix eval isn't made to patch stuff, it's more flexible to do it at build
time
2024-06-15 16:35:12 +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] ad67554387
Merge staging-next into staging 2024-06-12 00:02:37 +00:00
github-actions[bot] 477d2d32ff
Merge master into staging-next 2024-06-12 00:02:10 +00:00
Pankaj Raghav 7ce0c7abf8
doc: use linuxPackages_custom instead of linuxManualConfig (#319046)
linuxManualConfig involves more boilerplate to change the kernel. Use
the wrapper linuxPackages_custom which is wrapper that takes an
attribute sets and calls linuxManualConfig approrpriately.

This is much easier for beginners to use instead of linuxManualConfig
helper.

Point to linuxManualConfig for further customizations.
2024-06-11 23:21:58 +02:00
github-actions[bot] aaf691124c
Merge staging-next into staging 2024-06-11 18:01:49 +00:00
github-actions[bot] 2a247383ce
Merge master into staging-next 2024-06-11 18:01:21 +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] f9c7b930b4
Merge staging-next into staging 2024-06-11 12:01:44 +00:00
github-actions[bot] 14aa6e8765
Merge master into staging-next 2024-06-11 12:01:16 +00:00
Travis A. Everett 9ff9bbdb34
doc: add stdenv passthru chapter (#315909)
* doc: add stdenv passthru chapter

Broad strokes:
- create the chapter
- move existing stdenv passthru coverage into it
- move out-of-place coverage of passthru.tests from the stdenv meta chapter into it
- (try to) apply 1-sentence-per-line to text I've touched
- add legacy anchors for everything moved
- update existing links to the new anchors
- add tentative motivating text
- make nixpkgs-internal links relative/branchless

razor: if it is only ever needed by contributors, which is likely if links
refer to the latest revision of the source code, then it's for
the contributor guide

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-06-11 10:51:03 +02:00
github-actions[bot] 507aeeb037
Merge staging-next into staging 2024-06-09 00:03:32 +00:00
github-actions[bot] 4f7f1065a7
Merge master into staging-next 2024-06-09 00:03:04 +00:00
github-actions[bot] 26e3a02633
Merge master into haskell-updates 2024-06-08 00:14:17 +00:00
Robert Scott a3f5640dd7 doc/stdenv: hardening flags: add section on stackclashprotection 2024-06-07 20:24:46 +01:00
Robert Scott 932bf58e90 doc/stdenv: hardening flags: move zerocallusedregs into "enabled by default" section
following dd80ca4d00
2024-06-07 20:17:51 +01:00
github-actions[bot] eed508d1f1
Merge staging-next into staging 2024-06-07 12:01:55 +00:00
github-actions[bot] ecc75d299d
Merge master into staging-next 2024-06-07 12:01:27 +00:00
Arnout Engelen eb83125aa3
Merge pull request #315616 from doronbehar/doc/installCheckPhase
doc/meta: Mention --version as a good usecase for installCheckPhase
2024-06-07 11:41:37 +02: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
github-actions[bot] 4ace29447c
Merge master into staging-next 2024-06-07 00:02:15 +00:00
Peder Bergebakken Sundt 4f06a00fa9
Merge pull request #295155 from onemoresuza/hare-hook
hareHook: init
2024-06-06 23:55:33 +02:00
Thomas Gerbet f56313f886
Merge pull request #317575 from risicle/ris-doc-stdenv-hardening-flags-update
doc/stdenv: hardening flags: update, add sections on `fortify3`, `zerocallusedregs`, `trivialautovarinit`
2024-06-06 20:47:23 +02:00
github-actions[bot] f88b87f09f
Merge staging-next into staging 2024-06-06 12:02:28 +00:00
github-actions[bot] 03ad09b79d
Merge master into staging-next 2024-06-06 12:01:27 +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
github-actions[bot] 5839a82238
Merge master into staging-next 2024-06-06 00:02:22 +00:00
Robert Scott 062f1fa52a doc/stdenv: hardening flags: add section on trivialautovarinit 2024-06-05 23:10:20 +01:00
Robert Scott 39f39b5568 doc/stdenv: hardening flags: add section on zerocallusedregs 2024-06-05 23:10:20 +01:00
Robert Scott 65cc6d3cf1 doc/stdenv: hardening flags: add section on fortify3 2024-06-05 23:10:19 +01:00
Robert Scott a8062e526c doc/stdenv: hardening flags: add note on conditional support for some flags 2024-06-05 23:10:12 +01: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
github-actions[bot] daadd0b777
Merge master into haskell-updates 2024-06-05 00:13:17 +00:00
github-actions[bot] 1e2381cfc5
Merge staging-next into staging 2024-06-05 00:02:59 +00:00
github-actions[bot] 4b2a80fbd0
Merge master into staging-next 2024-06-05 00:02:31 +00:00
Coutinho de Souza cfa58200cd
doc/hare: init 2024-06-04 20:33:11 -03:00
Alyssa Ross ba96c1f7e5 doc: fix make-disk-image.nix example 2024-06-04 21:46:41 +01: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
github-actions[bot] 26c4820adb
Merge master into haskell-updates 2024-06-01 00:14:21 +00:00
github-actions[bot] c0b9a61616
Merge master into staging-next 2024-05-31 18:01:21 +00:00
Daniel Sidhion 1ee0e2dcfe
doc: improve the look of terms in definition lists (#313891) 2024-05-31 16:26:48 +02: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
github-actions[bot] 800ef5e9b4
Merge master into staging-next 2024-05-31 12:01:08 +00:00
sternenseemann c2b48909d6 Merge master into haskell-updates 2024-05-31 12:49:29 +02:00
Robert Hensing cb03eb8efc
Merge pull request #316056 from tie/doc-testers-testEqualContents
doc: fix testers.testEqualContents fragment link
2024-05-31 12:33:39 +02:00
Vladimír Čunát 5804775d03
Merge branch 'staging' into staging-next 2024-05-31 07:30:41 +02:00
Ivan Trubach b25101d1fb doc: fix testers.testEqualContents fragment link 2024-05-31 05:35:48 +03:00
Doron Behar 0aa9043370 doc/meta: still mention testVersion near the installCheckPhase recommendation 2024-05-30 16:33:27 +03:00
Doron Behar 444c2b6dd0 doc/meta: Mention --version as a good usecase for installCheckPhase 2024-05-30 16:09:04 +03:00
Doron Behar f4e6f41b72 doc/meta: better explain an advantage or passthru.tests 2024-05-30 16:09:03 +03:00
Doron Behar f4e7ce7719 doc/meta: small link target shortenning
Shorten the path from the link to the to actual content about
passthru.tests - the content was moved into pkgs/README.md .
2024-05-30 16:09:03 +03:00
Doron Behar 2093ef28d9 doc/meta: mention how Hydra and other tools don't run passthru.tests 2024-05-30 16:09:03 +03: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
github-actions[bot] 7b88bc39ef
Merge staging-next into staging 2024-05-27 00:02:54 +00:00
Robert Hensing e0c43a96d2
testers.lycheeLinkCheck: init (#298665)
* testers.lycheeLinkCheck: init

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-05-27 01:14:19 +02:00
github-actions[bot] 7655996362
Merge staging-next into staging 2024-05-23 18:02:28 +00: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