<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=FAQ%2Fnixpkgs</id>
	<title>FAQ/nixpkgs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=FAQ%2Fnixpkgs"/>
	<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=FAQ/nixpkgs&amp;action=history"/>
	<updated>2026-05-17T05:48:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.0</generator>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=FAQ/nixpkgs&amp;diff=21246&amp;oldid=prev</id>
		<title>SigmaSquadron: FAQ Breadcrumb</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=FAQ/nixpkgs&amp;diff=21246&amp;oldid=prev"/>
		<updated>2025-04-17T17:05:45Z</updated>

		<summary type="html">&lt;p&gt;FAQ Breadcrumb&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:05, 17 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{FAQ/breadcrumb}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Question: When I do an &amp;lt;code&amp;gt;import &amp;lt;nixpkgs&amp;gt; {}&amp;lt;/code&amp;gt;, which &amp;#039;&amp;#039;channel&amp;#039;&amp;#039; or path gets imported.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Question: When I do an &amp;lt;code&amp;gt;import &amp;lt;nixpkgs&amp;gt; {}&amp;lt;/code&amp;gt;, which &amp;#039;&amp;#039;channel&amp;#039;&amp;#039; or path gets imported.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-7823:rev-21246:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>SigmaSquadron</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=FAQ/nixpkgs&amp;diff=7823&amp;oldid=prev</id>
		<title>imported&gt;Asdf8dfafjk: Added an IRC conversation with srhb (Sarah Brofeidt)</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=FAQ/nixpkgs&amp;diff=7823&amp;oldid=prev"/>
		<updated>2020-07-19T08:05:05Z</updated>

		<summary type="html">&lt;p&gt;Added an IRC conversation with srhb (Sarah Brofeidt)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Question: When I do an &amp;lt;code&amp;gt;import &amp;lt;nixpkgs&amp;gt; {}&amp;lt;/code&amp;gt;, which &amp;#039;&amp;#039;channel&amp;#039;&amp;#039; or path gets imported.&lt;br /&gt;
&lt;br /&gt;
Answer: &lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;nix repl &amp;#039;&amp;lt;nixpkgs&amp;gt;&amp;#039; &amp;lt;/code&amp;gt; on shell and then enter &amp;lt;code&amp;gt;path&amp;lt;/code&amp;gt; in the repl to know what nixpkgs is currently being used. &lt;br /&gt;
&lt;br /&gt;
Nix tools use &amp;lt;code&amp;gt;$NIX_PATH &amp;lt;/code&amp;gt; to decide which path to use in the &amp;lt;code&amp;gt; import &amp;lt;/code&amp;gt; call. The first entry in that variable is typically &amp;lt;code&amp;gt; &amp;lt;userhome&amp;gt;/.nix-defexpr/channels &amp;lt;/code&amp;gt;. If a user has explicitly added a channel named &amp;lt;code&amp;gt;nixpkgs&amp;lt;/code&amp;gt;, then that channel is used in the &amp;lt;code&amp;gt;import &amp;lt;nixpkgs&amp;gt;&amp;lt;/code&amp;gt; call. Otherwise, the &amp;lt;code&amp;gt;nixpkgs=&amp;lt;/code&amp;gt; named entry is used for the &amp;lt;code&amp;gt;import &amp;lt;nixpkgs&amp;gt; &amp;lt;/code&amp;gt; call. &lt;br /&gt;
&lt;br /&gt;
Some tools don&amp;#039;t fully respect &amp;lt;code&amp;gt;$NIX_PATH &amp;lt;/code&amp;gt; and instead search &amp;lt;code&amp;gt;~/.nix-defexpr&amp;lt;/code&amp;gt; so there might be some unexpected behavior.&lt;/div&gt;</summary>
		<author><name>imported&gt;Asdf8dfafjk</name></author>
	</entry>
</feed>