about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--flake.nix1
-rw-r--r--justfile10
2 files changed, 10 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 7410e09..38cfada 100644
--- a/flake.nix
+++ b/flake.nix
@@ -6,7 +6,6 @@
     flake-utils.url = "github:numtide/flake-utils";
     pre-commit-hooks = {
       url = "github:cachix/pre-commit-hooks.nix";
-      inputs.flake-utils.follows = "flake-utils";
     };
     gomod2nix = {
       url = "github:nix-community/gomod2nix";
diff --git a/justfile b/justfile
index f5c6682..2e99e03 100644
--- a/justfile
+++ b/justfile
@@ -4,6 +4,16 @@ default:
 prepare:
 	nix build .#css -o frontend/static/base.css
 
+update-go-dependencies:
+	go get -u all
+	go mod tidy
+	gomod2nix
+
+update-nix-dependencies:
+	nix flake update
+
+update-dependencies: update-go-dependencies update-nix-dependencies
+
 checkformat:
 	gofmt -d .
 	goimports -d .