eask2nix

Convert Eask into Nix expressions [maintainer=@jcs090218]

GPL-3.0 License

Downloads
6
Stars
9
Committers
2

eask2nix

Convert Eask into Nix expressions

🚩 Prerequisite Tools

You will need the following software to run this tool!

💾 Installation

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"

🔧 Usage

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.

📝 Todo list

  • Handle dependencies in generated Nix expressions
  • Generate installable Nix expressions

📞 Contact

Problems and questions should go to GitHub issues.