diff --git a/animetosho2mks.py b/animetosho2mks.py index 7e33d04..f4aa51e 100755 --- a/animetosho2mks.py +++ b/animetosho2mks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env nix-shell +#!/usr/bin/env cached-nix-shell #!nix-shell -i python3 -p "python3.withPackages(ps: [ ps.tqdm ])" mkvtoolnix-cli from subprocess import run from tqdm import tqdm diff --git a/ass2mks.py b/ass2mks.py index cfc3c2a..165ecd4 100755 --- a/ass2mks.py +++ b/ass2mks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env nix-shell +#!/usr/bin/env cached-nix-shell #!nix-shell -i python3 -p python3 ffmpeg-full from subprocess import run import mimetypes diff --git a/cbz2ebook.sh b/cbz2ebook.sh index 7f70a42..e36f398 100755 --- a/cbz2ebook.sh +++ b/cbz2ebook.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env nix-shell +#!/usr/bin/env cached-nix-shell #!nix-shell -i zsh -p imagemagick unzip zip zsh set -e diff --git a/chiptune-mix.sh b/chiptune-mix.sh index 20466db..02b3b40 100755 --- a/chiptune-mix.sh +++ b/chiptune-mix.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env nix-shell +#!/usr/bin/env cached-nix-shell #!nix-shell -i bash -p sidplayfp ffmpeg-full # Creates 4-channel flac file to be played with mpv profile “musicvideo-c64” # Set HVSC_BASE to point to your HVSC directory, otherwise the output diff --git a/encoder-parameters.py b/encoder-parameters.py index 2390ee3..82c3466 100755 --- a/encoder-parameters.py +++ b/encoder-parameters.py @@ -1,4 +1,4 @@ -#!/usr/bin/env nix-shell +#!/usr/bin/env cached-nix-shell #!nix-shell -i python3 -p python3 import sys import subprocess diff --git a/huion-tablet.py b/huion-tablet.py index b2eb273..baa90a1 100755 --- a/huion-tablet.py +++ b/huion-tablet.py @@ -1,4 +1,4 @@ -#!/usr/bin/env nix-shell +#!/usr/bin/env cached-nix-shell #!nix-shell -i python3 -p "python3.withPackages(ps: [ ps.pyyaml ])" # Set Huion H430P parameters from saved profiles using swaymsg # diff --git a/odrive-proxy.py b/odrive-proxy.py index a6e5b78..5bf4156 100755 --- a/odrive-proxy.py +++ b/odrive-proxy.py @@ -1,4 +1,4 @@ -#!/usr/bin/env nix-shell +#!/usr/bin/env cached-nix-shell #!nix-shell -i python3 -p "python3.withPackages(ps: with ps; [ ps.flask ps.requests ])" from flask import Flask, redirect import requests diff --git a/quizlet2anki.py b/quizlet2anki.py index 8e7fc08..9cf4b0f 100755 --- a/quizlet2anki.py +++ b/quizlet2anki.py @@ -1,4 +1,4 @@ -#!/usr/bin/env nix-shell +#!/usr/bin/env cached-nix-shell #!nix-shell -i python3 -p python3 # I want to use Anki instead of Quizlet. However, Quizlet only provides a very # limited “export” functionality, that exports something like csv, but does not diff --git a/ssim-stats.py b/ssim-stats.py index df1f698..edc48c4 100755 --- a/ssim-stats.py +++ b/ssim-stats.py @@ -1,4 +1,4 @@ -#!/usr/bin/env nix-shell +#!/usr/bin/env cached-nix-shell #!nix-shell -i python3 -p "python3.withPackages(ps: with ps; [ ps.pandas ps.numpy ps.tabulate ])" import pandas as pd import numpy as np diff --git a/wordclock.py b/wordclock.py index 8784cc0..388e4ad 100755 --- a/wordclock.py +++ b/wordclock.py @@ -1,4 +1,4 @@ -#!/usr/bin/env nix-shell +#!/usr/bin/env cached-nix-shell #!nix-shell -i python3 -p "python3.withPackages(ps: [ ps.paho-mqtt ])" import sys import paho.mqtt.client as mqtt