Skip to content

Commit

Permalink
chore(nix): update flake
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg committed Jan 12, 2025
1 parent 97c4144 commit 8816f6a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
zpkgs = zigpkgs.legacyPackages.${system};
beamPackages = pkgs.beam_minimal.packages.erlang_27;
elixir = beamPackages.elixir_1_17;
# example of overriding elixir with whatever you want
# elixir = beamPackages.elixir_1_18.override {
# rev = "f16fb5aa8162794616a738fc6e84bfcdf9892cff";
# sha256 = "sha256-UYWsmih+0z+4tdPhxl2zf+4gUNEgRJR4yyvxVBOgJdQ=";
# };
in
f {inherit system pkgs zpkgs beamPackages elixir;});

Expand All @@ -42,7 +47,7 @@
elixir,
...
}: {
default = pkgs.callPackage ./package.nix { inherit beamPackages elixir; };
default = pkgs.callPackage ./package.nix {inherit beamPackages elixir;};
});

devShells = forAllSystems ({
Expand Down

0 comments on commit 8816f6a

Please sign in to comment.