Merge pull request 'writers: fix bug by typo' (#883) from DavHau-dave into main
checks / checks (push) Successful in 31s Details
checks / checks-impure (push) Successful in 1m51s Details
checks / check-links (push) Successful in 22s Details

This commit is contained in:
clan-bot 2024-02-27 15:25:28 +00:00
commit 4b3b573e8c
1 changed files with 12 additions and 3 deletions

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 == []