Signed-off-by: Christoph Schmatzler <christoph@schmatzler.com>
This commit is contained in:
2025-11-04 16:06:26 +00:00
parent 841105b052
commit 7fa8206850
3 changed files with 22 additions and 34 deletions

View File

@@ -1,12 +0,0 @@
{inputs}: final: prev: {
# Override the fixed-output hash for the nested derivation
# opencode-src-with-node_modules on x86_64-linux
opencode = prev.opencode.overrideAttrs (old: {
"src-with-node_modules" = old."src-with-node_modules".overrideAttrs (o2: {
outputHash = if prev.stdenv.hostPlatform.system == "x86_64-linux"
then "sha256-eML3T1FQ5ziRWIuLDirnHvxLEKMtKDy3op47JnfFU6w="
else o2.outputHash;
});
});
}