diff --git a/pkgs/by-name/sane-scripts/package.nix b/pkgs/by-name/sane-scripts/package.nix index bfa5dc53a..724e8567c 100644 --- a/pkgs/by-name/sane-scripts/package.nix +++ b/pkgs/by-name/sane-scripts/package.nix @@ -125,7 +125,7 @@ let profile = static-nix-shell.mkYsh { pname = "sane-profile"; srcRoot = ./src; - pkgs = [ "flamegraph" "linuxPackages.perf" ]; + pkgs = [ "flamegraph" "perf" ]; }; rcp = static-nix-shell.mkBash { pname = "sane-rcp"; diff --git a/pkgs/by-name/sane-scripts/src/sane-profile b/pkgs/by-name/sane-scripts/src/sane-profile index 5920f27eb..2e471a4da 100755 --- a/pkgs/by-name/sane-scripts/src/sane-profile +++ b/pkgs/by-name/sane-scripts/src/sane-profile @@ -1,5 +1,5 @@ #!/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`. # will render a .html file showing the hot-path functions inside the command.