Commit Graph

177 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
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
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
Nicolas Benes
bfd6bbc368 boost177: add patch to fix a typo 2026-02-06 23:47:15 +01: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
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
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
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
Tobias Mayer
3e2ceab201 boost: fix build for non x86_64 hostPlatforms 2024-11-24 16:32:49 +01:00
Randy Eckenrode
6bda1a3ef4 boost: fix Darwin cross-compilation
b2 tries to invoke the linker without a prefix, which fails.
2024-10-10 01:07:02 -04:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
tomberek
61c828ce8f Merge pull request #329961 from ExpidusOS/fix/pkgsllvm/boost
boost{,-build}: fix building with llvm
2024-08-16 02:15:21 -04:00
Vladimír Čunát
a5b2fe7374 Merge #328673: staging-next 2024-07-20 2024-07-28 13:45:55 +02:00
Alyssa Ross
ff8359ab31 boost: fix build for s390
Boost seems to call both S390 and S390x "s390x".  At least that's how
Conan does it:

https://github.com/conan-io/conan-center-index/pull/8282
2024-07-28 12:20:51 +02:00
Tristan Ross
3e6180e984 boost: fix building with llvm 2024-07-25 12:47:39 -07:00
Artturin
821841dd87 boost: add a pkg-config file
for meson
2024-07-04 11:01:15 +02:00
Markus Kowalewski
75e06d4270 boost: use getDev for mpi input 2024-02-01 11:08:56 +01:00
Ryan Burns
c324705cc3 treewide: simplify exec format conditionals 2024-01-07 17:43:33 -08:00
John Ericson
e829eca886 Merge pull request #253939 from angerman/angerman/ucrt64
Add ucrt64 mingw toolchain.
2023-09-08 22:40:14 -04:00
Weijia Wang
547f990fdc Merge pull request #253144 from jiegec/boost183
boost183: init at 1.83.0
2023-09-08 16:30:21 +02:00
Moritz Angermann
a81e3dcd75 treewide: replace libc == "msvcrt" with isMinGW
msvcrt is only one of the libcs in MinGW. We therefore
replace explictly testing for msvcrt with the isMinGW
predicate. This lays the foundation for ucrt64 support.
2023-09-08 10:56:08 +00:00
Artturi
d78d760dae Merge pull request #245300 from amjoseph-nixpkgs/pr/boost/move-mipsN32-to-badPlatforms 2023-09-08 01:32:00 +03:00
Jiajie Chen
557163a1dd boost183: init at 1.83.0 2023-09-04 09:00:35 +08:00