* [NTG-context] Has anyone packages the ConTeXt standalone distributon for nixpkgs/NixOS?
@ 2024-08-15 17:31 Mica via ntg-context
2024-08-25 12:09 ` [NTG-context] " Bruce Horrocks
0 siblings, 1 reply; 4+ messages in thread
From: Mica via ntg-context @ 2024-08-15 17:31 UTC (permalink / raw)
To: ntg-context; +Cc: mica
Hello,
I'm wondering if anyone has packaged the ConTeXt standalone for nixpkgs/NixOS and if yes, can you share your derivation?
Thanks!
Best,
Mica
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* [NTG-context] Re: Has anyone packages the ConTeXt standalone distributon for nixpkgs/NixOS?
2024-08-15 17:31 [NTG-context] Has anyone packages the ConTeXt standalone distributon for nixpkgs/NixOS? Mica via ntg-context
@ 2024-08-25 12:09 ` Bruce Horrocks
2024-08-27 18:52 ` Mica via ntg-context
0 siblings, 1 reply; 4+ messages in thread
From: Bruce Horrocks @ 2024-08-25 12:09 UTC (permalink / raw)
To: ntg-context mailing list
> On 15 Aug 2024, at 18:31, Mica via ntg-context <ntg-context@ntg.nl> wrote:
>
> Hello,
>
> I'm wondering if anyone has packaged the ConTeXt standalone for nixpkgs/NixOS and if yes, can you share your derivation?
>
> Thanks!
Hi Mica,
Short answer: no.
Longer answer: I’ve not myself previously compiled the various components that go into ConTeXt so producing a package definition is going to be a lot of work from scratch. If you have a specific target machine in mind (e.g. an x64) then producing a simple nix-shell that mimics a manual install of the pre-built binary might be simpler.
Also, ConTeXt changes frequently. That introduces quite a burden on keeping the Nix package up-to-date unless it can be automated, which in turn is yet more work. If I used Nixos as my daily driver I might consider it, but I don’t.
—
Bruce Horrocks
Hampshire, UK
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* [NTG-context] Re: Has anyone packages the ConTeXt standalone distributon for nixpkgs/NixOS?
2024-08-25 12:09 ` [NTG-context] " Bruce Horrocks
@ 2024-08-27 18:52 ` Mica via ntg-context
2024-09-02 11:50 ` Bruce Horrocks
0 siblings, 1 reply; 4+ messages in thread
From: Mica via ntg-context @ 2024-08-27 18:52 UTC (permalink / raw)
To: Bruce Horrocks, ntg-context mailing list; +Cc: mica
Thanks Bruce. For now I'm just using ConTeXt from TeXLive, which is packaged and is recent enough. I guess some sort of FHSEnv in nix, and then running the install script and patchelf might be enough?
Best,
Mica
August 25, 2024 at 5:09 AM, "Bruce Horrocks" <ntg@scorecrow.com> wrote:
>
> >
> > On 15 Aug 2024, at 18:31, Mica via ntg-context <ntg-context@ntg.nl> wrote:
> >
> >
> >
> > Hello,
> >
> >
> >
> > I'm wondering if anyone has packaged the ConTeXt standalone for nixpkgs/NixOS and if yes, can you share your derivation?
> >
> >
> >
> > Thanks!
> >
>
> Hi Mica,
>
> Short answer: no.
>
> Longer answer: I’ve not myself previously compiled the various components that go into ConTeXt so producing a package definition is going to be a lot of work from scratch. If you have a specific target machine in mind (e.g. an x64) then producing a simple nix-shell that mimics a manual install of the pre-built binary might be simpler.
>
> Also, ConTeXt changes frequently. That introduces quite a burden on keeping the Nix package up-to-date unless it can be automated, which in turn is yet more work. If I used Nixos as my daily driver I might consider it, but I don’t.
>
> —
>
> Bruce Horrocks
>
> Hampshire, UK
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* [NTG-context] Re: Has anyone packages the ConTeXt standalone distributon for nixpkgs/NixOS?
2024-08-27 18:52 ` Mica via ntg-context
@ 2024-09-02 11:50 ` Bruce Horrocks
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Horrocks @ 2024-09-02 11:50 UTC (permalink / raw)
To: mica; +Cc: ntg-context mailing list
> On 27 Aug 2024, at 19:52, mica@silentumbrella.com wrote:
>
> Thanks Bruce. For now I'm just using ConTeXt from TeXLive, which is packaged and is recent enough.
If it helps, I managed to build a Docker image containing LMTX and run that under NixOS.
I’ve added Docker build instructions to the Wiki here:
<https://wiki.contextgarden.net/Installing_ConTeXt_LMTX_into_a_Docker_container>
In order to build that container on NixOS I had to update /etc/nixos/configuration.nix as per the instructions in this StackOverflow answer <https://stackoverflow.com/a/56769456> and then use “nix-shell -p docker”. Thereafter the “docker build ...” etc commands all worked as expected.
HTH
—
Bruce Horrocks
Hampshire, UK
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-02 11:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-15 17:31 [NTG-context] Has anyone packages the ConTeXt standalone distributon for nixpkgs/NixOS? Mica via ntg-context
2024-08-25 12:09 ` [NTG-context] " Bruce Horrocks
2024-08-27 18:52 ` Mica via ntg-context
2024-09-02 11:50 ` Bruce Horrocks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).