zimoun <zimon.touto...@gmail.com> writes:
> Hi Sébastien, > > On lun., 24 oct. 2022 at 13:43, Sébastien Rey-Coyrehourcq > <sebastien.rey-coyrehou...@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 There is a channel for free software that is not easily bootstrappable that this might be suitable for: https://github.com/guix-science/guix-science That is where RStudio is packaged for example.