I want to know how I can inspect packages from nix repl
, this is because occasionally, I would like to do something like this:
powerManagement.powerUpCommands = ''
${pkgs.kmod}/modprobe -r psmouse
${pkgs.kmod}/modprobe psmouse
'';
but then, I wonder if that ${pkgs.kmod}/modprobe
is correct, what if ${pkgs.kmod}/bin/modprobe
is the correct path. How do I perform an inspection and ensure that the binaries I want to use from a package are in the correct location?