Merge pull request 'writers: fix bug by typo' (#883) from DavHau-dave into main
This commit is contained in:
commit
4b3b573e8c
@ -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 == []
|
||||||
|
Loading…
Reference in New Issue
Block a user