perlPackages.SQLTranslator: fix scripts shebang
(cherry picked from commit cc4f71d619ddf6d33da203af3881da9a28b5421e)
This commit is contained in:
parent
935e4fafbb
commit
f344d8ba41
@ -18804,6 +18804,18 @@ let
|
|||||||
};
|
};
|
||||||
buildInputs = [ FileShareDirInstall JSONMaybeXS TestDifferences TestException XMLWriter YAML ];
|
buildInputs = [ FileShareDirInstall JSONMaybeXS TestDifferences TestException XMLWriter YAML ];
|
||||||
propagatedBuildInputs = [ CarpClan DBI FileShareDir Moo PackageVariant ParseRecDescent TryTiny ];
|
propagatedBuildInputs = [ CarpClan DBI FileShareDir Moo PackageVariant ParseRecDescent TryTiny ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs script
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||||
|
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||||
|
for file in $out/bin/*; do
|
||||||
|
shortenPerlShebang $file
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "SQL DDL transformations and more";
|
description = "SQL DDL transformations and more";
|
||||||
license = with lib.licenses; [ artistic1 gpl1Plus ];
|
license = with lib.licenses; [ artistic1 gpl1Plus ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user