From cb75a0475c60b6a7e2f55091376b462e8ab87d11 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sat, 20 Sep 2025 23:43:33 +0100 Subject: [PATCH] nix: can have the python info in the file itself so it can be run like a normal bash script --- global_license_change.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/global_license_change.py b/global_license_change.py index 23ad071..cc9abfd 100644 --- a/global_license_change.py +++ b/global_license_change.py @@ -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