From c26b7ef97cf8b9742a894a8bfe85bbc3c1c11f6d Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 19 Sep 2023 21:00:19 +0900 Subject: [PATCH] test --- lib/sops-nix.nix | 2 +- shell.nix | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/sops-nix.nix b/lib/sops-nix.nix index 05714fb3..04f718d0 100644 --- a/lib/sops-nix.nix +++ b/lib/sops-nix.nix @@ -1,6 +1,6 @@ # Useful to avoid using channels when using legacy nix commands let sops-nix-lock = (builtins.fromJSON (builtins.readFile ../flake.lock)).nodes.sops-nix.locked; in import (fetchTarball { - url = "https://github.com/Mic92/sops-nix/archive/master.tar.gz"; + url = "https://github.com/Mic92/sops-nix/archive/${sops-nix-lock.rev}.tar.gz"; sha256 = sops-nix-lock.narHash; }) \ No newline at end of file diff --git a/shell.nix b/shell.nix index 4db1ac9b..020932c9 100644 --- a/shell.nix +++ b/shell.nix @@ -12,11 +12,12 @@ "${toString ./.}/keys/hosts" "${toString ./.}/keys/users" ]; + nativeBuildInputs = [ pkgs.nix pkgs.home-manager pkgs.git - (pkgs.callPackage sops-nix {}).sops-import-keys-hook + (sops-nix {}).sops-import-keys-hook ]; }; } \ No newline at end of file