Commit Graph

76 Commits

Author SHA1 Message Date
Yuxuan Shui
3009f18828 rr: only enable 32-bit support on x86_64
i686 libraries cannot be built on ARM systems, but are required to
enable 32-bit support.

Supersedes #531138
2026-06-13 11:31:35 +01:00
Yuxuan Shui
fbb4ad46da rr: enable 32bit support 2026-02-04 14:04:35 +00:00
Maximilian Bosch
f9cc409c45 rr: fix build w/ glibc-2.42
Failing Hydra build: https://hydra.nixos.org/build/308527220
2026-01-03 20:39:44 +01:00
Ihar Hrachyshka
a269d900c4 treewide: remove remaining meta = with lib; 2025-12-14 15:16:00 -05: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
a7fc029699 linuxPackages_latest.rr-zen_workaround: fix build
Upstream has already merged a this fix, but there's no release yet.
2025-09-18 12:20:04 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Jade Lovelace
82b74f4d70 rr: 5.8.0 -> 5.9.0 2025-04-03 19:32:38 -05:00
Jan Malakhovski
992f592353 treewide: fix some more sourceRoots
This change is almost a noop.
2025-03-20 11:50:00 +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
Wolfgang Walther
d86588d230 treewide: improve prepending and appending derivation arguments in bash code
Those would be problematic with __structuredAttrs turned on, because
they'd turn those nice bash arrays back into strings - and potentially
lose some of the values on the way.
2024-11-25 09:09:23 +01:00
Guillaume Girol
a18fab28cb Merge pull request #316666 from symphorien/rr_zen_workaround_from_rr
linuxPackages.rr-zen_workaround: now included in rr sources
2024-08-11 23:13:43 +02:00
Peder Bergebakken Sundt
29ab705c17 treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck
repeat of #271241
discussion: #272978

I did not replace the instance in eiwd, since it causes an infinite recursion.
2024-07-30 18:32:01 +02:00
Nikolay Korotkiy
b9206183dc rr: cleanup 2024-07-22 03:20:03 +04:00
Nikolay Korotkiy
0702502d74 rr: fix cross-compilation 2024-07-22 03:08:18 +04:00
Guillaume Girol
55cd340d4a linuxPackages.rr-zen_workaround: now included in rr sources 2024-06-02 12:00:00 +00:00
Sigmanificient
203a48ad35 pkgs/development: remove unused fetchpatch arguments 2024-05-24 02:53:57 +02:00
R. Ryantm
793c46c470 rr: 5.7.0 -> 5.8.0 2024-05-20 15:00:18 +00:00
Guillaume Girol
b97f855887 linuxPackages.rr-zen_workaround: 2020-09-22 -> 2023-11-23
Fixes: BUG: scheduling while atomic
2024-02-16 12:00:00 +00:00
Sid Kshatriya
dda6f61fd9 rr: remove redundant line in buildInputs from rr's derivation 2023-11-16 21:21:13 +05:30
Felix Bühler
245bad83a7 Merge pull request #263829 from charmoniumQ/update-rr
rr: 5.6.0 -> 5.7.0
2023-10-29 12:23:16 +01:00
Samuel Grayson
073fd77f8f rr: 5.6.0 -> 5.7.0 2023-10-27 13:15:53 -05:00
Kira Bruneau
e8e53c5c8c rr: encode gdb dep with wrapProgram instead of propagatedBuildInputs
Except in special wrapper environments like `python3.withPackages`,
where all "build" dependencies are also runtime dependencies,
`propagatedBuildInputs` doesn't actually encode runtime dependencies.

It's meant to propagate build dependencies to dependants, so the
dependants don't have to explicitly add them to their `buildInputs`.

With `wrapProgram`, you can now run rr without having gdb
installed (eg. `nix run nixpkgs#rr replay`).
2023-04-26 12:44:34 -04:00
Dominik Honnef
a4fc60cdef rr: don't overwrite all of its C and CXX flags
These CMake flags have been present ever since the package was added in
2014. There is no documentation on why these flags should be necessary.
During local testing, rr built just fine without them.

In fact, I stumbled upon this when rr from nixpkgs failed to record
applications that use OpenGL, such as glxinfo or glxgears, whereas a
manually built rr worked just fine. I tracked it down to these flags.

