Fix sm64ex.

This commit is contained in:
Tom Alexander 2025-04-25 20:13:25 -04:00
parent 844466c2ca
commit c457f6414b
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 16 additions and 10 deletions

View File

@ -8,15 +8,14 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1,
"narHash": "sha256-c4Ds4E/10Zj5AQLuJ3JvJTuDK8o2WjVXLcIL7eyhTfw=",
"path": "flakes/ansible-sshjail", "path": "flakes/ansible-sshjail",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "flakes/ansible-sshjail", "path": "flakes/ansible-sshjail",
"type": "path" "type": "path"
} },
"parent": []
}, },
"crane": { "crane": {
"locked": { "locked": {
@ -372,15 +371,14 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1,
"narHash": "sha256-5DWw7GnwVZ98HUp/UUJcyUmmy9Bh/mcQB8MQQ0t3ZRo=",
"path": "flakes/zsh-histdb", "path": "flakes/zsh-histdb",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "flakes/zsh-histdb", "path": "flakes/zsh-histdb",
"type": "path" "type": "path"
} },
"parent": []
} }
}, },
"root": "root", "root": "root",

View File

@ -28,10 +28,10 @@
# system.includeBuildDependencies = true; # system.includeBuildDependencies = true;
# This also should enable building offline? TODO: test. # This also should enable building offline? TODO: test.
# nix.extraOptions = '' nix.extraOptions = ''
# keep-outputs = true keep-outputs = true
# keep-derivations = true keep-derivations = true
# ''; '';
nixpkgs.hostPlatform = { nixpkgs.hostPlatform = {
gcc.arch = "znver5"; gcc.arch = "znver5";

View File

@ -34,6 +34,14 @@
# }) # })
# ]; # ];
nixpkgs.overlays = [
(final: prev: {
sm64ex = prev.sm64ex.overrideAttrs (old: {
buildInputs = old.buildInputs ++ [ final.libGL ];
});
})
];
# TODO perhaps install ~/.local/share/sm64ex/sm64config.txt # TODO perhaps install ~/.local/share/sm64ex/sm64config.txt
environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) { environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) {