writers: fix bug by typo
All checks were successful
checks / check-links (pull_request) Successful in 23s
checks / checks-impure (pull_request) Successful in 1m54s
checks / checks (pull_request) Successful in 2m17s

This commit is contained in:
DavHau 2024-02-27 22:21:42 +07:00
parent 2ccf32c36b
commit e930e14238

View File

@ -1,4 +1,14 @@
{ pkgs, buildPackages, lib, stdenv, libiconv, mkNugetDeps, mkNugetSource, gixy, makeWrapper, }: {
buildPackages,
gixy,
lib,
libiconv,
makeWrapper,
mkNugetDeps,
mkNugetSource,
pkgs,
stdenv,
}:
let let
inherit (lib) inherit (lib)
concatMapStringsSep concatMapStringsSep
@ -6,7 +16,6 @@ let
escapeShellArg escapeShellArg
last last
optionalString optionalString
stringLength
strings strings
types types
; ;
@ -214,7 +223,7 @@ rec {
# If any libraries are specified, ruby.withPackages is used as interpreter, otherwise the "bare" ruby is used. # If any libraries are specified, ruby.withPackages is used as interpreter, otherwise the "bare" ruby is used.
makeRubyWriter = ruby: rubyPackages: buildRubyPackages: name: { libraries ? [], ... } @ args: makeRubyWriter = ruby: rubyPackages: buildRubyPackages: name: { libraries ? [], ... } @ args:
makeScriptWriter ( makeScriptWriter (
(builtins.reamoveAttrs args ["libraries"]) (builtins.removeAttrs args ["libraries"])
// { // {
interpreter = interpreter =
if libraries == [] if libraries == []