From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: d3js chord diagrams Date: Sat, 22 Oct 2016 17:42:52 +0000 Message-ID: <20161022174252.GA18720@mail.thebird.nl> References: <87zilxtkvp.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1by0LP-00070r-RH for guix-devel@gnu.org; Sat, 22 Oct 2016 13:44:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1by0LL-0004Vf-HR for guix-devel@gnu.org; Sat, 22 Oct 2016 13:44:31 -0400 Received: from mail.thebird.nl ([95.154.246.10]:35278) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1by0LL-0004Rt-Ch for guix-devel@gnu.org; Sat, 22 Oct 2016 13:44:27 -0400 Content-Disposition: inline In-Reply-To: <87zilxtkvp.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel On Sat, Oct 22, 2016 at 12:09:14AM +0200, Ricardo Wurmus wrote: > Hi Guix, > > I???ve built something: > > http://elephly.net/graph.html Cool! > I???ve downloaded from http://d3js.org/d3.v3.js. (This is not minified > and thus rather large.) In my current implementation the contents of > this file are embedded in the report, because we don???t serve this file > at a well-known location. Is this okay? We probably could use file:// > links, but that requires knowledge about where this file is located. > > If it is okay to bundle d3js with Guix, where should it be installed? > How can graph.scm know about the location of this file after > installation? Should I add the path to d3.v3.js to > ???guix/config.scm.in???? I also want to include JS packages. Was thinking of $profile/lib/js/d3js/ or something so they can be reached by the webserver using one 'static' dir. Pj.