0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-19 16:40:32 +03:00
Commit graph

3619 commits

Author SHA1 Message Date
Emily
abee2c992a nixpkgs-manual: avoid lib.fileset
I don’t love this, and I’m not convinced it doesn’t have the
same pitfalls as filesets, but see the `flattenReferencesGraph`
commit for reasoning.

It may be better to ban the relevant builtins entirely and just move
things into subdirectories when needed, but I didn’t want to do
more surgery to this part of the tree than necessary to solve the
immediate problem.

(cherry picked from commit 2eae7d63e2)
2025-01-01 13:38:15 +00:00
Matt Sturgeon
cf30bb1e24 addNuGetDeps: support loading JSON lockfiles
In addition to loading nix lockfiles

(cherry picked from commit bccae9e7c0)
2024-12-19 13:57:06 -03:00
Silvan Mosberger
d9d87c5196 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 https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev 0128fbb0a5
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:29:24 +01:00
Gavin John
15154570fa doc/languages-frameworks/python: update references to python 3.12
(cherry picked from commit 00a43d7d03)
2024-12-09 05:54:12 +00:00
Gavin John
c725c98341 doc/languages-frameworks/python: Reword section to make commit rules a bit clearer
(cherry picked from commit 3e2e5daab4)
2024-12-09 05:54:12 +00:00
TomaSajt
b03f4f116f docs: mention fetchCargoVendor
(cherry picked from commit 66855adbbf)
2024-12-06 02:25:22 +00:00
Aleksana
2c0bccb266
[Backport release-24.11] doc/build-helpers/testers: Fix command renamed to script (#361898) 2024-12-06 01:49:36 +08:00
Atemu
7adab4cf93 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.

(cherry picked from commit cb9f9a1e5a)
2024-12-05 15:40:33 +00:00
Gutyina Gergő
26b4a40512 doc/dotnet: bump .NET versions from 6, 7 to 8, 9
(cherry picked from commit b433ca6065)
2024-12-05 13:49:58 +00:00
Gavin John
44ddb2664c doc/build-helpers/testers: Fix command renamed to script (#352713)
(cherry picked from commit 67a56f27f2)
2024-12-04 22:54:23 +00:00
seth
ebe24fe90d 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

(cherry picked from commit ed6c067f25)
2024-12-04 05:32:13 +00:00
Wolfgang Walther
5fc8e07918
writeReferencesToFile: remove
Had been deprecated and scheduled for removal in 24.11.
2024-11-24 22:42:44 +01:00
Sandro
2cfbf28a89 doc: change allowInsecurePredicate example to a useful one
(cherry picked from commit 73b6567c41)
2024-11-21 13:07:05 +00:00
Kenichi Kamiya
113c61683b doc/stdenv: fix a typo
(cherry picked from commit 2d4dfc04b4)
2024-11-21 12:51:41 +00:00
Wolfgang Walther
bf67c23dcc docs: remove references before 22.11
Stuff that has been in for many years doesn't need to be mentioned
explicitly anymore.

(cherry picked from commit 1dd9c32b18)
2024-11-19 08:11:19 +00:00
Wolfgang Walther
e8ceba04c5 docs/dotnet.section.md: fix accidentally localized example output
(cherry picked from commit 54aee07891)
2024-11-19 08:11:18 +00:00
Atemu
1444ac86d1 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.

(cherry picked from commit 1712d71ea7)
2024-11-17 16:39:58 +00: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
Randy Eckenrode
b8b4cdc903
doc: revise Darwin SDK documentation
Based on experience with other maintainers trying to update their
packages, the documentation has been updated for clarity. It is also no
longer recommended to propagate an SDK in most circumstances.
2024-11-08 15:14:12 -05:00
Martin Weinelt
46b1474255 Reapply "haskellPackages: update stackage and hackage" (#354547)
This reverts commit 7701a9e6c6, reversing
changes made to 8991dc8e9d.

Restore haskell-updates on staging-next to save resources on hydra.
2024-11-08 18:42:24 +01:00
Martin Weinelt
2900723943
Merge remote-tracking branch 'origin/master' into staging-next 2024-11-08 18:40:48 +01:00
Vladimír Čunát
fe6d94b8f9
Revert "haskellPackages: update stackage and hackage" 2024-11-08 18:36:29 +01:00
K900
c8aec3b28a qt: editing pass on docs 2024-11-07 21:57:17 +02:00
rewine
98774a34c8 doc/qt: Mention propagates and wrapQtAppsNoGuiHook
Co-authored-by: eclairevoyant <contactmeongithubinstead@proton.me>
Co-authored-by: Artturin <Artturin@artturin.com>
2024-11-07 21:57:17 +02:00
K900
a3600c0788 Merge remote-tracking branch 'origin/master' into staging-next 2024-11-07 21:06:37 +03:00
sternenseemann
df930b804c Merge branch master into haskell-updates 2024-11-07 15:03:08 +01:00
github-actions[bot]
8d77160080
Merge staging-next into staging 2024-11-07 06:05:15 +00:00
Fabián Heredia Montiel
3f45fa2832
doc: replace references to --replace for the substitute command (#354093) 2024-11-06 19:15:23 -06:00
github-actions[bot]
a759676266
Merge master into haskell-updates 2024-11-07 00:16:21 +00:00
github-actions[bot]
91a300acbd
Merge staging-next into staging 2024-11-07 00:14:40 +00:00
jopejoe1
b0fecbaa2c
docs: rust: Improve wording about adding Cargo.lock to src (#340287) 2024-11-07 00:44:16 +01:00
Daniel Baker
052431ce98 doc: replace references to --replace for the substitute command
The `--replace` argument for `substitute` and `substituteInPlace` was
deprecated in e07a2fab7f. Updating all
references in the nixpkgs manual to use `--replace-fail`.
2024-11-06 14:08:28 -08:00
github-actions[bot]
57af37a3be
Merge master into haskell-updates 2024-11-04 00:17:26 +00:00
github-actions[bot]
bee49bdce0
Merge staging-next into staging 2024-11-03 18:04:43 +00:00
Philip Taron
e50c6cab11
treewide: fix links to specifications.freedesktop.org (#350918) 2024-11-03 09:06:56 -08:00
sternenseemann
b5ee541524 doc/haskell: update default GHC version 2024-11-03 12:29:33 +01:00
K900
46a1f3aa58 Merge remote-tracking branch 'origin/staging-next' into staging 2024-11-03 11:04:59 +03:00
Tomo
c0d9ad3ec4 doc/languages-frameworks/java: remove reference to oraclejdk
About to be removed, and this doesn't look true anymore.
2024-11-02 21:10:32 +00:00
github-actions[bot]
5605fc7044
Merge staging-next into staging 2024-11-02 00:14:22 +00:00
maralorn
51031f223c
haskellPackages.mkDerivation: Add support for sourceRoot and setSourceRoot arguments (#351226) 2024-11-01 23:29:42 +01:00
github-actions[bot]
670be3a8ed
Merge staging-next into staging 2024-11-01 06:05:13 +00:00