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

chore(nix): updates to use nixpkgs elixir 1.17 #525

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

adamcstephens
Copy link
Contributor

@adamcstephens adamcstephens commented Jun 24, 2024

I split the package out here, and dropped the makeOverridable. I can put this back if needed, but I think separating the package makes it clearer to reason about. It's also more similar to a nixpkgs package this way. :)

I discovered that erlang_27 actually depends on erlang_26 currently for ex_doc, so you have to compile both with beam_minimal. Anybody using your cache won't notice though.

I also wondered if the zig pinned release could be removed in favor of current unstable.

Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/57d6973abba7ea108bac64ae7629e7431e0199b6' (2024-06-12)
  → 'github:NixOS/nixpkgs/a71e967ef3694799d0c418c98332f7ff4cc5f6af' (2024-06-22)
@adamcstephens adamcstephens changed the title nix: updates chore(nix): updates to use nixpkgs elixir 1.17 Jun 24, 2024
flake.nix Show resolved Hide resolved
@mhanberg
Copy link
Collaborator

mhanberg commented Jun 26, 2024

I also wondered if the zig pinned release could be removed in favor of current unstable.

something is broken in nixpkgs for zig 0.11 right now, which we need, so we can't do that yet.


You'll also have to change the extra-files entry in release-please-config.json to point to the package.nix file instead of flake.nix file

Copy link
Collaborator

@mhanberg mhanberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just make the change to the release please config and looks good, thanks!

@adamcstephens
Copy link
Contributor Author

I think this should be good to go, unless you still wanted me to remove the rebar overrides.

@mhanberg
Copy link
Collaborator

mhanberg commented Jul 3, 2024

I checked out the branch locally and as my shell was booting up nix develop, its running the the rebar tests.

still better than before, will merge once i get a nix build passing locally

@mhanberg mhanberg merged commit 7086c78 into elixir-tools:main Jul 3, 2024
14 checks passed
@adamcstephens adamcstephens deleted the flake/202306 branch July 3, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants