From 0bb33a2305624c18dc2f37cb2581bd1b844d6b07 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Mon, 6 May 2024 23:46:16 +0200 Subject: [PATCH] feat: make the script autonomous in its python dependencies Let's use a nix-shell shebang! Signed-off-by: Raito Bezarius --- update_pins.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update_pins.py b/update_pins.py index 4f68b57..668808f 100755 --- a/update_pins.py +++ b/update_pins.py @@ -1,4 +1,5 @@ -#!/usr/bin/env python +#!/usr/bin/env nix-shell +#!nix-shell -i python3 -p 'python3.withPackages (ps: [ ps.requests ])' """ Updates pins in this repo to their latest version.