Nix flake for Cheat Engine — a memory scanner and debugger for Linux.
nix run github:Hy4ri/cheatengine-flake- Add the flake input:
{
inputs.cheatengine.url = "github:Hy4ri/cheatengine-flake";
}- Add the overlay:
nixpkgs.overlays = [ inputs.cheatengine.overlays.default ];- Install the package:
# NixOS
environment.systemPackages = with pkgs; [
cheatengine
];
# Home Manager
home.packages = with pkgs; [
cheatengine
];| File | Purpose |
|---|---|
flake.nix |
Flake entry point — exposes package and overlay |
package.nix |
Derivation — downloads, patches, and installs Cheat Engine |
update-version.sh |
CLI tool to update version and hash: ./update-version.sh 7.7 |
version.json |
Version metadata (used by README badge) |
flake.lock |
Pinned nixpkgs revision |
If a new Cheat Engine release is out and the auto-update CI hasn't caught it yet:
./update-version.sh 7.8The script will:
- Download the
.zipfile - Calculate its
sha256hash - Update the version and hash in
package.nix - Update
version.jsonand README badge link
# Evaluate the flake
nix flake check
# Build
nix build .#cheatengine
# Run directly (no install)
nix run .#cheatengine