Commit Graph

3646 Commits

Author SHA1 Message Date
Philip Taron
e65ef57a0f
stdenv: fix documentation for stripAllFlags and stripDebugFlags (#352127) 2024-12-13 12:47:26 -08:00
Emery Hemingway
eaff0725de buildNimSbom: init a new package builder for Nim
Ref: #327064
2024-12-12 09:57:05 +00:00
Fernando Rodrigues
ee85ee8b83
doc/README.md: Mention the alphabetical sorting in the documentation
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-12-10 17:42:53 -03:00
Fernando Rodrigues
b368da407c
doc/manpage-urls.json: sort alphabetically
This will hopefully reduce future diffs, as JSON doesn't have a trailing
comma for lists, and it's unlikely that new commands will be added after
the letter `v`. Sorting this list alphabetically also makes it slightly
more organised.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-12-10 17:41:39 -03:00
misuzu
22b87b1b7e
nixos/bat: init (#350079) 2024-12-10 22:33:34 +02:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Fernando Rodrigues
3a068accfd
nixos/bat: init bat module
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-12-10 14:38:30 -03:00
Jörg Thalheim
ff8576f191
dockerTools.pullImage: accept hash parameter (#342400) 2024-12-09 15:32:15 +01:00
nicoo
5720f42c32 nix-prefetch-docker: provide hash in SRI format 2024-12-09 14:28:25 +01:00
nicoo
d0e6b0e170 dockerTools.pullImage: accept hash parameter 2024-12-09 14:28:24 +01:00
Arne Keller
e4c9d406a0
doc/languages-frameworks/python: Reword section to make commit rules a bit clearer (#339643) 2024-12-09 06:53:44 +01:00
Philip Taron
7822cb34f8
fetchgit{,hub}: add tag argument (#355973) 2024-12-05 07:40:05 -08:00
David McFarland
6cb56c519a
doc/dotnet: bump .NET versions from 6, 7 to 8, 9 (#361243) 2024-12-05 09:49:33 -04:00
Gavin John
67a56f27f2
doc/build-helpers/testers: Fix command renamed to script (#352713) 2024-12-04 22:53:21 +00:00
Nick Cao
032239c962
julia.withPackages: add juliaCpuTarget option (#361655) 2024-12-04 10:01:12 -05:00
Tom McLaughlin
b69b526e6d julia.withPackages: add juliaCpuTarget option 2024-12-03 21:40:07 -08:00
seth
ed6c067f25
doc/tauri: use tauri 2.0 dependencies & new darwin SDK pattern in example (#357148)
* doc/tauri: use tauri 2.0 dependencies in example

* doc/tauri: use new darwin SDK pattern in example

Part of https://github.com/NixOS/nixpkgs/issues/354146
2024-12-04 00:31:45 -05:00
Gutyina Gergő
b433ca6065
doc/dotnet: bump .NET versions from 6, 7 to 8, 9 2024-12-02 23:41:19 +01:00
Priyanshu Tripathi
836d207c6c
nixos-render-docs-redirects: init (#357383)
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-11-29 15:03:08 +01:00
Tomodachi94
d3f007d039
buildMavenPackage: Add overrideMavenAttrs function and buildOffline documentation (#313152) 2024-11-27 01:11:47 -08:00
Wolfgang Walther
af10dd2014
lib/customisation: remove overrideScope'
Let's follow through on the comment.
2024-11-24 21:09:32 +01:00
Thibault Gagnaux
cbb3cec851
doc/maven: document how to override maven attrs
and offline build usage.
2024-11-23 15:41:16 +01:00
Wolfgang Walther
51da8b6b00
writeReferencesToFile: remove
Had been deprecated and scheduled for removal in 24.11.
2024-11-22 21:01:53 +01:00
Matthieu Coudron
d6c5afdca4
pluginupdate.py: add support for adding/updating individual plugins (#336137) 2024-11-21 20:26:17 +01:00
Aleksana
87678783d0
doc: change allowInsecurePredicate example to a useful one (#356937) 2024-11-21 21:06:38 +08:00
Kenichi Kamiya
2d4dfc04b4
doc/stdenv: fix a typo 2024-11-20 16:08:21 +09:00
Aleksana
0ecc88f77d
buildGoPackage: remove (#349478) 2024-11-19 22:41:50 +08:00
Leona Maroni
3239d863ac
Merge: docs: remove old NixOS version references (#356684) 2024-11-19 09:10:51 +01:00
Paul Meyer
2ac1f685b6 docs: update Go section after buildGoPackage removal
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-11-18 14:36:08 +01:00
Sandro
73b6567c41
doc: change allowInsecurePredicate example to a useful one 2024-11-18 13:12:02 +01:00
Atemu
cb9f9a1e5a fetchgit{,hub}: add tag argument
It's become a common pattern to use `rev = "refs/tags/${version}"` rather than
just `rev = version` to ensure that the tag gets fetched rather than a branch
that has the same name. This has so far been done using boilerplate though, so
let's add a simple abstraction to fetch a tag instead.
2024-11-18 08:20:00 +01:00
Florian Brandes
331e87e987
doc: fix redirect for fetchgit example
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-11-17 19:17:11 +01:00
Atemu
c5d3db7421
doc: document commonly used fetchgit flags (#355685) 2024-11-17 17:39:21 +01:00
Wolfgang Walther
1dd9c32b18
docs: remove references before 22.11
Stuff that has been in for many years doesn't need to be mentioned
explicitly anymore.
2024-11-17 12:51:09 +01:00
Wolfgang Walther
54aee07891
docs/dotnet.section.md: fix accidentally localized example output 2024-11-17 11:32:03 +01:00
Masum Reza
76e7cb3fac
rustPlatform.fetchCargoVendor: init (#349360) 2024-11-16 09:30:53 +05:30
GetPsyched
5b8a714968 nixos-render-docs: init redirects system
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-11-15 14:09:21 +01:00
GetPsyched
8809585e69 doc/README: fix nixos-render-docs link
This was unintentionally broken in 571c71e6f7
2024-11-15 14:09:21 +01:00
TomaSajt
66855adbbf
docs: mention fetchCargoVendor 2024-11-15 13:09:16 +01:00
Atemu
1712d71ea7 doc: document commonly used fetchgit flags
Some important ones like fetchLFS were missing. See
https://discourse.nixos.org/t/how-to-use-git-lfs-with-fetchgit/55975 for a
documented instance where this confused a user.

This still isn't complete but the remaining ones I felt were rather niche and I
am not familiar enough with them to sufficiently document their purpose or
usage.
2024-11-14 23:49:57 +01:00
github-actions[bot]
b4d4509dd5
Merge master into staging-next 2024-11-12 12:06:14 +00:00
Valentin Gagarin
50ff833cd8 devmode: move to pkgs/by-name
now one can use `devmode` from anywhere Nixpkgs is available:

    devmode = pkgs.devmode.override {
      buildArgs = toString ./.;
      open = "/index.html";
    };
2024-11-12 10:16:58 +01:00
Valentin Gagarin
b94f54b7a0 devmode: make reusable
the `devmode` helper made for the Nixpkgs/NixOS manual was exposed wrapped
in `mkShell`, which made it impossible to reuse.

this change strips that wrapper and reproduces it at the call site.

now one can use `devmode` from anywhere Nixpkgs is available:

    devmode = pkgs.callPackage "${pkgs.path}/pkgs/tools/nix/web-devmode.nix" {
      buildArgs = toString ./.;
      open = "/index.html";
    };
2024-11-12 10:16:58 +01:00
github-actions[bot]
00b1e226f7
Merge master into staging-next 2024-11-12 06:05:05 +00:00
Sefa Eyeoglu
86d9f7ed0d
doc/tauri: stdenv.is* -> stdenv.hostPlatform.is*
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-11-11 20:23:49 +01:00
github-actions[bot]
77ed9318b3
Merge master into staging-next 2024-11-10 12:04:52 +00:00
Emily
62fa59a639
doc: revise Darwin SDK documentation (#353439) 2024-11-10 09:22:58 +00:00
github-actions[bot]
24e5e7f5fc
Merge master into staging-next 2024-11-10 06:04:29 +00:00
Tomodachi94
27a103786c
doc/hooks/aws-c-common: init (#351394) 2024-11-09 20:30:59 -08:00
Tomo
176eb0a3d9 doc/hooks/aws-c-common: init
Part of #341479
2024-11-10 02:39:27 +00:00