Merge pull request #49918 from cocreature/agda-env

agda: use writeShellScriptbin instead of writeScriptBin
This commit is contained in:
Dmitry Kalinkin 2018-12-07 21:48:34 -05:00 committed by GitHub
commit 2da30b1384
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
# Contact: stdenv.lib.maintainers.fuuzetsu
{ stdenv, Agda, glibcLocales
, writeScriptBin
, writeShellScriptBin
, extension ? (self: super: {})
}:
@ -77,8 +77,8 @@ let
buildInputs = let
# Makes a wrapper available to the user. Very useful in
# nix-shell where all dependencies are -i'd.
agdaWrapper = writeScriptBin "agda" ''
${self.agdaWithArgs} "$@"
agdaWrapper = writeShellScriptBin "agda" ''
exec ${self.agdaWithArgs} "$@"
'';
in [agdaWrapper] ++ self.buildDepends;
};