guix-devel
[Top][All Lists]
Advanced

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

Packaging "single file"


From: Tanguy Le Carrour
Subject: Packaging "single file"
Date: Mon, 4 Nov 2019 16:04:24 +0100

Hi Guix!

I intended to ask this question later, but now that ungoogled-chromium
has been superseded by icecat, I find myself stuck!

Is it possible to package a single file? The "file" being a bash script or
a binary. Is there a package definition I can look into for an example?

I would do this for:

- A simple script, for instance `rofi-pass` 
(https://github.com/carnager/rofi-pass).
  It is "just" a bash script but has some dependencies that need to be 
installed.
  I could also clone the git repo and move the file I guess…

- A pre-build binary, for instance for `fd` (https://github.com/sharkdp/fd)
  or `geckodriver` 
(https://firefox-source-docs.mozilla.org/testing/geckodriver).

  * I haven't had time (yet) to package `fd` properly, but a binary is
    available for download, so it's tempting to use it. But for a reason I
    don't understand, it doesn't work on Guix System! :-(

  * I use `geckodriver` with Selenium [1] to run user interface tests. I used to
    work with the Firefox driver, but it's not packaged in Guix, so I was 
relying
    on chromium/chrome-driver for my tests. But I can no longer count on this!
    I haven't tried yet, but compiling this from source seems to require "a bit"
    of work. Up to now, I've always downloaded the binary [2].
    But, I guess for the same reason as for `fd`, the binary does not work
    on Guix System.

    [1]: https://docs.seleniumhq.org
    [2]: https://github.com/mozilla/geckodriver/releases

  It might be a complete misunderstanging on my part, but isn't one of the 
phases
  of the packaging in charge of "fixing" the binaries to work on Guix system?

Hope my question makes sense and someone can point me in the right
direction!

-- 
Tanguy



reply via email to

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