Update flake.lock and README

This commit is contained in:
Dave Gallant
2021-03-17 08:06:26 -04:00
parent 9bb8c1509b
commit 35c3cebfd9
2 changed files with 14 additions and 10 deletions

View File

@@ -14,10 +14,14 @@ $ sudo ./nixos-rebuild.sh switch
## Update
`nix flake update` does not update the [flake.lock](./flake.lock). There is an open issue [here](https://github.com/NixOS/nix/issues/3781).
To update `flake.lock`, run:
To update nixpkgs defined in [flake.nix](./flake.nix), run:
```console
$ nix flake update --recreate-lock-file
$ nix flake update
```
If there are updates, they should be reflected in [flake.lock](./flake.lock).
## Pre-commit hooks
Pre-commit hooks are automatically activated when [direnv](https://github.com/direnv/direnv) is installed.

12
flake.lock generated
View File

@@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1615419569,
"narHash": "sha256-+ewB0sQGeoYryWZk2Ww2Lm/5jeqhlYTjGy6zEX2Mm1I=",
"lastModified": 1615943941,
"narHash": "sha256-ocj+ngGSJ0SRHjp3UDH76TQA8XXUxemAQDDJp32k5Rw=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "040ea28e448a93d24540b7cf2eda4b25300c5ab1",
"rev": "920ea74afee92d321a4ff7dc714b165daaad78ec",
"type": "github"
},
"original": {
@@ -38,11 +38,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1615532953,
"narHash": "sha256-SWpaGjrp/INzorEqMz3HLi6Uuk9I0KAn4YS8B4n3q5g=",
"lastModified": 1615797423,
"narHash": "sha256-5NGDZXPQzuoxf/42NiyC9YwwhwzfMfIRrz3aT0XHzSc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "916ee862e87ac5ee2439f2fb7856386b4dc906ae",
"rev": "266dc8c3d052f549826ba246d06787a219533b8f",
"type": "github"
},
"original": {