<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Fetchurl on PlumePHP</title><link>https://plumephp.com/tags/fetchurl/</link><description>Recent content in Fetchurl on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Wed, 30 Sep 2026 14:00:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/fetchurl/index.xml" rel="self" type="application/rss+xml"/><item><title>Nix 源码获取与 fetchers：fetchFromGitHub、哈希与私有源</title><link>https://plumephp.com/nix-fetchers-sources/</link><pubDate>Wed, 30 Sep 2026 14:00:00 +0800</pubDate><guid>https://plumephp.com/nix-fetchers-sources/</guid><description>&lt;h2 id="引言"&gt;引言&lt;/h2&gt;
&lt;p&gt;derivation 的第一步永远是&lt;strong&gt;拿到源码&lt;/strong&gt;。Nix 用 fetcher 把「下载」变成「可校验、可复现」的操作：每个 fetcher 都是固定哈希的 derivation，内容确定才能进缓存。本文讲清 fetcher 的选择（URL vs Git vs GitHub）、哈希格式与 SRI、私有仓库与凭据处理、flake inputs 的 url 写法，以及最常见的坑。&lt;/p&gt;</description></item></channel></rss>