Show diff between revisions (Add nix profile method)
This commit is contained in:
parent
efc9219a95
commit
67f7a6e6c0
1 changed files with 7 additions and 0 deletions
|
@ -11,6 +11,13 @@ nixos-rebuild switch --flake flake_path_directory#hostname
|
||||||
nix flake update --extra-experimental-features "nix-command flakes"
|
nix flake update --extra-experimental-features "nix-command flakes"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Show changements between revisions
|
||||||
|
|
||||||
|
|
||||||
|
```bash
|
||||||
|
nix profile diff-closures --profile /nix/var/nix/profiles/system
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
nix store diff-closures /nix/var/nix/profiles/system-rev1-link /nix/var/nix/profiles/system-rev2-link
|
nix store diff-closures /nix/var/nix/profiles/system-rev1-link /nix/var/nix/profiles/system-rev2-link
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue