From af5fa1b077b9c9570bde2698fa4503d505cdcb64 Mon Sep 17 00:00:00 2001 From: 64104061f23fda247c679fa8 <64104061f23fda247c679fa8@devide> Date: Tue, 21 Mar 2023 11:49:20 +0000 Subject: [PATCH] Auto commit --- .inscode | 2 +- inscode.nix | 9 +++++---- main.py | 1 + requirements.txt | 0 4 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 main.py create mode 100644 requirements.txt diff --git a/.inscode b/.inscode index fc90fcf..ea77b22 100644 --- a/.inscode +++ b/.inscode @@ -1,4 +1,4 @@ -run = "cowsay 欢迎来到 InsCode" +run = "pip install -r requirements.txt;python3 main.py" [nix] channel = "stable-22_11" diff --git a/inscode.nix b/inscode.nix index 2a5879a..0e31ac3 100644 --- a/inscode.nix +++ b/inscode.nix @@ -1,5 +1,6 @@ { pkgs }: { - deps = [ - pkgs.cowsay - ]; -} + deps = [ + pkgs.python310Packages.pip + pkgs.python310Full + ]; +} \ No newline at end of file diff --git a/main.py b/main.py new file mode 100644 index 0000000..4c0c135 --- /dev/null +++ b/main.py @@ -0,0 +1 @@ +print('欢迎来到 InsCode') \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e69de29 -- GitLab