cli

Command-line interface for Radroots
git clone https://radroots.dev/git/cli.git
Log | Files | Refs | README | LICENSE

commit 44f51cf1e3c3392550b70789eb219dbb57e93ed5
parent 3c8b808910996c5e5240ef036ce5e1fb80890706
Author: triesap <tyson@radroots.org>
Date:   Mon,  7 Sep 2026 11:33:30 +0000

fix(nix): align CLI flake with immutable Lib input

Diffstat:
Mflake.lock | 8++++----
Mflake.nix | 7+++++--
Mtests/package_boundary.rs | 5+++--
3 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/flake.lock b/flake.lock @@ -45,17 +45,17 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1788739124, - "narHash": "sha256-Aw8qbU1DrtxSYJKg0js6kexnKgVGFCjR34bgq+ZVAVo=", + "lastModified": 1787209450, + "narHash": "sha256-9cm5/jyp5+/2KUCRdi4jynU1pYaX+23+LbXwVBiHfqs=", "owner": "radrootslabs", "repo": "lib", - "rev": "055096853fca95e15d0f813d33a14aca13be3881", + "rev": "3563f3b5a4331eb2cb3f925cafc9de524d844228", "type": "github" }, "original": { "owner": "radrootslabs", "repo": "lib", - "rev": "055096853fca95e15d0f813d33a14aca13be3881", + "rev": "3563f3b5a4331eb2cb3f925cafc9de524d844228", "type": "github" } }, diff --git a/flake.nix b/flake.nix @@ -4,7 +4,7 @@ inputs = { crane.url = "github:ipetkov/crane/01bc1d404a51a0a07e9d8759cd50a7903e218c82"; lib = { - url = "github:radrootslabs/lib/055096853fca95e15d0f813d33a14aca13be3881"; + url = "github:radrootslabs/lib/3563f3b5a4331eb2cb3f925cafc9de524d844228"; inputs.crane.follows = "crane"; }; nixpkgs.follows = "lib/nixpkgs"; @@ -20,7 +20,10 @@ ... }: let - systems = lib.lib.supportedSystems; + systems = [ + "aarch64-darwin" + "x86_64-linux" + ]; forAllSystems = function: builtins.listToAttrs ( diff --git a/tests/package_boundary.rs b/tests/package_boundary.rs @@ -44,8 +44,9 @@ fn implementation_modules_are_private_and_api_is_root_only() { #[test] fn nix_outputs_are_real_owned_and_exactly_bounded() { for required in [ - "github:radrootslabs/lib/055096853fca95e15d0f813d33a14aca13be3881", - "systems = lib.lib.supportedSystems", + "github:radrootslabs/lib/3563f3b5a4331eb2cb3f925cafc9de524d844228", + "\"aarch64-darwin\"", + "\"x86_64-linux\"", "craneLib.buildPackage", "craneLib.mkCargoDerivation", "program = \"${package}/bin/radroots\"",