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
42 lines
908 B
Nix
42 lines
908 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitLab,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "ion";
|
|
version = "unstable-2024-09-20";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.redox-os.org";
|
|
owner = "redox-os";
|
|
repo = "ion";
|
|
rev = "8acd140eeec76cd5efbd36f9ea8425763200a76b";
|
|
hash = "sha256-jiJ5XW7S6/pVEOPYJKurolLI3UrOyuaEP/cqm1a0rIU=";
|
|
};
|
|
|
|
cargoHash = "sha256-Gqa2aA8jr6SZexa6EejYHv/aEYcm51qvEJSUm4m1AVc=";
|
|
|
|
patches = [
|
|
# remove git revision from the build script to fix build
|
|
./build-script.patch
|
|
];
|
|
|
|
passthru = {
|
|
shellPath = "/bin/ion";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Modern system shell with simple (and powerful) syntax";
|
|
homepage = "https://gitlab.redox-os.org/redox-os/ion";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [
|
|
dywedir
|
|
arthsmn
|
|
];
|
|
mainProgram = "ion";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|