From 1b55a9c1e455360a212ed6702f7e5a65669bd2c5 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Thu, 25 Apr 2019 03:01:06 +0000 Subject: [PATCH] Switch executable scripts to use nix-shell --- scripts/pppassword | 3 ++- scripts/wordpw | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/pppassword b/scripts/pppassword index 83af05c..e6d67f4 100755 --- a/scripts/pppassword +++ b/scripts/pppassword @@ -1,4 +1,5 @@ -#!/usr/bin/env python3 +#! /usr/bin/env nix-shell +#! nix-shell -i python3 -p python3 import sys import os import secrets diff --git a/scripts/wordpw b/scripts/wordpw index 4306ad5..f211b8d 100755 --- a/scripts/wordpw +++ b/scripts/wordpw @@ -1,4 +1,5 @@ -#!/usr/bin/env python3 +#! /usr/bin/env nix-shell +#! nix-shell -i python3 -p python3 import sys import os import secrets