mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
default: expose all the darwin-*
commands
Change `uninstaller` to `darwin-uninstaller` to match flake attribute
This commit is contained in:
parent
d57e74864b
commit
095ba5502c
2 changed files with 5 additions and 2 deletions
|
@ -131,7 +131,8 @@ nix-channel --update
|
||||||
To install `nix-darwin`, you can just run `darwin-rebuild switch` to install nix-darwin. As `darwin-rebuild` won't be installed in your `PATH` yet, you can use the following command:
|
To install `nix-darwin`, you can just run `darwin-rebuild switch` to install nix-darwin. As `darwin-rebuild` won't be installed in your `PATH` yet, you can use the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
nix --extra-experimental-features "nix-command flakes" run nix-darwin -- switch -I darwin-config=$HOME/.config/nix-darwin/configuration.nix
|
nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A darwin-rebuild
|
||||||
|
./result/bin/darwin-rebuild switch -I darwin-config=$HOME/.config/nix-darwin/configuration.nix
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 4. Using `nix-darwin`
|
### Step 4. Using `nix-darwin`
|
||||||
|
|
|
@ -17,5 +17,7 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
eval // {
|
eval // {
|
||||||
uninstaller = pkgs.callPackage ./pkgs/darwin-uninstaller { };
|
darwin-uninstaller = pkgs.callPackage ./pkgs/darwin-uninstaller { };
|
||||||
|
|
||||||
|
inherit (pkgs.callPackage ./pkgs/nix-tools { }) darwin-option darwin-rebuild darwin-version;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue