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
inherit (lib)
concatMapStringsSep
@ -6,7 +16,6 @@ let
escapeShellArg
last
optionalString
stringLength
strings
types
;
@ -214,7 +223,7 @@ rec {
# If any libraries are specified, ruby.withPackages is used as interpreter, otherwise the "bare" ruby is used.
makeRubyWriter = ruby: rubyPackages: buildRubyPackages: name: { libraries ? [], ... } @ args:
makeScriptWriter (
(builtins.reamoveAttrs args ["libraries"])
(builtins.removeAttrs args ["libraries"])
// {
interpreter =
if libraries == []