mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-31 04:04:45 +00:00
treewide: point to the new GitHub organization
(cherry picked from commit ce5a3b9db9
)
This commit is contained in:
parent
c172f50b55
commit
6c3563897b
7 changed files with 10 additions and 10 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -40,7 +40,7 @@ jobs:
|
|||
nix_path: nixpkgs=channel:${{ env.NIXPKGS_BRANCH }}
|
||||
- name: Install channels
|
||||
run: |
|
||||
nix-channel --add https://github.com/LnL7/nix-darwin/archive/${{ env.NIX_DARWIN_BRANCH }}.tar.gz darwin
|
||||
nix-channel --add https://github.com/nix-darwin/nix-darwin/archive/${{ env.NIX_DARWIN_BRANCH }}.tar.gz darwin
|
||||
nix-channel --add https://nixos.org/channels/${{ env.NIXPKGS_BRANCH }} nixpkgs
|
||||
nix-channel --update
|
||||
- name: Install nix-darwin
|
||||
|
|
|
@ -189,7 +189,7 @@
|
|||
|
||||
Use a channel for nix-darwin or configure nix.nixPath
|
||||
|
||||
sudo nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin
|
||||
sudo nix-channel --add https://github.com/nix-darwin/nix-darwin/archive/master.tar.gz darwin
|
||||
sudo nix-channel --update
|
||||
|
||||
nix.nixPath =
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# nix-darwin
|
||||
|
||||
This is the 24.11 release branch of nix-darwin. See [the main readme](https://github.com/LnL7/nix-darwin#readme) for documentation.
|
||||
This is the 24.11 release branch of nix-darwin. See [the main readme](https://github.com/nix-darwin/nix-darwin#readme) for documentation.
|
||||
|
|
|
@ -30,7 +30,7 @@ let
|
|||
declarations = map
|
||||
(decl:
|
||||
if lib.hasPrefix (toString prefix) (toString decl) then
|
||||
gitHubDeclaration "LnL7" "nix-darwin" revision
|
||||
gitHubDeclaration "nix-darwin" "nix-darwin" revision
|
||||
(lib.removePrefix "/"
|
||||
(lib.removePrefix (toString prefix) (toString decl)))
|
||||
# TODO: handle this in a better way (may require upstream
|
||||
|
|
|
@ -37,7 +37,7 @@ assert enableNixpkgsReleaseCheck -> checkRelease lib || throw ''
|
|||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/NIXPKGS-BRANCH";
|
||||
nix-darwin.url = "github:LnL7/nix-darwin/NIX-DARWIN-BRANCH";
|
||||
nix-darwin.url = "github:nix-darwin/nix-darwin/NIX-DARWIN-BRANCH";
|
||||
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
|
||||
# …
|
||||
};
|
||||
|
@ -46,7 +46,7 @@ assert enableNixpkgsReleaseCheck -> checkRelease lib || throw ''
|
|||
|
||||
$ sudo nix-channel --list
|
||||
nixpkgs https://nixos.org/channels/NIXPKGS-BRANCH
|
||||
darwin https://github.com/LnL7/nix-darwin/archive/NIX-DARWIN-BRANCH.tar.gz
|
||||
darwin https://github.com/nix-darwin/nix-darwin/archive/NIX-DARWIN-BRANCH.tar.gz
|
||||
…
|
||||
$ nix-channel --list
|
||||
…
|
||||
|
@ -58,12 +58,12 @@ assert enableNixpkgsReleaseCheck -> checkRelease lib || throw ''
|
|||
You can then fix your channels like this:
|
||||
|
||||
$ sudo nix-channel --add https://nixos.org/channels/NIXPKGS-BRANCH nixpkgs
|
||||
$ sudo nix-channel --add https://github.com/LnL7/nix-darwin/archive/NIX-DARWIN-BRANCH.tar.gz darwin
|
||||
$ sudo nix-channel --add https://github.com/nix-darwin/nix-darwin/archive/NIX-DARWIN-BRANCH.tar.gz darwin
|
||||
$ sudo nix-channel --update
|
||||
|
||||
After that, activating your system again should work correctly. If it
|
||||
doesn’t, please open an issue at
|
||||
<https://github.com/LnL7/nix-darwin/issues/new> and include as much
|
||||
<https://github.com/nix-darwin/nix-darwin/issues/new> and include as much
|
||||
information as possible.
|
||||
'';
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-24.11-darwin";
|
||||
nix-darwin.url = "github:LnL7/nix-darwin/nix-darwin-24.11";
|
||||
nix-darwin.url = "github:nix-darwin/nix-darwin/nix-darwin-24.11";
|
||||
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
|
|
|
@ -226,7 +226,7 @@ let
|
|||
if ! test -e "$darwinPath"; then
|
||||
echo "[1;31merror: Changed <darwin> but target does not exist, aborting activation[0m" >&2
|
||||
echo "Add the darwin repo as a channel or set nix.nixPath:" >&2
|
||||
echo "$ sudo nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin" >&2
|
||||
echo "$ sudo nix-channel --add https://github.com/nix-darwin/nix-darwin/archive/master.tar.gz darwin" >&2
|
||||
echo "$ sudo nix-channel --update" >&2
|
||||
echo >&2
|
||||
echo "or set" >&2
|
||||
|
|
Loading…
Add table
Reference in a new issue