Skip to content

Replace Nix shell configuration with a Flake#952

Open
r6915ee wants to merge 1 commit intoCodenameCrew:mainfrom
r6915ee:build/nix-flake
Open

Replace Nix shell configuration with a Flake#952
r6915ee wants to merge 1 commit intoCodenameCrew:mainfrom
r6915ee:build/nix-flake

Conversation

@r6915ee
Copy link
Copy Markdown
Contributor

@r6915ee r6915ee commented Apr 6, 2026

This is a reiteration of #771 that replaces the original shell.nix file with a new Nix Flake. The page linked describes the benefits of using Flakes.

The Flake is resistant to the deprecation of mbedtls_2 by using an overlay. There are comments about this in the Flake itself.

A legacy shell.nix file is still included, but it's wired to use flake-compat.

In addition, the build inputs have also been altered to remove unnecessary packages and to adhere to the fairly recent removal of the xorg package set, where the packages inside of it were renamed.

@r6915ee
Copy link
Copy Markdown
Contributor Author

r6915ee commented Apr 6, 2026

Currently, the Flake still has the same issue as the original pull request where it uses Haxe v4.3.6 instead of Haxe v4.3.7, primarily because Nixpkgs still hasn't updated its Haxe version. However, I've seen Codename being able to compile and run without issue, so I'm currently keeping it open as a non-draft.

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.

1 participant