diff --git a/README.md b/README.md index b9e85b0..e86db2b 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/gleam/flake.lock b/gleam/flake.lock index 04c22b1..26c4e97 100644 --- a/gleam/flake.lock +++ b/gleam/flake.lock @@ -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": { diff --git a/go1.17/flake.lock b/go1.17/flake.lock index a25beee..26c4e97 100644 --- a/go1.17/flake.lock +++ b/go1.17/flake.lock @@ -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": { diff --git a/go1.18/flake.lock b/go1.18/flake.lock index a25beee..26c4e97 100644 --- a/go1.18/flake.lock +++ b/go1.18/flake.lock @@ -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": { diff --git a/rust/flake.lock b/rust/flake.lock index d213f05..c56572c 100644 --- a/rust/flake.lock +++ b/rust/flake.lock @@ -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": { diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..c33c3e1 --- /dev/null +++ b/update.sh @@ -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 diff --git a/zig/flake.lock b/zig/flake.lock index 04c22b1..26c4e97 100644 --- a/zig/flake.lock +++ b/zig/flake.lock @@ -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": {