diff options
author | Alex Auvolat <alex@adnab.me> | 2022-12-24 22:59:37 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-12-24 22:59:37 +0100 |
commit | 8d17a07c9be5cd9d400644c34ea50177535d15f6 (patch) | |
tree | cac734f62d4c04c898d4e70d1e2ba65f933317ca /secretmgr | |
parent | 4b527c4db8060679d21e5bb596bde91ce39df393 (diff) | |
download | nixcfg-8d17a07c9be5cd9d400644c34ea50177535d15f6.tar.gz nixcfg-8d17a07c9be5cd9d400644c34ea50177535d15f6.zip |
reorganize some things
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 - ]; -} - |