Skip to content

Commit 3f9340f

Browse files
committed
Clean up some GNUMakefile documentation
1 parent 384c65f commit 3f9340f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

GNUmakefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ pylint:
112112
#
113113
# Use a NixOS environment to execute the make target, eg.
114114
#
115-
# nix-venv-activate
115+
# nix-venv
116116
#
117117
# The default is the Python 3 crypto_licensing target in default.nix; choose
118118
# TARGET=py27 to test under Python 2 (more difficult as time goes on). See default.nix for
@@ -128,8 +128,9 @@ nix-%:
128128
# Assumes that the requirements.txt has been installed in the target Python environment. This
129129
# is probably best accomplished by first creating/activating a venv, and then running the test:
130130
#
131-
# $ make nix-venv-activate
132-
# (crypto-licensing-4.0.0) [perry@Perrys-MBP crypto-licensing (feature-py-3.12)]$ make test
131+
# $ make nix-venv
132+
# *** Activating /home/perry/src/cpppo-5.2.5-nix-linux-cpython-312 VirtualEnv for Interactive /bin/bash
133+
# (cpppo-5.2.5-nix-linux-cpython-312) bash-5.2$ make test
133134
# make[1]: Entering directory '/Users/perry/src/crypto-licensing'
134135
# ...
135136
#

shell.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ let
55
inherit pkgs;
66
};
77
targeted = builtins.getEnv "TARGET";
8-
selected = targeted + pkgs.lib.optionalString (targeted == "") "py312";
8+
selected = targeted + pkgs.lib.optionalString (targeted == "") "py313";
99
in
1010

1111
with pkgs;

0 commit comments

Comments
 (0)