summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-29 16:22:32 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-19 17:34:46 +0100
commita0eb6e9ad65cc7040f45d2f8c720882b19e2560e (patch)
tree5da2cd494ce27b28c94ec86d068f3287640a0460
parentfix(system/services/invidious-router): remove_no_ratio = false (diff)
downloadnixos-server-a0eb6e9ad65cc7040f45d2f8c720882b19e2560e.tar.gz
nixos-server-a0eb6e9ad65cc7040f45d2f8c720882b19e2560e.zip
build(system/services/taskserver/certs/generate): Convert to `nix-shell`
Lix does not support the newer `nix shell` shebang.
-rwxr-xr-xsystem/services/taskserver/certs/generate5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/services/taskserver/certs/generate b/system/services/taskserver/certs/generate
index 3d0ebe3..c3b58ae 100755
--- a/system/services/taskserver/certs/generate
+++ b/system/services/taskserver/certs/generate
@@ -1,5 +1,6 @@
-#!/usr/bin/env nix
-#! nix shell nixpkgs#openssl nixpkgs#gnutls nixpkgs#dash --command dash
+#!/usr/bin/env nix-shell
+#! nix-shell -i dash --packages openssl gnutls dash
+#! nix-shell --impure
 
 # For a public or production server, purchase a cert from a known CA, and skip
 # the next step.