I wasn't able to determine the relevant differences between the two
builds of rr.
2023-02-24 04:00:08 +01:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Vladimír Čunát
6930b5bda8 lyx, rr, linuxPackgaes.systemtap: fixup build with gcc12 2023-02-01 16:53:31 +01:00
Vladimír Čunát
9cf461a645 rr: fix build with new linuxHeaders
/cc PR #194199 which updated linuxHeaders
2022-10-20 18:07:15 +02:00
Artturin
f4ea1208ec treewide: *Flags convert to list from str
*Flags implies a list

slightly relevant:
> stdenv: start deprecating non-list configureFlags https://github.com/NixOS/nixpkgs/pull/173172

the makeInstalledTests function in `nixos/tests/installed-tests/default.nix` isn't available outside of nixpkgs so
it's not a breaking change
2022-10-10 15:30:59 +03:00
Sandro
d07c45feb5 Merge pull request #191808 from groves/rr-aarch64 2022-09-29 13:45:56 +02:00
Charlie Groves
b92bdaf21c rr: enable on aarch64-linux and disable on non-linux
According to https://github.com/rr-debugger/rr#system-requirements, rr only
works on Linux and works on aarch64 as of 5.6
2022-09-24 12:33:36 -04:00
Azat Bahawi
d6496a13ef rr-unstable: remove 2022-09-17 15:51:17 +03:00
Vladimír Čunát
2ea1a7a7c9 rr: 5.5.0 -> 5.6.0
https://github.com/rr-debugger/rr/releases/tag/5.6.0

This fixes the build, probably after linuxHeaders update.  Probably via
https://github.com/rr-debugger/rr/commit/20e0c1531ea99eed85e0041ccfb638
but the release announcement seemed quite "safe" so I chose update.
2022-08-08 16:57:18 +02:00
Thomas Gerbet
363c5dc7f2 rr-unstable: unstable-2021-07-06 -> unstable-2022-05-12 2022-05-13 13:30:44 +02:00
Mauricio Collares
ad97a48855 rr: disable LTO and build with current stdenv 2022-04-24 11:36:35 +02:00
Alyssa Ross
7aa9186ae4 linuxPackages.rr-zen_workaround: mark x86_64-only
This will stop Hydra trying to build it for aarch64.
2021-11-06 11:41:30 -07:00
R. Ryantm
16fe79eaf6 rr: 5.4.0 -> 5.5.0 2021-10-29 02:19:10 +00:00
Vladimír Čunát
cd1b1ad03b linuxPackages.rr-zen_workaround: set meta.broken
... on kernels that are too old for the code to build.
I could have thought of this straight away.
2021-10-26 13:29:49 +02:00
Vladimír Čunát
3ef942befe linuxPackages.rr-zen_workaround: init at 2020-09-22 2021-09-20 17:28:26 +02:00
Scott Olson
2e9dd407b8 rr-unstable: 2020-10-04 -> 2021-07-06
It seems like the original reason for the rr-unstable package has gone
stale, and there has been a proper release (5.4.0) since it was made.
However, it has now been over 8 months since a release again, so I
figured I would repurpose rr-unstable.

I personally need the following unreleased commit to be able to use rr
at all on an AMD Ryzen 5900X CPU:

854b51effa
2021-07-06 23:58:53 +01:00
Ivan Jager
b60b4023d7 rr: Build with gcc9
To work around linking errors with gcc10

    src/AddressSpace.cc:1632: undefined reference to `rr_syscall_addr'

Fixes #110756
2021-01-26 06:21:19 -06:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Ben Siraphob
b04fc593e7 treewide: cmake buildInputs to nativeBuildInputs, minor cleanups 2021-01-01 11:52:33 +07:00
R. RyanTM
67a986a44a rr: 5.3.0 -> 5.4.0 2020-11-12 00:52:25 +00:00
deliciouslytyped
eaf756639f rr: 5.3.0 +> 9ff37581 add rr-unstable until a new rr release is made 2020-10-04 23:27:08 +02:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Maximilian Bosch
8045baf09d rr: 5.2.0 -> 5.3.0, fix build w/glibc-2.30 2020-01-23 00:21:21 +01:00
Langston Barrett
e1456b291c rr: include gdb as a propagated input 2019-11-30 18:59:47 -05:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Renaud
17c96ab275 rr: build according to C++14 standard
Avoid breaking the build with capnproto >= 0.7.0
2018-10-21 16:18:36 +02:00