Update flake.lock files and add helper script

This commit is contained in:
Luc Perkins 2022-07-29 00:02:49 +02:00
parent 7a7d428131
commit ac533001c5
No known key found for this signature in database
GPG key ID: 4F102D0C16E232F2
7 changed files with 30 additions and 18 deletions

View file

@ -1,6 +1,9 @@
# Nix flake templates for easy dev environments # Nix flake templates for easy dev environments
```shell ```shell
# Elixir
nix flake init --template github:the-nix-way/dev-templates#elixir
# Gleam # Gleam
nix flake init --template github:the-nix-way/dev-templates#gleam nix flake init --template github:the-nix-way/dev-templates#gleam

View file

@ -17,11 +17,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1657982260, "lastModified": 1659041591,
"narHash": "sha256-k9hwUbpgBmIipH2ZkRS5BpqLKbQYLiB0ewI+e9HHK0I=", "narHash": "sha256-kKoy3tDZl3w0GuVlvJ6W/ERGRqeXy2+IGXL9g1a3F68=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2d2bf29c02bfd0fc0cafb613c6b49d3e6c0d6361", "rev": "ab0794b1ae2756411d176dd5b82843a4ae56fe6e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -17,11 +17,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1657577542, "lastModified": 1659041591,
"narHash": "sha256-tJnYrGTswnCtz8hXR24y4sZ7d+kgZ7UshnFBcrDjFkU=", "narHash": "sha256-kKoy3tDZl3w0GuVlvJ6W/ERGRqeXy2+IGXL9g1a3F68=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0a1978fbe48b8bd08be138507e9dade26e5778b8", "rev": "ab0794b1ae2756411d176dd5b82843a4ae56fe6e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -17,11 +17,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1657577542, "lastModified": 1659041591,
"narHash": "sha256-tJnYrGTswnCtz8hXR24y4sZ7d+kgZ7UshnFBcrDjFkU=", "narHash": "sha256-kKoy3tDZl3w0GuVlvJ6W/ERGRqeXy2+IGXL9g1a3F68=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0a1978fbe48b8bd08be138507e9dade26e5778b8", "rev": "ab0794b1ae2756411d176dd5b82843a4ae56fe6e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -32,11 +32,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1657577542, "lastModified": 1659041591,
"narHash": "sha256-tJnYrGTswnCtz8hXR24y4sZ7d+kgZ7UshnFBcrDjFkU=", "narHash": "sha256-kKoy3tDZl3w0GuVlvJ6W/ERGRqeXy2+IGXL9g1a3F68=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0a1978fbe48b8bd08be138507e9dade26e5778b8", "rev": "ab0794b1ae2756411d176dd5b82843a4ae56fe6e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -74,11 +74,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1657507721, "lastModified": 1658976490,
"narHash": "sha256-FtV5D35ikz7zvhBX66Bs3VKd/GDyIVA+WQzqkR1PS0E=", "narHash": "sha256-L2zf+ertc3WoKuiZatEHiFlrwN049EXapEoIiTS3J78=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "1a133f54a0229af8310879eac2c4a82c0576a0b9", "rev": "bca9a9b96146145147540b890b4f9393d456e5bb",
"type": "github" "type": "github"
}, },
"original": { "original": {

9
update.sh Executable file
View 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

View file

@ -17,11 +17,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1657982260, "lastModified": 1659041591,
"narHash": "sha256-k9hwUbpgBmIipH2ZkRS5BpqLKbQYLiB0ewI+e9HHK0I=", "narHash": "sha256-kKoy3tDZl3w0GuVlvJ6W/ERGRqeXy2+IGXL9g1a3F68=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2d2bf29c02bfd0fc0cafb613c6b49d3e6c0d6361", "rev": "ab0794b1ae2756411d176dd5b82843a4ae56fe6e",
"type": "github" "type": "github"
}, },
"original": { "original": {