Add nono sandbox for AI agents
This commit is contained in:
18
overlays/nono.nix
Normal file
18
overlays/nono.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{inputs}: final: prev: let
|
||||
manifest = (prev.lib.importTOML "${inputs.nono}/Cargo.toml").package;
|
||||
in {
|
||||
nono = prev.rustPlatform.buildRustPackage {
|
||||
pname = manifest.name;
|
||||
version = manifest.version;
|
||||
|
||||
cargoLock.lockFile = "${inputs.nono}/Cargo.lock";
|
||||
|
||||
src = inputs.nono;
|
||||
|
||||
nativeBuildInputs = with prev; [pkg-config];
|
||||
buildInputs = with prev; [openssl dbus];
|
||||
OPENSSL_NO_VENDOR = 1;
|
||||
|
||||
doCheck = false;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user