linuxPackages.perf -> perf (upstream nixpkgs name change)
This commit is contained in:
@@ -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";
|
||||||
|
@@ -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.
|
||||||
|
Reference in New Issue
Block a user