Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve flake.nix to save build time, make nix run work again, and check builds on CI #312

Merged
merged 18 commits into from
Oct 31, 2023

Commits on Oct 29, 2023

  1. Configuration menu
    Copy the full SHA
    316dba9 View commit details
    Browse the repository at this point in the history
  2. chore(nix): switch to nixos-unstable channel

    The master branch is where PRs are merged into. Binary cache is more likely
    available on stable and unstable branches, so switch to unstable to use latest
    packages.
    akirak committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    122f8a7 View commit details
    Browse the repository at this point in the history
  3. chore(nix): downgrade to Erlang R25 to prevent rebuild of rebar3

    In NixOS/nixpkgs, the latest version of BEAM packages may not have all packages
    built on Hydra. In fact, rebar3 is not available from binary cache, which
    requires the package user to rebuild the package. Downgrading to the previous
    version of Erlang VM solves this issue.
    akirak committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    02709ff View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e5047a8 View commit details
    Browse the repository at this point in the history
  5. fix(nix)!: remove the broken flake app

    The path points to a location which apparently no longer exists.
    akirak committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    dabd865 View commit details
    Browse the repository at this point in the history
  6. chore(nix): add meta data of the Nix package

    Setting meta.mainProgram is recommended now so `nix run` consistently works.
    akirak committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    a26c762 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2b7683e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c57d95d View commit details
    Browse the repository at this point in the history
  9. style(nix): tidy

    akirak committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    95e1e48 View commit details
    Browse the repository at this point in the history
  10. feat(nix): make the Erlang and Elixir versions overridable

    The user may want to use the same versions as his/her project under development,
    so it makes sense to allow overriding of beamPackages and elixir.
    akirak committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    a39ff49 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Configuration menu
    Copy the full SHA
    708641c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c71186c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cfce6d0 View commit details
    Browse the repository at this point in the history
  4. ci: add nix builds

    akirak committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    cbe9f68 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Configuration menu
    Copy the full SHA
    ba5b0ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    17328e1 View commit details
    Browse the repository at this point in the history
  3. update hash

    mhanberg committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    46be3b5 View commit details
    Browse the repository at this point in the history
  4. fix ci

    mhanberg committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    848daaf View commit details
    Browse the repository at this point in the history