this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Elixir project template

+24 -17
+24 -17
templates/elixir/flake.nix
··· 4 4 inputs.nixpkgs.url = "flake:nixpkgs"; 5 5 inputs.flake-utils.url = "github:numtide/flake-utils"; 6 6 7 - outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: 8 - let 9 - pkgs = nixpkgs.legacyPackages.${system}; 10 - erl = pkgs.beam.packages.erlangR24; 11 - in { 12 - # TODO: Add default package and overlay there 7 + outputs = { 8 + self, 9 + nixpkgs, 10 + flake-utils, 11 + }: 12 + flake-utils.lib.eachDefaultSystem ( 13 + system: let 14 + pkgs = nixpkgs.legacyPackages.${system}; 15 + erl = pkgs.beam.packages.erlangR24; 16 + in { 17 + # TODO: Add default package and overlay there 13 18 14 - devShell = pkgs.mkShell { 15 - nativeBuildInputs = [ 16 - erl.elixir 17 - erl.elixir_ls 18 - ] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [ 19 - pkgs.darwin.apple_sdk.frameworks.CoreFoundation 20 - pkgs.darwin.apple_sdk.frameworks.CoreServices 21 - ]; 22 - }; 23 - } 24 - ); 19 + devShell = pkgs.mkShell { 20 + nativeBuildInputs = 21 + [ 22 + erl.elixir 23 + erl.elixir_ls 24 + ] 25 + ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [ 26 + pkgs.darwin.apple_sdk.frameworks.CoreFoundation 27 + pkgs.darwin.apple_sdk.frameworks.CoreServices 28 + ]; 29 + }; 30 + } 31 + ); 25 32 }