/usr/bin/drift-ghc is in drift 2.2.3-2.3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #!/bin/sh
if [ -z "$1" -o -z "$2" -o -z "$3" ]; then
cat <<EOF
This is a driver script allowing DrIFT to be used seamlessly with ghc.
in order to use it, pass '-pgmF drift-ghc -F' to ghc when compiling your
programs.
EOF
exit 1;
fi
prefix=/usr
exec_prefix=${prefix}
if grep -q '{-!' "$2"; then
    echo ${exec_prefix}/bin/DrIFT "$2" -o "$3";
    ${exec_prefix}/bin/DrIFT "$2" -o "$3";
else
    echo "{-# LINE 1 \"$1\" #-}" > "$3"
    cat "$2" >> "$3";
fi
 |