agda: use exec in agdaWrapper

This commit is contained in:
Dmitry Kalinkin 2018-12-07 21:37:19 -05:00
parent 0266996a8d
commit 3b6de72836
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -78,7 +78,7 @@ let
# Makes a wrapper available to the user. Very useful in
# nix-shell where all dependencies are -i'd.
agdaWrapper = writeShellScriptBin "agda" ''
${self.agdaWithArgs} "$@"
exec ${self.agdaWithArgs} "$@"
'';
in [agdaWrapper] ++ self.buildDepends;
};