diff --git a/.inscode b/.inscode index fc90fcf343d827601679bd6a163e84ee4f4edfbb..ea77b223ee6ea12b76cbe028f88a1ad2ed79e3e2 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 2a5879a58618e489038072b8c86903e4384a77b8..0e31ac39b176de826a0b89c494739876f96eb2c0 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 0000000000000000000000000000000000000000..4c0c135f61696bcf42c375ca5ab62aa5b105afc8 --- /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 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391