From cf38cbb1a9c436b7011dd8ff312884ba9bd7662a Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Tue, 16 Apr 2024 17:14:00 +0200 Subject: [PATCH] docs: Fix typos, improve commands --- python/conda/flake.lock | 6 +++--- python/conda/flake.nix | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/python/conda/flake.lock b/python/conda/flake.lock index 10d058a..39b28ea 100644 --- a/python/conda/flake.lock +++ b/python/conda/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1712608508, - "narHash": "sha256-vMZ5603yU0wxgyQeHJryOI+O61yrX2AHwY6LOFyV1gM=", + "lastModified": 1712963716, + "narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "4cba8b53da471aea2ab2b0c1f30a81e7c451f4b6", + "rev": "cfd6b5fc90b15709b780a5a1619695a88505a176", "type": "github" }, "original": { diff --git a/python/conda/flake.nix b/python/conda/flake.nix index 9f8d65d..55bfca8 100644 --- a/python/conda/flake.nix +++ b/python/conda/flake.nix @@ -9,7 +9,7 @@ You can enter the environment in your CLI with: - $ nix-develop -c bash -c "conda-shell -c 'conda activate && sh'" + $ nix develop -c bash -c "conda-shell -c 'conda activate && sh'" If you are using Pycharm, you can start up quickly by running: @@ -17,10 +17,10 @@ ### Setup: ### - On your first run, enter conda using + On your first run, install conda and set up your environment using - $ nix-develop -c bash -c "conda-shell -c 'conda-install'" - (conda-shell)$ conda env create --name --file /path/to/environment.yaml + $ nix develop -c bash -c "conda-shell -c 'conda-install'" + $ nix develop -c bash -c "conda-shell -c 'conda-env create --name --file /path/to/environment.yaml'" ''; @@ -40,7 +40,7 @@ conda # You might want to add an IDE of your choice; - # (jetbrains.plugins.addPlugins jetbrains.pycharm-professional [ "github-copilot" ]) + (jetbrains.plugins.addPlugins jetbrains.pycharm-professional [ "github-copilot" ]) ]; }; });