Switch to cached-nix-shell

This commit is contained in:
Simon Bruder 2021-07-11 10:47:36 +02:00
parent 1d2bf8c88a
commit 1cb0ab9cf9
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
10 changed files with 10 additions and 10 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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
#

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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