Skip to content

Commit

Permalink
CI: use nix to avoid build
Browse files Browse the repository at this point in the history
  • Loading branch information
fkrause98 committed Sep 4, 2024
1 parent 093e5a6 commit c3b7847
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions sequential/installing/flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
description = "A flake to download Erlang 27 and Rebar3 from Nixpkgs 24.05";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/24.05"; # Pinning to Nixpkgs version 24.05
flake-utils.url = "github:numtide/flake-utils";
};

outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in {
packages.default = pkgs.mkShell {
buildInputs = [
pkgs.erlang_27 # Erlang 27
pkgs.rebar3 # Rebar3
];
};
});
}

0 comments on commit c3b7847

Please sign in to comment.