Skip to content

Commit a6a9faa

Browse files
committed
WIP: Fix shell.nix
1 parent b73500b commit a6a9faa

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

shell.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pkgs.mkShell {
2323

2424
unstable.python312Packages.fastecdsa
2525
unstable.python312Packages.greenlet
26+
unstable.python312Packages.libnacl
2627
];
2728

2829
shellHook = ''
@@ -61,14 +62,14 @@ pkgs.mkShell {
6162
6263
# Create a virtual environment in the current directory if it doesn't exist
6364
if [ ! -d "venv" ]; then
64-
python3 -m virtualenv venv
65+
python3.12 -m virtualenv venv
6566
fi
6667
6768
# Install the required Python packages
68-
./venv/bin/pip install -e .\[testing\]
69+
./venv/bin/pip install -e .\[test\]
6970
7071
# PyO3 requires a nightly or dev version of Rust.
71-
rustup default nightly
72+
# rustup default nightly
7273
7374
# If config.yml does not exist, create it with the port specified in this shell.
7475
[ -e config.yml ] || echo -e "postgres:\n port: $PG_PORT" > config.yml

0 commit comments

Comments
 (0)