Re: Update Hombrew install instructions on the web site

Thomas Leonard <[email protected]>
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <CAG4opy9__6+FZo_dUxS+uQ+X-C1NQW3ZK9DxVAdk9oAUbrYNxA@mail.gmail.com>
On 2 August 2015 at 20:22, Thomas Leonard <[email protected]> wrote:
> On 2 August 2015 at 20:06, Anders F Björklund <[email protected]> wrote:
>> Thomas Leonard wrote:
>>>>>> And I don't really want to go through the hassle of having to maintain
>>>>>> all the dependencies, and update them if there's new versions etc etc.
>>>>>
>>>>> Yes, this does seem like an annoying requirement.
>>>>
>>>> But seems necessary, like in case of Lwt below ? Should be some way
>>>> to "pin" opam to use the bundled libraries, if it can't stay offline.
>>>
>>> If you delete from opam-repository all the versions you're not using,
>>> it won't have any choice :-)
>>
>> Right, but if I just deleted the remote it didn't find anything at all.
>> Suppose I could do something with the repo, but it is too much hassle.
>
> Would this work?
>
>   export OPAMROOT=/tmp/opam
>   opam init --no-setup
>   opam remote remove default
>   tar cjf opam-empty.tar.bz2 /tmp/opam
>
> The small opam-empty.tar.bz2 could be added to the package. Then, at build-time:
>
>   opam remote add local /path/to/opam-repository
>   opam install 0install
>
> Might have to adjust the paths in "system/config/global-config.config"
> so they don't start /tmp/opam...

This looks interesting (similar to 0export):

  https://github.com/ygrek/opam-bundle

"opam-bundle takes an OPAM package name (target) and creates an
archive with the sources of the package and all its transitive
dependencies along with the shell script to build the target in the
standalone setting."

(note: seems you need to "opam install oasis" first to build the Git version)

It didn't quite work for me when I tested it, though:

  https://github.com/ygrek/opam-bundle/issues/1


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

------------------------------------------------------------------------------
_______________________________________________
Zero-install-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zero-install-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.