Skip to content

elixir: Add beamPackages binding to allow extending the flake easily #54

elixir: Add beamPackages binding to allow extending the flake easily

elixir: Add beamPackages binding to allow extending the flake easily #54

Workflow file for this run

name: Check elixir
on:
push:
paths:
# Set this to the directory of the template
- elixir/**
- .github/workflows/check-elixir.yml
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@v22
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
with:
path: ./tmp
- run: nix flake new -t ./tmp#elixir ./work
- name: Prepare the project
working-directory: work
run: |
git init
git add .
- name: Check executables
run: |
nix develop -L --command mix help
nix develop -L --command elixirc --version
working-directory: work