Unverified Commit 58687ba9 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

treewide: switch to channels.nixos.org (#462725)

parents 5cfe30d8 c9dc62ed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
#!/usr/bin/env bash
set -e

: ${NIXOS_CHANNELS:=https://nixos.org/channels/}
: ${NIXOS_CHANNELS:=https://channels.nixos.org/}
: ${CHANNELS_NAMESPACE:=refs/heads/channels/}

# List all channels which are currently in the repository which we would
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ nixos-unstable unless explicitly configured to do so.

  imports = [
    # Use postgresql service from nixos-unstable channel.
    # sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable
    # sudo nix-channel --add https://channels.nixos.org/nixos-unstable nixos-unstable
    <nixos-unstable/nixos/modules/services/databases/postgresql.nix>
  ];

+2 −2
Original line number Diff line number Diff line
@@ -35,14 +35,14 @@ The first steps to all these are the same:

    ```ShellSession
    $ nix-channel --list
    nixpkgs https://nixos.org/channels/nixpkgs-unstable
    nixpkgs https://channels.nixos.org/nixpkgs-unstable
    ```

    As that channel gets released without running the NixOS tests, it
    will be safer to use the `nixos-*` channels instead:

    ```ShellSession
    $ nix-channel --add https://nixos.org/channels/nixos-<version> nixpkgs
    $ nix-channel --add https://channels.nixos.org/nixos-<version> nixpkgs
    ```

    Where `<version>` corresponds to the latest version available on [channels.nixos.org](https://channels.nixos.org/).
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ Notable changes and additions for 18.09 include:
  For example

  ```ShellSession
  $ nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgsunstable
  $ nix-channel --add https://channels.nixos.org/nixpkgs-unstable nixpkgsunstable
  $ nix-channel --update
  $ nix-build '<nixpkgsunstable>' -A gitFull
  $ nix run -f '<nixpkgsunstable>' gitFull
+1 −1
Original line number Diff line number Diff line
@@ -318,7 +318,7 @@ in

              ''${pkgs.nix}/bin/nix-env -i ''${concatStringsSep " " (with pkgs; [ nix cacert git openssh ])}

              ''${pkgs.nix}/bin/nix-channel --add https://nixos.org/channels/nixpkgs-unstable
              ''${pkgs.nix}/bin/nix-channel --add https://channels.nixos.org/nixpkgs-unstable
              ''${pkgs.nix}/bin/nix-channel --update nixpkgs
            ''';
            environmentVariables = {
Loading