[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nix-dev
Subject:    Re: [Nix-dev] =?utf-8?q?Source_URL_breakage_=E2=80=93_please_can_we_i?=
From:       Roger Qiu <roger.qiu () matrix ! ai>
Date:       2016-05-08 1:16:59
Message-ID: CA+HLvXnw4pL78VfjnsB4B23Bu9BXL_xrE+zXyxJVcT_Ne95i+A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Its definitely annoying.

There's discussion about it involving ipfs.

One stopgap solution is to rollback just for only that package. You can do
that with nix-env -f on a tar.gz archive of nixpkgs from a commit hash on
github.
On 08/05/2016 10:19 AM, "J. R. Haigh" <james.r.haigh@gmail.com> wrote:

> Dear Nix project leaders,
>         I don't find NixOS to be very deterministic at all, and it's
> nearly always for the same reason: source files on random servers scattered
> across the Internet going walkabouts.
>         Please can we have all source files hosted by the Nix project and
> all source URLs in nixpkgs and nixpkgs-channels replaced or accompanied by
> the Nix-hosted copies. Ideally there should be a way to specify multiple
> URLs for each source file, so both the original and the Nix-hosted
> locations can be specified, as well as any other mirrors if there are any.
>         As for the duration of the hosting, I think that at least every
> release build that goes through Hydra to build live images and such should
> keep hosted files (source or binary alike) indefinitely. Anything that was
> not one of these Hydra builds I don't mind too much if they go missing
> because I nearly always stick to the release builds, but it would still be
> appreciated if all source files could be hosted indefinitely to aid with
> binary searches of regressions or other changes.
>         Better still, if magnet URIs could be specified and Nix would
> support downloading from torrents then it would be very easy to avoid
> breakage due to missing source files.
> ----------------------------------------------------------------
>         In this specific instance, please could someone with commit access
> resolve this breakage a.s.a.p.?:
> https://github.com/NixOS/nixpkgs-channels/blob/nixos-15.09/pkgs/tools/misc/moreutils/default.nix
>         Perhaps it could be done by updating it from 0.57 to 0.58 or by
> finding it on another mirror somewhere. The Debian source archive at
> http://ftp.de.debian.org/debian/pool/main/m/moreutils/ lists 0.47, 0.52,
> and 0.58, but not 0.57. Moreutils is depended on by Mercurial and Mercurial
> is a build dependency of many things, so that one source breakage has
> broken a lot of things from building in the head of the NixOS 15.09 release
> channel branch.
>
> Best regards,
> James R. Haigh.
> --
> Sent from Claws Mail on NixOS.
> _______________________________________________
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>

[Attachment #5 (text/html)]

<p dir="ltr">Its definitely annoying.</p>
<p dir="ltr">There&#39;s discussion about it involving ipfs.</p>
<p dir="ltr">One stopgap solution is to rollback just for only that package. You can \
do that with nix-env -f on a tar.gz archive of nixpkgs from a commit hash on \
github.</p> <div class="gmail_quote">On 08/05/2016 10:19 AM, &quot;J. R. Haigh&quot; \
&lt;<a href="mailto:james.r.haigh@gmail.com">james.r.haigh@gmail.com</a>&gt; \
wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Nix project leaders,<br>  I \
don&#39;t find NixOS to be very deterministic at all, and it&#39;s nearly always for \
the same reason: source files on random servers scattered across the Internet going \
walkabouts.<br>  Please can we have all source files hosted by the Nix project and \
all source URLs in nixpkgs and nixpkgs-channels replaced or accompanied by the \
Nix-hosted copies. Ideally there should be a way to specify multiple URLs for each \
source file, so both the original and the Nix-hosted locations can be specified, as \
well as any other mirrors if there are any.<br>  As for the duration of the hosting, \
I think that at least every release build that goes through Hydra to build live \
images and such should keep hosted files (source or binary alike) indefinitely. \
Anything that was not one of these Hydra builds I don&#39;t mind too much if they go \
missing because I nearly always stick to the release builds, but it would still be \
appreciated if all source files could be hosted indefinitely to aid with binary \
searches of regressions or other changes.<br>  Better still, if magnet URIs could be \
specified and Nix would support downloading from torrents then it would be very easy \
                to avoid breakage due to missing source files.<br>
----------------------------------------------------------------<br>
            In this specific instance, please could someone with commit access \
resolve this breakage a.s.a.p.?: <a \
href="https://github.com/NixOS/nixpkgs-channels/blob/nixos-15.09/pkgs/tools/misc/moreutils/default.nix" \
rel="noreferrer" target="_blank">https://github.com/NixOS/nixpkgs-channels/blob/nixos-15.09/pkgs/tools/misc/moreutils/default.nix</a><br>
  Perhaps it could be done by updating it from 0.57 to 0.58 or by finding it on \
another mirror somewhere. The Debian source archive at <a \
href="http://ftp.de.debian.org/debian/pool/main/m/moreutils/" rel="noreferrer" \
target="_blank">http://ftp.de.debian.org/debian/pool/main/m/moreutils/</a> lists \
0.47, 0.52, and 0.58, but not 0.57. Moreutils is depended on by Mercurial and \
Mercurial is a build dependency of many things, so that one source breakage has \
broken a lot of things from building in the head of the NixOS 15.09 release channel \
branch.<br> <br>
Best regards,<br>
James R. Haigh.<br>
--<br>
Sent from Claws Mail on NixOS.<br>
_______________________________________________<br>
nix-dev mailing list<br>
<a href="mailto:nix-dev@lists.science.uu.nl">nix-dev@lists.science.uu.nl</a><br>
<a href="http://lists.science.uu.nl/mailman/listinfo/nix-dev" rel="noreferrer" \
target="_blank">http://lists.science.uu.nl/mailman/listinfo/nix-dev</a><br> \
</blockquote></div>



_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic