#!/bin/sh PATH="@binPath@:$PATH" f=$(realpath -s "$1") nix eval --impure --expr "with import @libnix@ {}; /. + (whichdo \"$f\")"