feat(grfn/yeren): Install rr
This... mostly works! I had to install it from the latest master branch to get it functioning on my CPU, hopefully once they release a new version I can remove the override. Change-Id: I863d2e822b149838c58aa1c1e7dc73a127a0aeb8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3022 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
773f23e163
commit
46aa62449f
2 changed files with 14 additions and 0 deletions
|
@ -56,6 +56,16 @@ with lib;
|
||||||
lldb
|
lldb
|
||||||
hyperfine
|
hyperfine
|
||||||
clang-tools
|
clang-tools
|
||||||
|
(rr.overrideAttrs (_: rec {
|
||||||
|
version = "f25671d094edac8059cec56b98d7f10f2c740697";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "rr-debugger";
|
||||||
|
repo = "rr";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "149s4mw8vl8d3nx15sfp62z0izp2dibz99k720j75rjnkwk2bq2z";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
}))
|
||||||
|
|
||||||
clj2nix
|
clj2nix
|
||||||
clojure
|
clojure
|
||||||
|
|
|
@ -43,6 +43,10 @@
|
||||||
extraModprobeConfig = ''
|
extraModprobeConfig = ''
|
||||||
options snd-intel-dspcfg dsp_driver=1
|
options snd-intel-dspcfg dsp_driver=1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
kernel.sysctl = {
|
||||||
|
"kernel.perf_event_paranoid" = -1;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
|
|
Loading…
Reference in a new issue