linuxPackages.perf -> perf (upstream nixpkgs name change)

This commit is contained in:
2025-09-09 05:19:59 +00:00
parent eb4b4b31cf
commit 18a045c000
2 changed files with 2 additions and 2 deletions

View File

@@ -125,7 +125,7 @@ let
profile = static-nix-shell.mkYsh { profile = static-nix-shell.mkYsh {
pname = "sane-profile"; pname = "sane-profile";
srcRoot = ./src; srcRoot = ./src;
pkgs = [ "flamegraph" "linuxPackages.perf" ]; pkgs = [ "flamegraph" "perf" ];
}; };
rcp = static-nix-shell.mkBash { rcp = static-nix-shell.mkBash {
pname = "sane-rcp"; pname = "sane-rcp";

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell #!/usr/bin/env nix-shell
#!nix-shell -i ysh -p flamegraph -p linuxPackages.perf -p oils-for-unix #!nix-shell -i ysh -p flamegraph -p oils-for-unix -p perf
# use like `sane-profile some-command --which-takes-a flag`. # use like `sane-profile some-command --which-takes-a flag`.
# will render a .html file showing the hot-path functions inside the command. # will render a .html file showing the hot-path functions inside the command.