git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #49918 from cocreature/agda-env

agda: use writeShellScriptbin instead of writeScriptBin

commit2da30b1384147915922091fa17ce18fc9d0d6a8d authorDmitry Kalinkin <dmitry.kalinkin@gmail.com> dateFri 7 Dec 2018, 21:48 (8 years ago) parent0e8e02e3b6de72
1 file changed+3−3
pkgs/build-support/agda/default.nix+3−3
pkgs/build-support/agda/default.nix+3−3
@@ -3,7 +3,7 @@
33# Contact: stdenv.lib.maintainers.fuuzetsu
44
55{ stdenv, Agda, glibcLocales
6−, writeScriptBin
6+, writeShellScriptBin
77, extension ? (self: super: {})
88}:
99
@@ -77,8 +77,8 @@ let
7777 buildInputs = let
7878 # Makes a wrapper available to the user. Very useful in
7979 # nix-shell where all dependencies are -i'd.
80− agdaWrapper = writeScriptBin "agda" ''
81− ${self.agdaWithArgs} "$@"
80+ agdaWrapper = writeShellScriptBin "agda" ''
81+ exec ${self.agdaWithArgs} "$@"
8282 '';
8383 in [agdaWrapper] ++ self.buildDepends;
8484 };