nix-monitored
nix-monitored copied to clipboard
A transparent wrapper around Nix that pipes its output through Nix Output Monitor
Specifically how to set up the module.
Currently nix-monitored converts `nix run ` to `nix build && nix run `. This breaks for flake `apps` outputs, where what we should actually build is `.program`.
Any script that uses the nix-shell shebang when `nix.monitored.enable = true;` is interpreted as a Nix expression instead of the chosen interpreter. For example, the following script: ```sh #! /usr/bin/env...