File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ description = "spitfire" ;
3+
4+ inputs = {
5+ beam-flakes . url = "github:shanesveller/nix-beam-flakes" ;
6+ beam-flakes . inputs . flake-parts . follows = "flake-parts" ;
7+ flake-parts . url = "github:hercules-ci/flake-parts" ;
8+ nixpkgs . url = "github:NixOS/nixpkgs/nixpkgs-unstable" ;
9+ } ;
10+
11+ outputs = inputs @ {
12+ beam-flakes ,
13+ flake-parts ,
14+ ...
15+ } :
16+ flake-parts . lib . mkFlake { inherit inputs ; } {
17+ imports = [ beam-flakes . flakeModule ] ;
18+
19+ systems = [ "aarch64-darwin" "x86_64-darwin" "x86_64-linux" ] ;
20+
21+ perSystem = {
22+ config ,
23+ pkgs ,
24+ ...
25+ } : {
26+ beamWorkspace = {
27+ enable = true ;
28+ devShell . languageServers . elixir = false ;
29+ devShell . languageServers . erlang = false ;
30+ flakePackages = true ;
31+ versions = {
32+ elixir = "1.16.1" ;
33+ erlang = "26.2.2" ;
34+ } ;
35+ } ;
36+ } ;
37+ } ;
38+ }
39+
You can’t perform that action at this time.
0 commit comments