diff options
Diffstat (limited to 'secretmgr')
-rwxr-xr-x | secretmgr/secretmgr (renamed from secretmgr/secretmgr.py) | 3 | ||||
-rw-r--r-- | secretmgr/shell.nix | 15 |
2 files changed, 2 insertions, 16 deletions
diff --git a/secretmgr/secretmgr.py b/secretmgr/secretmgr index 8b17f61..3c0ec08 100755 --- a/secretmgr/secretmgr.py +++ b/secretmgr/secretmgr @@ -1,4 +1,5 @@ -#!/usr/bin/env python3 +#!/usr/bin/env nix-shell +#!nix-shell -i python3 -p "python3.withPackages(ps: [ ps.pip ps.consul ps.ldap ps.passlib ps.requests ps.six ])" # DEPENDENCY: python-consul import consul diff --git a/secretmgr/shell.nix b/secretmgr/shell.nix deleted file mode 100644 index c9b8053..0000000 --- a/secretmgr/shell.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ - pkgs ? import <nixpkgs> {} -}: - -with pkgs; mkShell { - nativeBuildInputs = [ - nomad - docker-compose - python39Packages.pip - python39Packages.ldap - python39Packages.consul - python39Packages.passlib - ]; -} - |