From 5d196ada5de2bbaa3a0a21c0ff594247faa3aa53 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 15 Nov 2021 09:07:18 +0059 Subject: gup update flake.lock --- .gitignore | 3 ++- flake.lock.gup | 6 ++++++ shell.nix | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100755 flake.lock.gup diff --git a/.gitignore b/.gitignore index 2c9847e1..9b72ed73 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ **/result **/result-* **/#*# -**/.#* \ No newline at end of file +**/.#* +**/.gup \ No newline at end of file diff --git a/flake.lock.gup b/flake.lock.gup new file mode 100755 index 00000000..468aae53 --- /dev/null +++ b/flake.lock.gup @@ -0,0 +1,6 @@ +#!/usr/bin/env zsh + +gup --always +nix flake update \ + && nix -L flake check \ + || git restore flake.lock diff --git a/shell.nix b/shell.nix index af0a0e9e..ca0733a6 100644 --- a/shell.nix +++ b/shell.nix @@ -14,5 +14,6 @@ in pkgs.mkShell { nixWithFlakes sops wireguard + gup ]; } -- cgit v1.2.3