1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-07 17:41:03 +01:00
This commit is contained in:
rycee 2025-01-24 23:12:16 +00:00
parent 0b5d7d32ae
commit cbfc853a2a
2 changed files with 8 additions and 4 deletions

View file

@ -879,9 +879,10 @@ functions available in test scripts, you can look at NMTs
</code></pre><p>in the project root. List all test cases through</p><pre><code class="programlisting shell">$ nix-shell --pure tests -A list </code></pre><p>in the project root. List all test cases through</p><pre><code class="programlisting shell">$ nix-shell --pure tests -A list
</code></pre><p>and run an individual test, for example <code class="literal">alacritty-empty-settings</code>, </code></pre><p>and run an individual test, for example <code class="literal">alacritty-empty-settings</code>,
through</p><pre><code class="programlisting shell">$ nix-shell --pure tests -A run.alacritty-empty-settings through</p><pre><code class="programlisting shell">$ nix-shell --pure tests -A run.alacritty-empty-settings
</code></pre><p>However, those invocations will impurely source the systems nixpkgs, </code></pre><p>However, those invocations will impurely source the systems Nixpkgs,
and may cause failures. To run against the nixpkgs from the flake.lock, and may cause failures. To run against the Nixpkgs from the <code class="literal">flake.lock</code> file,
use instead e.g.</p><pre><code class="programlisting shell">$ nix develop --ignore-environment .#all use instead e.g.</p><pre><code class="programlisting shell">$ nix build --reference-lock-file flake.lock ./tests#test-all
</code></pre><p>or</p><pre><code class="programlisting shell">$ nix build --reference-lock-file flake.lock ./tests#test-alacritty-empty-settings
</code></pre> </code></pre>
</div> </div>
</div><div class="part"> <div class="titlepage"> <div> <div> <h1 id="ch-3rd-party" class="title" >Third-Party Tools and Extensions </h1> </div> </div></div><div class="partintro"><p>Here is a collection of tools and extensions that relate to Home </div><div class="part"> <div class="titlepage"> <div> <div> <h1 id="ch-3rd-party" class="title" >Third-Party Tools and Extensions </h1> </div> </div></div><div class="partintro"><p>Here is a collection of tools and extensions that relate to Home

View file

@ -30,7 +30,10 @@ section is therefore not final.</p><div class="section"> <div class="titlepage">
<code class="literal">true</code>, meaning that services will automatically be restarted as <code class="literal">true</code>, meaning that services will automatically be restarted as
needed when activating a configuration.</p><p>Further, the <code class="literal">&quot;legacy&quot;</code> alternative has been removed and will now needed when activating a configuration.</p><p>Further, the <code class="literal">&quot;legacy&quot;</code> alternative has been removed and will now
result in an evaluation error if used.</p><p>The <code class="literal">&quot;suggest&quot;</code> alternative will remain for a while longer but may result in an evaluation error if used.</p><p>The <code class="literal">&quot;suggest&quot;</code> alternative will remain for a while longer but may
also be deprecated for removal in the future.</p></li></ul></div> also be deprecated for removal in the future.</p></li><li class="listitem"><p>The Home Manager test suite has been removed from the main Nix Flake
since it caused unnecessary evaluations and downloads. Instead the
tests are available through a Nix Flake file inside the <code class="literal">tests</code>
directory. See <a class="xref" href="index.xhtml#sec-tests" title="Tests" >the section called “Tests”</a> for example commands.</p></li></ul></div>
</div><div class="section"> <div class="titlepage"> <div> <div> <h2 id="sec-release-25.05-state-version-changes" class="title" style="clear: both">State Version Changes </h2> </div> </div></div><p>The state version in this release includes the changes below. These </div><div class="section"> <div class="titlepage"> <div> <div> <h2 id="sec-release-25.05-state-version-changes" class="title" style="clear: both">State Version Changes </h2> </div> </div></div><p>The state version in this release includes the changes below. These
changes are only active if the <code class="literal">home.stateVersion</code> option is set to changes are only active if the <code class="literal">home.stateVersion</code> option is set to
&quot;25.05&quot; or later.</p><div class="itemizedlist"><ul class="itemizedlist compact" style="list-style-type: disc;"><li class="listitem"><p>No changes.</p></li></ul></div> &quot;25.05&quot; or later.</p><div class="itemizedlist"><ul class="itemizedlist compact" style="list-style-type: disc;"><li class="listitem"><p>No changes.</p></li></ul></div>