Commit Graph

362 Commits

Author SHA1 Message Date
K900
2f4c2d4476 Merge remote-tracking branch 'origin/staging-next' into staging 2026-08-05 15:42:09 +03:00
Ben Siraphob
f82dc8ebe9 pkgs/development: fix typos
Assisted-by: Claude Code (claude-opus-5)
2026-08-02 15:56:57 -07:00
Sergei Zimmerman
7bb72161e1 boost: backport regression fixes for boost.context
Applies the fixes for 1.88 regressions that have caused widespread
breakage in Nix. Currently we are building with 1.89, so only 2 fixes
are relevant [1,2], with the second patch being backported to avoid
conflicts - the issue it addresses doesn't blow up in nix - but it
does in userver and other stuff too probably.

The third patch was authored by NaN-git to unbreak nix with 1.89, so
we apply it to 1.88 (the initial version that had the fiber-specific
exception state changes with fcontext and libstdc++). This is mostly for
consistency and unbreak boost.context on that version.

[1]: https://github.com/boostorg/context/pull/337
[2]: https://github.com/boostorg/context/pull/331
2026-07-27 22:37:12 +03:00
Guilhem Saurel
52a17d7994 boost191: init at 1.91.0 2026-05-16 23:51:51 +02:00
Guilhem Saurel
097b8a0ef0 python3Packages.boost: fix use of user-config.jam 2026-05-16 23:51:51 +02:00
Guilhem Saurel
01e4dac6b3 boost: strictDeps 2026-05-16 23:51:51 +02:00
Leona Maroni
6481a63c13 boost177: drop
only consumer inside nixpkgs was dropped.
2026-04-20 16:26:27 +02:00
Martin Joerg
7161a38c25 boost189: move cygwin patch to generic.nix
Since #495346, `boost189.override { patches = ...; }` does not work as expected.
2026-03-08 12:28:29 +00:00
Martin Joerg
411ccc6f2c boost187: move cygwin patch to generic.nix
Since #472755, `boost187.override { patches = ...; }` does not work as expected.
2026-03-08 12:28:29 +00:00
David McFarland
fe5026c87c boost189: fix cygwin build
This is just a rebase of the 1.87.0 patch.
2026-02-28 19:20:52 -04:00
Nicolas Benes
bfd6bbc368 boost177: add patch to fix a typo 2026-02-06 23:47:15 +01:00
Doron Behar
702146a18c boost190: init at 1.90.0 2026-01-28 15:54:23 +02:00
K900
6866bcc14c boost186: nixfmt 2025-12-22 10:35:51 +03:00
K900
04de9bcc92 boost186: also fix under structuredAttrs 2025-12-22 10:24:35 +03:00
nixpkgs-ci[bot]
292c595005 Merge master into staging-next 2025-12-21 00:19:44 +00:00
David McFarland
9c433ab561 boost: fix cygwin build 2025-12-20 15:39:12 -04:00
Stefan Frijters
df5c650e3f boost: fix patches for 1.87.0 with structuredAttrs
This properly flattens the patches array again -
otherwise all patches are dropped when structuredAttrs are enabled.

