Merge pull request #49918 from cocreature/agda-env
agda: use writeShellScriptbin instead of writeScriptBin
This commit is contained in:
commit
2da30b1384
@ -3,7 +3,7 @@
|
|||||||
# Contact: stdenv.lib.maintainers.fuuzetsu
|
# Contact: stdenv.lib.maintainers.fuuzetsu
|
||||||
|
|
||||||
{ stdenv, Agda, glibcLocales
|
{ stdenv, Agda, glibcLocales
|
||||||
, writeScriptBin
|
, writeShellScriptBin
|
||||||
, extension ? (self: super: {})
|
, extension ? (self: super: {})
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -77,8 +77,8 @@ let
|
|||||||
buildInputs = let
|
buildInputs = let
|
||||||
# Makes a wrapper available to the user. Very useful in
|
# Makes a wrapper available to the user. Very useful in
|
||||||
# nix-shell where all dependencies are -i'd.
|
# nix-shell where all dependencies are -i'd.
|
||||||
agdaWrapper = writeScriptBin "agda" ''
|
agdaWrapper = writeShellScriptBin "agda" ''
|
||||||
${self.agdaWithArgs} "$@"
|
exec ${self.agdaWithArgs} "$@"
|
||||||
'';
|
'';
|
||||||
in [agdaWrapper] ++ self.buildDepends;
|
in [agdaWrapper] ++ self.buildDepends;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user