diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-01 15:11:31 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-01 15:11:31 +0100 |
commit | 0a4ccf0c335adeb7770614a065026e396cdeded1 (patch) | |
tree | d1324b7ed93f3fdc3cb2fe0c697c07a7ec607a1a | |
parent | chore(modules/legacy/taskserver/projects): Update (diff) | |
download | nixos-config-0a4ccf0c335adeb7770614a065026e396cdeded1.tar.gz nixos-config-0a4ccf0c335adeb7770614a065026e396cdeded1.zip |
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.
-rwxr-xr-x | modules/by-name/lf/lf/secrets/update_secret.sh | 5 |
1 files changed, 3 insertions, 2 deletions
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() { |