stdenv.lib
some change in the last 24 hours altered the behaviour of st such that it now dies with a non-zero exit code when the shell exits, so kill is now necessary