Skip to content

Commit

Permalink
fix(readme): update nix instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Jan 6, 2025
1 parent 4dd7dbd commit f6899a8
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,30 @@ For further usage preferably add a new environmental variable:

* `ALTLIB` - **absolute** path to `build/altlib_ext`

## flakes.nix
## Get `calias` using Nix

Required dependencies:

* nix
* [Nix](https://nixos.org)
* Use [this](https://github.com/DeterminateSystems/nix-installer) or [this](https://nixos.org/download/) way to install Nix

Enter the development shell for `calias`:

```
nix develop github:ParfenovIgor/alias-c
```

Check that `calias` is present:

```
nix shell github:ParfenovIgor/alias-c#calias
calias
```

`calias` will appear in a new shell.
Check that `ALTLIB` is set:

```
echo "$ALTLIB"
```

## Example

Expand Down

0 comments on commit f6899a8

Please sign in to comment.