nix: can have the python info in the file itself so it can be run like a normal bash script

This commit is contained in:
silver 2025-09-20 23:43:33 +01:00
parent ff82802e16
commit cb75a0475c
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -1,3 +1,6 @@
#!/usr/bin/env nix-shell
#!nix-shell -i python3 -p python3
import requests
# taken from https://forgejo.skynet.ie/Skynet/actions-deploy-to-skynet/src/branch/main/LICENSE