Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
32 lines
761 B
Nix
32 lines
761 B
Nix
{
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
renode,
|
|
}:
|
|
renode.overrideAttrs (old: rec {
|
|
pname = "renode-unstable";
|
|
version = "1.16.0-unstable-2025-08-08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "renode";
|
|
repo = "renode";
|
|
rev = "194d90650a9337a05cd81e8855474773d23d4396";
|
|
hash = "sha256-oRtbjup5RKbVzKMTa0yiY1gGhDqUrQ4N3SgwQ7lm8Ho=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
prePatch = ''
|
|
substituteInPlace tools/building/createAssemblyInfo.sh \
|
|
--replace CURRENT_INFORMATIONAL_VERSION="`git rev-parse --short=8 HEAD`" \
|
|
CURRENT_INFORMATIONAL_VERSION="${builtins.substring 0 8 src.rev}"
|
|
'';
|
|
|
|
passthru = old.passthru // {
|
|
updateScript = nix-update-script {
|
|
extraArgs = [
|
|
"--version=branch"
|
|
];
|
|
};
|
|
};
|
|
})
|