From 0a4ccf0c335adeb7770614a065026e396cdeded1 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 1 Nov 2024 15:11:31 +0100 Subject: build(modules/lf/secrets/update_secrets.sh): Migrate to `nix-shell` shebang Lix does not (maybe yet) support the nix3 `nix shell` shebang. Thus, switching to a version supported by both is the obvious choice. --- modules/by-name/lf/lf/secrets/update_secret.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/by-name') diff --git a/modules/by-name/lf/lf/secrets/update_secret.sh b/modules/by-name/lf/lf/secrets/update_secret.sh index b29fdb86..37e8fd10 100755 --- a/modules/by-name/lf/lf/secrets/update_secret.sh +++ b/modules/by-name/lf/lf/secrets/update_secret.sh @@ -1,5 +1,6 @@ -#!/usr/bin/env nix -#! nix shell nixpkgs#age nixpkgs#jq nixpkgs#dash --command dash +#!/usr/bin/env nix-shell +#! nix-shell -i dash --packages age jq dash +#! nix-shell --impure # shellcheck shell=dash cleanup() { -- cgit 1.4.1