guix-devel
[Top][All Lists]
Advanced

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

Want help with writing package recipe


From: Joshua Branson
Subject: Want help with writing package recipe
Date: Thu, 06 Mar 2014 18:03:47 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

    Hello,

I'm trying to write a recipe to install GNU typist: http://www.gnu.org/software/gtypist/

Just to be clear, one cannot install gtypist with "guix package -i gtypist", because guix does not currently have a recipe for gtypist.

Anyway, I used guix download <path to tarball> to download the tarball for gtypist. It is stored locally on my machine in this path:
    /nix/store/lzxd537h0plmskizrldx6lmpyacl2d40-gtypist-2.9.4.tar.gz

I used guix hash -f base32 to export the base32 hash, which is: i5q225g6twsg5egicgpt6ub7hn4m7pdzg56hwxx57jm4o4ns5fgq

I've written a recipe for gtypist located here: http://pastebin.com/ysLHJUWg

But now, I'm stuck. I'm not sure how to tell guix to run the recipe. Guix's documentation says that the command "guix build options package-or-derivation" will build the package into a binary that I can run on my machine. I can't say "guix build gtypist", because guix does not currently have a recipe to build gtypist, and I can't say "guix build options /path/to/gtypist.dri", because there is not a derivation file on my machine for gtypist.

What do I do next to build this package? How do I submit a patch when I get it working?

    Thanks,

    Joshua



reply via email to

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