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