Update flake.lock files and add helper script
This commit is contained in:
parent
7a7d428131
commit
ac533001c5
|
@ -1,6 +1,9 @@
|
|||
# Nix flake templates for easy dev environments
|
||||
|
||||
```shell
|
||||
# Elixir
|
||||
nix flake init --template github:the-nix-way/dev-templates#elixir
|
||||
|
||||
# Gleam
|
||||
nix flake init --template github:the-nix-way/dev-templates#gleam
|
||||
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1657982260,
|
||||
"narHash": "sha256-k9hwUbpgBmIipH2ZkRS5BpqLKbQYLiB0ewI+e9HHK0I=",
|
||||
"lastModified": 1659041591,
|
||||
"narHash": "sha256-kKoy3tDZl3w0GuVlvJ6W/ERGRqeXy2+IGXL9g1a3F68=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2d2bf29c02bfd0fc0cafb613c6b49d3e6c0d6361",
|
||||
"rev": "ab0794b1ae2756411d176dd5b82843a4ae56fe6e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1657577542,
|
||||
"narHash": "sha256-tJnYrGTswnCtz8hXR24y4sZ7d+kgZ7UshnFBcrDjFkU=",
|
||||
"lastModified": 1659041591,
|
||||
"narHash": "sha256-kKoy3tDZl3w0GuVlvJ6W/ERGRqeXy2+IGXL9g1a3F68=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "0a1978fbe48b8bd08be138507e9dade26e5778b8",
|
||||
"rev": "ab0794b1ae2756411d176dd5b82843a4ae56fe6e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1657577542,
|
||||
"narHash": "sha256-tJnYrGTswnCtz8hXR24y4sZ7d+kgZ7UshnFBcrDjFkU=",
|
||||
"lastModified": 1659041591,
|
||||
"narHash": "sha256-kKoy3tDZl3w0GuVlvJ6W/ERGRqeXy2+IGXL9g1a3F68=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "0a1978fbe48b8bd08be138507e9dade26e5778b8",
|
||||
"rev": "ab0794b1ae2756411d176dd5b82843a4ae56fe6e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -32,11 +32,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1657577542,
|
||||
"narHash": "sha256-tJnYrGTswnCtz8hXR24y4sZ7d+kgZ7UshnFBcrDjFkU=",
|
||||
"lastModified": 1659041591,
|
||||
"narHash": "sha256-kKoy3tDZl3w0GuVlvJ6W/ERGRqeXy2+IGXL9g1a3F68=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "0a1978fbe48b8bd08be138507e9dade26e5778b8",
|
||||
"rev": "ab0794b1ae2756411d176dd5b82843a4ae56fe6e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -74,11 +74,11 @@
|
|||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1657507721,
|
||||
"narHash": "sha256-FtV5D35ikz7zvhBX66Bs3VKd/GDyIVA+WQzqkR1PS0E=",
|
||||
"lastModified": 1658976490,
|
||||
"narHash": "sha256-L2zf+ertc3WoKuiZatEHiFlrwN049EXapEoIiTS3J78=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "1a133f54a0229af8310879eac2c4a82c0576a0b9",
|
||||
"rev": "bca9a9b96146145147540b890b4f9393d456e5bb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
9
update.sh
Executable file
9
update.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
for dir in `ls -d */`; do # Iterate through all the templates
|
||||
(
|
||||
cd $dir
|
||||
nix flake update # Update flake.lock
|
||||
direnv reload # Make sure things work after the update
|
||||
)
|
||||
done
|
|
@ -17,11 +17,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1657982260,
|
||||
"narHash": "sha256-k9hwUbpgBmIipH2ZkRS5BpqLKbQYLiB0ewI+e9HHK0I=",
|
||||
"lastModified": 1659041591,
|
||||
"narHash": "sha256-kKoy3tDZl3w0GuVlvJ6W/ERGRqeXy2+IGXL9g1a3F68=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2d2bf29c02bfd0fc0cafb613c6b49d3e6c0d6361",
|
||||
"rev": "ab0794b1ae2756411d176dd5b82843a4ae56fe6e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
Loading…
Reference in a new issue