~xerool/fennel-ls

3 2

fennel-ls no longer builds in nix

Details
Message ID
<8609D81C-9059-439E-B384-CE60F62BD4B0@getmailspring.com>
Sender timestamp
1741359007
DKIM signature
pass
Download raw message
Hi,

The nix scripts included in repo can no longer build fennel-ls. Logs:

    > Running phase: buildPhase
    > build flags:
SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash PREFIX=\$\(out\)
    > echo "#!/usr/bin/env lua" > fennel-ls
    > lua fennel --add-package-path "deps/?.lua" --add-fennel-path
"src/?.fnl;deps/?.fnl" --skip-include fennel.compiler
--require-as-include \
    >      --compile src/fennel-ls.fnl >> fennel-ls
    > chmod 755 fennel-ls
    > Running phase: installPhase
    > install flags:
SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash
PREFIX=\$\(out\) install
    > echo ".TH FENNEL-LS 1" > build/fennel-ls.1
    > /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash:
line 1: build/fennel-ls.1: No such file or directory
    > make: *** [Makefile:56: build/fennel-ls.1] Error 1

Regards,
Yuxuan Shui
Details
Message ID
<87r038eqhd.fsf@asthra>
In-Reply-To
<8609D81C-9059-439E-B384-CE60F62BD4B0@getmailspring.com> (view parent)
Sender timestamp
1741337171
DKIM signature
pass
Download raw message
Yuxuan Shui <yshuiv7@gmail.com> writes:

> The nix scripts included in repo can no longer build fennel-ls. Logs:

Thanks for letting us know, but unfortunately I don't know what any of
that means. It will probably need to be fixed by a nix user.

Honestly keeping the packaging scripts in the main repository is a
little weird; I don't think it's a good idea to give the impression that
those packaging scripts are maintained or endorsed.

They should probably be moved to a separate repo like the packaging for
every other distro.

-Phil
Details
Message ID
<CAGqt0zz9cWj6yUHFgxhHyyT3GnZ6bFHn5xsO3rNxJhuVgsEW8A@mail.gmail.com>
In-Reply-To
<87r038eqhd.fsf@asthra> (view parent)
Sender timestamp
1741448805
DKIM signature
pass
Download raw message
Hi,

On Fri, Mar 7, 2025 at 4:48 PM Phil Hagelberg <phil@hagelb.org> wrote:
>
> Yuxuan Shui <yshuiv7@gmail.com> writes:
>
> > The nix scripts included in repo can no longer build fennel-ls. Logs:
>
> Thanks for letting us know, but unfortunately I don't know what any of
> that means. It will probably need to be fixed by a nix user.
>
> Honestly keeping the packaging scripts in the main repository is a
> little weird; I don't think it's a good idea to give the impression that
> those packaging scripts are maintained or endorsed.
>
> They should probably be moved to a separate repo like the packaging for
> every other distro.

I agree, if it is not maintained then I think including it in the repo will only
give people the wrong impression.

>
> -Phil

--
Regards
Yuxuan Shui
Details
Message ID
<87msdudmjz.fsf@asthra>
In-Reply-To
<CAGqt0zz9cWj6yUHFgxhHyyT3GnZ6bFHn5xsO3rNxJhuVgsEW8A@mail.gmail.com> (view parent)
Sender timestamp
1741523732
DKIM signature
pass
Download raw message
Yuxuan Shui <yshuiv7@gmail.com> writes:

> I agree, if it is not maintained then I think including it in the repo will only
> give people the wrong impression.

I've removed the packaging for nix as well as the unmaintained scripts
for Luarocks.

It would be great if we could find someone who knows and uses luarocks
to handle packaging it in a downstream repository. Unfortunately the
permission system in luarocks.org is not very flexible and it requires
manual intervention from the creator of luarocks to change the owner,
which we did with Fennel itself:

  https://github.com/luarocks/luarocks-site/issues/204

But I'm sure we could work something out if we found a maintainer.

-Phil
Reply to thread Export thread (mbox)