Commit Graph

1656 Commits

Author SHA1 Message Date
NAHO
854c5a5460 doc: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd --type file . doc --exec-batch sed --in-place --regexp-extended "
      s/\<builtins\.($(
        printf '%s\n' "${builtins[@]}" |
          paste --delimiter '|' --serial -
      ))\>/\1/g
    "

    nix fmt
2025-09-30 09:02:03 +02:00
Sandro
4c80be0ea5 treewide: remove bower (#443594) 2025-09-28 13:15:39 +00:00
Sandro Jäckel
a71bf6cd30 treewide: remove bower 2025-09-26 22:26:22 +02:00
Yifei Sun
73432f59e1 ocamlPackages.buildDunePackage: support fixed point args with lib.extendMkDerivation 2025-09-25 14:59:57 +02:00
Doron Behar
231b7fcbb5 doc/javascript: Warn against the use of mkYarnPackage (#437223) 2025-09-13 22:34:30 +00:00
nixpkgs-ci[bot]
7f33f65be5 Merge master into staging-next 2025-09-07 18:04:47 +00:00
Emily
3b7e7e362b haskell.compiler.ghc928: drop 2025-09-07 18:45:52 +01:00
nixpkgs-ci[bot]
9f455ea141 Merge master into staging-next 2025-09-01 16:25:26 +00:00
mmfallacy
a116c18dd8 doc/vim: fix instructions on vim-plugins-updater update
See 1e71cad6e4/maintainers/scripts/pluginupdate-py/pluginupdate.py (L487).

This line checks the plugin's name and normalizes it before checking with `to_update`.
`to_update` is a raw list of packages you want to update.

Thus, calling `vim-plugins-updater update "package-name"` filters `current_plugin_specs`, removing all `PluginDesc` with *normalized* names that do not match `to_update`

Hence, updating something like "mini.nvim" does not work as the filter expects normalized names. Using "mini-nvim" instead works as intended
2025-08-31 13:26:55 +08:00
polyfloyd
3eea28e982 doc/javascript: Warn against the use of mkYarnPackage 2025-08-29 13:12:56 +02:00
K900
92c54de171 Merge remote-tracking branch 'origin/staging-next' into staging 2025-08-28 12:55:20 +03:00
Ben Siraphob
cc5b731ed3 doc: fix typos 2025-08-27 11:46:26 -07:00
Vladimír Čunát
7f3ba72e24 Merge branch 'master' into staging 2025-08-23 11:39:22 +02:00
K900
e9a7500b70 Merge remote-tracking branch 'origin/master' into staging-next 2025-08-23 09:24:59 +03:00
Emily
b5a4a0a6cc {gdc,gdmd}: drop
GDC 11 was the last version that could bootstrap without a D compiler,
and GDC don’t offer their own binaries any more. GCC 11 is now
end‐of‐life and being removed (as is GCC 12, even).

It’s possible that we could use another distribution’s binary
packages to bootstrap this, or go via our DMD package (it’s
apparently not possible to bootstrap GDC with LDC, but I’m not sure
about DMD), but as nobody has worked on it in the three years since
GCC 12 came out, it seems like interest is limited, and it’s more
of a yak shave than I’m up for right now.

A full from‐source bootstrap chain would of course be nice, but is
more the realm of the minimal bootstrap work than something we’d
want to keep GCC 11 around in the main package set indefinitely for.
2025-08-22 23:01:59 +01:00
Emily
1bcb29135a cudaPackages_{12_0,12_1,12_2,12_3,12_4,12_5}: drop 2025-08-22 16:18:23 +01:00
Wolfgang Walther
25fedb005f Revert "python3Packages.buildPythonPackage: default enabledTestPaths = [ "." ]" 2025-08-19 12:47:11 +00:00
Wolfgang Walther
746cd1fbea python3Packages.buildPythonPackage: default enabledTestPaths = [ "." ] (#425191) 2025-08-18 14:54:30 +00:00
Yueh-Shun Li
5bf25dffb6 python3Packages.buildPythonPackage: default enabledTestPaths = [ "." ]
Explicitly provide a default value for the argument `enabledTestPaths`
as the current working directory (`enabledTestPaths = [ "." ]`)
to simplify overriding (making `enabledTestPaths` always specified as a
non-empty list) while preserving `pytest`'s default behaviour of
discovering tests in the current working directory.

Assert the specified `enabledTestPaths` value to be a non-empty list.
2025-08-18 04:43:19 +08:00
nixpkgs-ci[bot]
6be5b2521e Merge staging-next into staging 2025-08-14 18:06:37 +00:00
Fabián Heredia Montiel
675812fca5 Merge remote-tracking branch 'origin/master' into staging-next 2025-08-14 09:23:01 -06:00
Doron Behar
ba78835ed9 doc/python: fix commit prefix instructions (refer to pkgs/README)
A followup to:

https://github.com/NixOS/nixpkgs/pull/431688#discussion_r2274409327
2025-08-14 10:32:27 +03:00
nixpkgs-ci[bot]
cb60966cae Merge staging-next into staging 2025-08-14 00:18:07 +00:00
K900
40539042b8 Merge remote-tracking branch 'origin/master' into staging-next 2025-08-13 21:30:19 +03:00
Jeremy Fleischman
e7221c7ce4 Revert "treewide: drop usage of nixfmt-rfc-style alias"
This reverts commit c19b2c3c49.

As per the discussion
[here](https://github.com/NixOS/nixpkgs/pull/433100#issuecomment-3184482777),
it's too early to drop usage of the alias in documentation.

Removing the references is tracked by
<https://github.com/NixOS/nixpkgs/issues/425583>, which a member of the
Nix Formatting team will do when the time is right.
2025-08-13 09:56:13 -07:00
nixpkgs-ci[bot]
9910bc5b76 Merge staging-next into staging 2025-08-13 00:18:48 +00:00
Fabián Heredia Montiel
03c3164694 Merge remote-tracking branch 'origin/master' into staging-next 2025-08-12 18:14:55 -06:00
Sandro Jäckel
c19b2c3c49 treewide: drop usage of nixfmt-rfc-style alias 2025-08-12 20:49:04 +02:00
Paul Meyer
cf4e81e3bc buildGoModule: add buildTestBinaries option, add tests (#427334) 2025-08-12 10:14:14 +02:00
nixpkgs-ci[bot]
590adebb71 Merge staging-next into staging 2025-08-02 12:07:14 +00:00
lassulus
61c572b0fc docs/factor: fixup Factor docs referencing correct vocab root name (#426570) 2025-08-02 08:16:27 +02:00
Paul Meyer
969cc016b0 docs: document buildTestBinaries for buildGoModule
Signed-off-by: Paul Meyer <katexochen0@gmail.com>
2025-07-29 11:38:36 +02:00
Wolfgang Walther
3f3bd4ce47 Merge commit 'ebebf7f93a3ef53489e240247e518f2f08d85b28' into haskell-updates 2025-07-24 14:38:10 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Wolfgang Walther
62fe016519 treewide: run treefmt with mdcr/nixfmt 2025-07-24 13:52:31 +02:00
nixpkgs-ci[bot]
d4314e7f38 Merge 8cf338f2bd into haskell-updates 2025-07-23 00:23:04 +00:00
Connor Baker
b41e567152 {_cuda.extensions,pkgsCuda,pkgsForCudaArch}: init (#406568) 2025-07-22 07:24:08 -07:00
nixpkgs-ci[bot]
f2ef2c1505 Merge 77fc6c546b into haskell-updates 2025-07-22 00:23:04 +00:00
Wolfgang Walther
48389ccc6b haskellPackages.mkDerivation: Add env argument (#424368) 2025-07-21 13:07:14 +00:00
·𐑑𐑴𐑕𐑑𐑩𐑤
b0e42ddced docs/factor: fixup Factor docs referencing correct vocab root name 2025-07-19 11:02:33 +07:00
Dan Baker
0ff3ee0540 doc: CUDA section fixups
Co-authored-by: Connor Baker <ConnorBaker01@gmail.com>

Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-07-18 19:44:09 +00:00
Connor Baker
fa4f91662a doc: introduce CUDA user guide
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-07-18 19:41:52 +00:00
Connor Baker
18cdc0858a doc: CUDA section fixups
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-07-18 19:41:52 +00:00
Connor Baker
544be187c0 doc: add sections for cudaPackages.pkgs, pkgsCuda, and pkgsForCudaArch
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-07-18 19:41:52 +00:00
Connor Baker
36d409bc3a _cuda.extensions: make overriding all CUDA package sets easier
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-07-18 19:41:51 +00:00
Connor Baker
b0f64f56be doc: CUDA section fixups and describe _cuda.fixups
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-07-18 19:41:51 +00:00
Philip Taron
1d2cfef5e9 agda: fixes for 2.8.0 (#424180) 2025-07-17 14:56:33 -07:00
Rebecca Turner
d3e4f784aa haskellPackages.mkDerivation: Add env argument
Previously, setting environment variables in a Haskell package build
required using `.overrideAttrs`, which (I think?) breaks later
invocations of `haskell.lib.overrideCabal`.

This patch adds an `env` argument to `haskellPackages.mkDerivation`,
which can be used to set environment variables during Haskell package
builds.
2025-07-16 11:38:18 -07:00
Naïm Camille Favier
1288f57e55 agdaPackages: switch to --build-library
Use the new `--build-library` mode introduced in Agda 2.8.0 to build
libraries instead of relying on ad-hoc `Everything` files. This
simplifies most derivations (except cubical-mini which imports generated
`Everything` files from various modules).
2025-07-16 12:21:39 +02:00
Sefa Eyeoglu
e9d0c4af41 doc: adjust pnpm.fetchDeps parameter order
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2025-07-15 15:09:16 +02:00