From dfa6e7a70bd346ab79dd26831c5e9b8eae25ccda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=ADgille=20S=2E=20B=2E=20Menezes?= Date: Tue, 11 Apr 2023 10:40:25 -0300 Subject: [PATCH] Create README.md --- bin/scm/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 bin/scm/README.md diff --git a/bin/scm/README.md b/bin/scm/README.md new file mode 100644 index 000000000..1c0120c79 --- /dev/null +++ b/bin/scm/README.md @@ -0,0 +1,23 @@ +The scheme backend is built with Nix! First install nix: +```bash +curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install +``` +Here's an example `shell.nix` which has `kind-scm` available to use: +```nix +{ pkgs ? import {} }: +let + kind_legacy = pkgs.fetchFromGitHub { + owner = "rigille"; + repo = "Kind-Legacy"; + rev = "2c5a96868296aeeed5260e9732ff7b052d0e9d43"; + sha256 = "28c8325659e6d5883c604552e67470e09a59bd16156fa7f1e7e11623d36d62ad"; + }; + kind_scm = import "${kind_legacy}/bin/scm" { pkgs=pkgs; }; +in +pkgs.mkShell { + buildInputs = [ + kind_scm + ]; +} +``` +Alternatively you can run `nix-env --file default.nix --install` and install `kind-scm` globally on your system.