Created
February 14, 2024 18:33
-
-
Save Munksgaard/9828c2b8cbdb7d2d325257eead6c9d4d to your computer and use it in GitHub Desktop.
elixir 1.17-dev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
description = "elixir"; | |
inputs = { | |
flake-parts.url = "github:hercules-ci/flake-parts"; | |
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
}; | |
outputs = inputs@{ flake-parts, ... }: | |
flake-parts.lib.mkFlake { inherit inputs; } { | |
systems = | |
[ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ]; | |
perSystem = { config, self', inputs', pkgs, system, ... }: { | |
# Per-system attributes can be defined here. The self' and inputs' | |
# module parameters provide easy access to attributes of the same | |
# system. | |
# Equivalent to inputs'.nixpkgs.legacyPackages.hello; | |
packages.default = | |
let beam_pkgs = pkgs.beam.packagesWith pkgs.beam.interpreters.erlang; | |
in beam_pkgs.elixir_1_16.override { | |
version = "1.17.0-dev"; | |
rev = "2ba6f95e5d7e996aea700ff4f30732b75ece80c9"; | |
sha256 = "sha256-zrEP529nL2YCH6fk9DltwLKvGYn8C3erGU09MDq1hc8="; | |
}; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment