From 7ed491d7397a4434efe1415bfc6d9fb8b751a17f Mon Sep 17 00:00:00 2001 From: Millian Poquet <millian.poquet@irit.fr> Date: Mon, 24 Jul 2023 19:50:44 +0200 Subject: [PATCH] doc: update nix info --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index d2ffe04..3d5d952 100644 --- a/README.md +++ b/README.md @@ -61,23 +61,23 @@ However, the approach is not robust so it may break when: ### Installation If you are using [Nix](https://nixos.org/) with [flakes enabled](https://nixos.wiki/wiki/Flakes#Enable_flakes), you can directly run the latest version of this code without any installation: ```sh -nix run git+https://gitlab.irit.fr/poquet/lflex-celcat-survival\?ref=main#fetch-ics -- request-file.csv -o out.ics +nix run git+https://gitlab.irit.fr/poquet/millian/lflex-celcat-survival\?ref=main#fetch-celcat -- request-file.csv credentials.json --ics /tmp/calendar.ics ``` If you are using [Nix](https://nixos.org/), you can enter a shell where the program is available by typing this command: ```sh -nix-shell https://gitlab.irit.fr/poquet/lflex-celcat-survival/-/archive/main/lflex-celcat-survival-main.tar.gz -A user-shell -# then, inside the temporary shell: fetch-ics request-file.csv -o out.ics +nix-shell https://gitlab.irit.fr/poquet/millian/lflex-celcat-survival/-/archive/main/lflex-celcat-survival-main.tar.gz -A user-shell +# then, inside the temporary shell: fetch-celcat request-file.csv credentials.json --ics /tmp/calendar.ics ``` If you are using [Nix](https://nixos.org/) but want to install this software instead: ```sh -nix-env -f https://gitlab.irit.fr/poquet/lflex-celcat-survival/-/archive/main/lflex-celcat-survival-main.tar.gz -iA lflex_celcat_survival -# then, whenever you want: fetch-ics request-file.csv -o out.ics +nix-env -f https://gitlab.irit.fr/poquet/millian/lflex-celcat-survival/-/archive/main/lflex-celcat-survival-main.tar.gz -iA lflex_celcat_survival +# then, whenever you want: fetch-celcat request-file.csv credentials.json --ics /tmp/calendar.ics ``` If you are not using [Nix](https://nixos.org/), you can do a local installation via [pip](https://pip.pypa.io/en/stable/): ```sh -pip install git+https://gitlab.irit.fr/poquet/lflex-celcat-survival -# then, whenever you want: fetch-ics request-file.csv -o out.ics +pip install git+https://gitlab.irit.fr/poquet/millian/lflex-celcat-survival +# then, whenever you want: fetch-celcat request-file.csv credentials.json --ics /tmp/calendar.ics ``` -- GitLab