about summary refs log tree commit diff stats
path: root/modules/by-name
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-01 15:11:31 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-01 15:11:31 +0100
commit0a4ccf0c335adeb7770614a065026e396cdeded1 (patch)
treed1324b7ed93f3fdc3cb2fe0c697c07a7ec607a1a /modules/by-name
parentchore(modules/legacy/taskserver/projects): Update (diff)
downloadnixos-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.
Diffstat (limited to '')
-rwxr-xr-xmodules/by-name/lf/lf/secrets/update_secret.sh5
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() {