mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
deploy: 1b9fe46e9f
This commit is contained in:
parent
0b5d7d32ae
commit
cbfc853a2a
2 changed files with 8 additions and 4 deletions
|
|
@ -879,9 +879,10 @@ functions available in test scripts, you can look at NMT’s
|
|||
</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>,
|
||||
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 system’s nixpkgs,
|
||||
and may cause failures. To run against the nixpkgs from the flake.lock,
|
||||
use instead e.g.</p><pre><code class="programlisting shell">$ nix develop --ignore-environment .#all
|
||||
</code></pre><p>However, those invocations will impurely source the system’s Nixpkgs,
|
||||
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 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>
|
||||
</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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
needed when activating a configuration.</p><p>Further, the <code class="literal">"legacy"</code> alternative has been removed and will now
|
||||
result in an evaluation error if used.</p><p>The <code class="literal">"suggest"</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
|
||||
changes are only active if the <code class="literal">home.stateVersion</code> option is set to
|
||||
"25.05" 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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue