Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rigille authored Apr 11, 2023
1 parent 04f7bc6 commit dfa6e7a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions bin/scm/README.md
Original file line number Diff line number Diff line change
@@ -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 <nixpkgs> {} }:
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.

0 comments on commit dfa6e7a

Please sign in to comment.