The build will finish, but downstream users of the library will
not be able to link to it properly (e.g. folly).
2025-12-15 11:59:51 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Wolfgang Walther
b4ac268a3d maintainers: drop hjones2199
Inactive since 2023.
2025-09-10 21:05:32 +02:00
Alexis Hildebrandt
7ace1a7858 boost189: init at 1.89.0 (#434269) 2025-08-29 22:20:54 +02:00
Alexis Hildebrandt
1d45f884d3 boost189: init at 1.89.0 2025-08-16 18:50:40 +02:00
Emily
feb38c0940 cc-wrapper: use -fmacro-prefix-map to scrub __FILE__ references (#429880) 2025-08-03 20:41:44 +01:00
Emily
4401eb4b3b sanitiseHeaderPathsHook: drop
This is now handled by the compiler wrapper.

I have verified that `webkitgtk_6_0` still has no GCC dependency on
`aarch64-linux`, and that `watchman` doesn’t pull in any `dev`
outputs on `aarch64-darwin`.

Closes: #424844
Closes: #426934
Closes: #427475
Closes: #428546
2025-07-31 16:39:48 +01:00
chn
ae795c5349 boost188: fix cmake file 2025-07-29 22:09:08 +08:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Emily
acf51915ab boost: use sanitiseHeaderPathsHook 2025-07-04 12:02:26 +01:00
aleksana
f6d7faef58 boost187: Fix ABI detection for empty 'os.platform' 2025-04-25 00:01:57 +08:00
nixpkgs-ci[bot]
3a9d37f1e7 Merge staging-next into staging 2025-04-17 12:06:35 +00:00
Alexis Hildebrandt
8ba44929e6 boost188: init at 1.88.0 2025-04-11 21:49:09 +02:00
Grimmauld
e4f04c32f5 boost: drop unused expat dependency
The `expat` was removed upstream in 10135eeab5f7cd28e43f00699dea724231cd7556 [1].
Boost used SVN at the time making precise timeline checks bothersome,
but it seems the first release including this drop was in late 2010.

Nixpkgs had the expat include logic in 00b296762a for version 1.43.
We no longer maintain such ancient versions of boost, yet the logic was still there.

[1] 10135eeab5
2025-04-06 13:24:02 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Peder Bergebakken Sundt
5aba99242e treewide: fix typos in comments
Made with

```shell
git restore .
fd '\.nix$' pkgs/ --type f -j1 -x bash -xc "$(cat <<"EOF"
    typos --no-check-filenames --write-changes "$1"
    git diff --exit-code "$1" && exit
    #( git diff "$1" | grep -qE "^\+ +[^# ]") && git restore "$1"
    count1="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> ' | wc -l )"
    count2="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> (<span style="color:#f8f8f2;"> *</span>)?<span style="color:#75715e;">.*</span>$' | wc -l )"
    [[ $count1 -ne $count2 ]] && git restore "$1"
EOF
)" -- {}
```

and filtered with `GIT_DIFF_OPTS='--unified=15' git -c interactive.singleKey=true add --patch`

I initially tried using the tree-sitter cli, python bindings and even ast-grep through various means, but this is what I ended up with.
2025-02-24 10:44:41 +01:00
K900
30c6cc6ae2 boost: fix operator<< for shared_ptr and intrusive_ptr (#376024) 2025-02-09 09:29:53 +03:00
Alyssa Ross
dffcaaaa64 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/virtualization/crosvm/default.nix
	pkgs/by-name/as/ast-grep/package.nix
	pkgs/by-name/ca/cargo-mobile2/package.nix
	pkgs/by-name/cl/clang-tidy-sarif/package.nix
	pkgs/by-name/gg/gg-jj/package.nix
	pkgs/by-name/gi/git-warp-time/package.nix
	pkgs/by-name/je/jellyfin-rpc/package.nix
	pkgs/by-name/ne/netbox2netshot/package.nix
	pkgs/by-name/sy/sydbox/package.nix
	pkgs/by-name/te/television/package.nix
	pkgs/development/python-modules/tinytuya/default.nix
2025-01-31 10:23:31 +01:00
FliegendeWurst
4c249aafbf boost: fix cross build if enablePython 2025-01-26 01:11:08 +01:00
rewine
9f93116aa0 boost: fix operator<< for shared_ptr and intrusive_ptr 2025-01-23 15:09:10 +08:00
Yureka
56b1e1c1b4 boost: Fix compilation to 32-bit ARM with clang in downstream packages (#375322)
Change-Id: I4eafd2adc9dbd2387e298829fe635dd667ab6ce4
2025-01-21 15:21:25 +01:00
Emily
d836f2ab50 boost{177,178,179,180,181,182,183}: conditionalize stacktrace flag (#369964) 2025-01-01 14:59:26 +00:00
Emily
45e2426453 boost{177,178,179,180,181,182,183}: conditionalize stacktrace flag
This library was introduced in Boost 1.85.

Fixes: 3e2ceab201
2025-01-01 13:04:24 +00:00
Emily
06ad551f43 boost187: don’t apply NumPy 2 backport patch 2024-12-30 12:17:28 +00:00
Emily
28d78e5f86 boost187: init at 1.87.0 (#365042) 2024-12-27 23:53:23 +00:00
Alexis Hildebrandt
2be20ed26b boost187: init at 1.87.0 2024-12-13 23:17:21 +01: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
Silvan Mosberger
84d4f874c2 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 78e9caf153
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:23:58 +01:00
Emily
1ebfdb5ead boost: apply upstream patch for NumPy 2 2024-11-27 07:39:30 +00:00
K900
3b5cb28a23 Merge remote-tracking branch 'origin/staging-next' into staging 2024-11-26 09:46:04 +03:00
Emily
2dae2d05da boost{184,185}: drop; various: unpin Boost, update (#358919) 2024-11-25 14:57:55 +00:00
Emily
99a2b21220 boost185: drop 2024-11-25 14:56:50 +00:00
Emily
ea4669590b boost184: drop 2024-11-25 14:56:49 +00:00
Emily
fb2dd4aed7 boost175: drop
Obsolete version with no remaining users in the tree. Already removed
by other distributions.
2024-11-25 02:11:38 +00:00