refactor(#2111): remove nixpkgs-unstable, source claude-code from main nixpkgs
This commit is contained in:
parent
26dd8b0d34
commit
ae41e39dfb
8 changed files with 26 additions and 147 deletions
|
|
@ -67,11 +67,6 @@ pub struct Coordinator {
|
|||
/// "nixpkgs"` is set in the host flake). Empty string = legacy
|
||||
/// `follows = "hyperhive/nixpkgs"` behaviour.
|
||||
pub nixpkgs_flake: String,
|
||||
/// Store-path URL for `nixpkgs-unstable` to wire as a top-level meta
|
||||
/// flake input. Hyperhive's `inputs.nixpkgs-unstable` then follows it.
|
||||
/// Set via `--nixpkgs-unstable-flake` from `hive-c0re.nix`. Empty string
|
||||
/// falls back to the legacy `follows = "hyperhive/nixpkgs-unstable"`.
|
||||
pub nixpkgs_unstable_flake: String,
|
||||
/// TCP port the host's hive-c0re dashboard listens on. Inlined into
|
||||
/// each per-agent flake so the agent's web UI can build the right
|
||||
/// rebuild-button URL pointing back at the dashboard.
|
||||
|
|
@ -203,7 +198,6 @@ pub struct Coordinator {
|
|||
pub struct HiveEnv {
|
||||
pub hyperhive_flake: String,
|
||||
pub nixpkgs_flake: String,
|
||||
pub nixpkgs_unstable_flake: String,
|
||||
pub dashboard_port: u16,
|
||||
pub operator_pronouns: String,
|
||||
pub context_window_tokens: std::collections::HashMap<String, u64>,
|
||||
|
|
@ -218,7 +212,6 @@ impl Default for HiveEnv {
|
|||
Self {
|
||||
hyperhive_flake: "/etc/hyperhive".to_string(),
|
||||
nixpkgs_flake: String::new(),
|
||||
nixpkgs_unstable_flake: String::new(),
|
||||
dashboard_port: 7000,
|
||||
operator_pronouns: "she/her".to_string(),
|
||||
context_window_tokens: std::collections::HashMap::from([
|
||||
|
|
@ -433,7 +426,6 @@ impl Coordinator {
|
|||
let HiveEnv {
|
||||
hyperhive_flake,
|
||||
nixpkgs_flake,
|
||||
nixpkgs_unstable_flake,
|
||||
dashboard_port,
|
||||
operator_pronouns,
|
||||
context_window_tokens,
|
||||
|
|
@ -476,7 +468,6 @@ impl Coordinator {
|
|||
audit_log,
|
||||
hyperhive_flake,
|
||||
nixpkgs_flake,
|
||||
nixpkgs_unstable_flake,
|
||||
dashboard_port,
|
||||
operator_pronouns,
|
||||
context_window_tokens,
|
||||
|
|
@ -506,7 +497,6 @@ impl Coordinator {
|
|||
HiveEnv {
|
||||
hyperhive_flake: self.hyperhive_flake.clone(),
|
||||
nixpkgs_flake: self.nixpkgs_flake.clone(),
|
||||
nixpkgs_unstable_flake: self.nixpkgs_unstable_flake.clone(),
|
||||
dashboard_port: self.dashboard_port,
|
||||
operator_pronouns: self.operator_pronouns.clone(),
|
||||
context_window_tokens: self.context_window_tokens.clone(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue