Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nix
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 906d56a96b44
Choose a base ref
...
head repository: NixOS/nix
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ab4dd1d78306
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jul 16, 2018

  1. nix-channel documentation: don't suggest deprecated function

    Running `nix-instantiate --eval -E '(import <nixpkgs> {}).lib.nixpkgsVersion` emits a warning
    ```
    trace: `lib.nixpkgsVersion` is deprecated, use `lib.version` instead!
    ```
    Taneb authored Jul 16, 2018
    Copy the full SHA
    41f38fb View commit details

Commits on Oct 17, 2019

  1. Merge pull request #2291 from Taneb/master

    nix-channel documentation: don't suggest deprecated function
    edolstra authored Oct 17, 2019
    Copy the full SHA
    ab4dd1d View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/manual/command-ref/nix-channel.xml
4 changes: 2 additions & 2 deletions doc/manual/command-ref/nix-channel.xml
Original file line number Diff line number Diff line change
@@ -111,13 +111,13 @@ $ nix-env -iA nixpkgs.hello</screen>
<para>You can revert channel updates using <option>--rollback</option>:</para>

<screen>
$ nix-instantiate --eval -E '(import &lt;nixpkgs> {}).lib.nixpkgsVersion'
$ nix-instantiate --eval -E '(import &lt;nixpkgs> {}).lib.version'
"14.04.527.0e935f1"

$ nix-channel --rollback
switching from generation 483 to 482

$ nix-instantiate --eval -E '(import &lt;nixpkgs> {}).lib.nixpkgsVersion'
$ nix-instantiate --eval -E '(import &lt;nixpkgs> {}).lib.version'
"14.04.526.dbadfad"
</screen>