racket2nix icon indicating copy to clipboard operation
racket2nix copied to clipboard

Problem: generate a pdf from scribble

Open sjmackenzie opened this issue 6 years ago • 2 comments

How does one go about generating a pdf from a scribble document?

sjmackenzie avatar May 25 '19 18:05 sjmackenzie

Ah okay, .overrideAttrs on postInstall phase might do it.

sjmackenzie avatar May 25 '19 18:05 sjmackenzie

If it is in a proper racket package with an info.rkt, and if you call racket -I scheme/init -l- scribble/run.rkt (stolen from the scribble launcher) rather than scribble, it might work -- because installPhase puts the racket configured for the currently building package on $PATH.

clacke avatar May 25 '19 22:05 clacke