1
0
Fork 0
nixredo/nixredo-whichdo

4 lines
106 B
Bash

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