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

View File

@ -28,10 +28,10 @@
# system.includeBuildDependencies = true;
# This also should enable building offline? TODO: test.
# nix.extraOptions = ''
# keep-outputs = true
# keep-derivations = true
# '';
nix.extraOptions = ''
keep-outputs = true
keep-derivations = true
'';
nixpkgs.hostPlatform = {
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
environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) {