Create a stand-alone builder for a program.
with import <nixpkgs> {};
...
- https://github.com/XAMPPRocky/tokei (Rust)
- https://github.com/thiderman/doge (Python)
- https://dev.yorhel.nl/ncdu (Zig)
- Select the correct builders:
mkDerivation
,pythonPackages.buildPythonPackage
,rustPlatform.buildRustPackage
, … - Use TOFU when fetching the source, set the hash and re-run
- You can define environment variables in the derivation
- Flail around with your arms until I come help you