Convert
Eask
into Nix expressions
You will need the following software to run this tool!
The easiest way to install this tool is to install it with npm
:
$ npm install -g eask2nix
Alternatively, you can install it from the source:
# clone it
$ git cloen https://github.com/nix-community/eask2nix
# navigate to project root
$ cd eask2nix
# install all dependencies
$ npm install
# export to environment $PATH
export PATH="$HOME/eask2nix/bin:$PATH"
# give execute permissions
chmod 777 /path/to/eask2nix/bin/eask2nix
Or download binaries from our releases page.
# unzip binaires
unzip eask2nix_0.1.0_[linux/macos]-[arm64/x64].zip
# export to environment $PATH
export PATH="$HOME/eask2nix:$PATH"
To generate default.nix
for a set of dependencies:
# navigate to your elisp project
$ cd your-elisp-project/
# make sure the Eask exists, to create one do `eask init`
$ cat Eask # or Easkfile
# generate the Nix expressions from current Eask-file
$ eask2nix generate
P.S. eask2nix generate
will only take the current loaded Eask-file.
- Handle dependencies in generated Nix expressions
- Generate installable Nix expressions
Problems and questions should go to GitHub issues.