S2VM7KCVQZTUITAHXHTE36SQKASC7G6PEXGS6SHQPZIEJRX326OQC
# Wrapper for the nix executable to help with interactive demos and gc roots
# - If WRAP_NIX_MAKE_GCROOTS=1 the nix (build|develop|run) commands will add gc roots for their outputs
# - In interactive mode, nix build commands will be run with --rebuild for demonstration purposes, if its output already exists
# Assumptions: invocation is of the form 'nix <action> <flake output> ...'.