help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help packaging R Quarto Cli


From: Wojtek Kosior
Subject: Re: Help packaging R Quarto Cli
Date: Mon, 24 Oct 2022 20:40:24 +0200

> Well, after a quick look I think it is not easy to package because it is
> TypeScript and the story between JavaScript and Guix is not really
> smooth. :-)

Out of curiosity - what are the problems between Guix and JS? When I
read this my first suspicion was that maybe TS is a self-hosted
language and cannot be bootstrapped. However, when I ran `guix search
typescript`, it revealed the existence of some TS->JS compiler called
'rust-swc'. So I guess problems lie somewhere else, right?

Best,
Wojtek

-- (sig_start)
website: https://koszko.org/koszko.html
PGP: https://koszko.org/key.gpg
fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A

Meet Kraków saints!           #37: blessed Michał Tomaszek
Poznaj świętych krakowskich!  #37: błogosławiony Michał Tomaszek
https://pl.wikipedia.org/wiki/Michał_Tomaszek
-- (sig_end)


On Mon, 24 Oct 2022 19:08:26 +0200
zimoun <zimon.toutoune@gmail.com> wrote:

> Hi Sébastien,
> 
> On lun., 24 oct. 2022 at 13:43, Sébastien Rey-Coyrehourcq 
> <sebastien.rey-coyrehourcq@univ-rouen.fr> wrote:
> 
> > I’m trying to package Quarto Cli (
> > <https://github.com/quarto-dev/quarto-cli> ), used in combination with
> > Pandoc to publish -reproducible- scientific document : website, blog,
> > etc.  
> 
> Well, after a quick look I think it is not easy to package because it is
> TypeScript and the story between JavaScript and Guix is not really
> smooth. :-)
> 
> 
> > I first think this is a classic gnu build : ./configure && make &&
> > make install BUT, there is a problem because the ./configure script
> > bootstrap “Deno” during the run of configure.sh.  
> 
> Assuming “Deno“ (a modern runtime for JavaScript and TypeScript written
> in Rust) is packaged by Guix, the build system for packaging Quarto
> would not clear to me.
> 
> 
> > Because this download and compilation of Deno occur during
> > ./configure.sh running, guix cannot patch the  #!/bin/bash path, so
> > ./configure failed. Deno seems also not packaged into guix.
> >
> > Do you have an idea to resolve this ? Perhaps we could try all
> > together to do this.  
> 
> Hum, maybe package deno. ;-)  Well, 
> 
>     guix import crate deno -r
> 
> is a starting point.  But Deno, neither Quarto, are easy to package for
> Guix.
> 
> 
> Cheers,
> simon
> 


Attachment: pgpYoxJ3XJK9B.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]