Commit Graph

22 Commits

Author SHA1 Message Date
Aaron Jheng
3f94089dda bcc: 0.36.1 -> 0.37.0 2026-07-20 11:48:52 +08:00
Naïm Camille Favier
b4b1ca25b0 bcc: apply upstream patch
Fixes an issue with recent kernels (6.19 and later).
2026-05-01 16:30:29 +02:00
R. Ryantm
39e9a7f29c linuxPackages.bcc: 0.36.0 -> 0.36.1 2026-02-10 02:20:44 +00:00
Aaron Jheng
d8d34bb01a bcc: 0.35.0 -> 0.36.0 2026-02-08 02:54:56 +00:00
Stefan Frijters
9a32c795b3 bcc: expand pythonPath bash array for structuredAttrs 2026-01-27 11:53:04 +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
Vladimír Čunát
6157b62feb bcc: fix build with clang 21 via upstream patch 2025-09-30 08:29:48 +02:00
TomaSajt
b9ddb3a879 bcc: remove sed logic, add pythonImportsCheck 2025-07-24 16:40:32 +02:00
TomaSajt
1bfa1a0015 bcc: modernize 2025-07-22 02:46:25 +02:00
Jörg Thalheim
b21fcdd5d8 bcc: 0.34.0 -> 0.35.0
Diff: https://github.com/iovisor/bcc/compare/v0.34.0...v0.35.0
2025-05-30 17:14:53 +02:00
R. Ryantm
d2c903e835 python312Packages.bcc: 0.33.0 -> 0.34.0 2025-04-13 13:42:29 +00:00
Dominique Martinet
78a40d3403 bcc: fix bashreadline
- we didn't provide the newly required elfutils python dependency,
but we're only dealing with newer bashes so just use the new symbol
- while here also default to using our libreadline as bash is configured
to use it on nixos; this can still be overriden

Link: https://github.com/iovisor/bcc/pull/4903
Fixes: #328743
2025-01-19 17:35:35 +01:00
R. Ryantm
e869934367 python312Packages.bcc: 0.32.0 -> 0.33.0 2025-01-19 13:55:24 +00:00
Peder Bergebakken Sundt
0cd04d3036 treewide: migrate fetchgit rev = "refs/tags/..." to tag 2025-01-04 00:19:17 +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
R. Ryantm
147ecc7564 python312Packages.bcc: 0.31.0 -> 0.32.0 2024-11-24 07:59:45 +00:00
Ryan Yin
43ccd1d4e5 maintainers: add ryan4yin 2024-10-24 14:24:31 +08: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
Ryan Yin
fb27fe2102 python3Packages.bcc: init at 0.31.0 2024-09-04 17:30:57 +08:00
R. Ryantm
4cd87f9ba9 bcc: 0.30.0 -> 0.31.0 2024-08-08 06:41:47 +00:00
Dominique Martinet
c87348b2c1 bcc/bpftrace: add missing platforms=linux
bcc and bpftrace depend on bpf which is linux-specific
2024-05-14 14:38:09 +09:00
Dominique Martinet
e9531dec25 bcc: migrate to by-name
The package is left in all-packages to allow setting llvmPackages more
easily
2024-05-12 19:05:44 +09:00