From 0514b9d8c90ea5818b180d7f1aac4a8dc10a5c00 Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Sat, 24 Jan 2026 23:27:10 +1000 Subject: [PATCH] remove remote mix input --- flake.lock | 73 +-------------------------------------- flake.nix | 12 +++---- nt/primitives/default.nix | 1 + 3 files changed, 7 insertions(+), 79 deletions(-) diff --git a/flake.lock b/flake.lock index def4020..5999137 100644 --- a/flake.lock +++ b/flake.lock @@ -1,77 +1,6 @@ { "nodes": { - "mix": { - "inputs": { - "nib": "nib" - }, - "locked": { - "lastModified": 1768525804, - "narHash": "sha256-jlpNb7Utqfdq2HESAB1mtddWHOsxKlTjPiLFRLd35r8=", - "owner": "emilelcb", - "repo": "mix", - "rev": "617d8915a6518a3d4e375b87c50ae34d9daee6c6", - "type": "github" - }, - "original": { - "owner": "emilelcb", - "repo": "mix", - "type": "github" - } - }, - "nib": { - "inputs": { - "systems": "systems" - }, - "locked": { - "lastModified": 1768472076, - "narHash": "sha256-bdVRCDy6oJx/CZiyxkke783FgtBW//wDuOAITUsQcNc=", - "owner": "emilelcb", - "repo": "nib", - "rev": "42ac66dfc180a13af1cc8850397db66ec5556991", - "type": "github" - }, - "original": { - "owner": "emilelcb", - "repo": "nib", - "type": "github" - } - }, - "root": { - "inputs": { - "mix": "mix", - "systems": "systems_2" - } - }, - "systems": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, - "systems_2": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - } + "root": {} }, "root": "root", "version": 7 diff --git a/flake.nix b/flake.nix index db0ba25..549749a 100644 --- a/flake.nix +++ b/flake.nix @@ -1,11 +1,9 @@ { description = "NixTypes (nt)"; - inputs = { - systems.url = "github:nix-systems/default"; - mix.url = "github:emilelcb/mix"; - }; - - outputs = {...} @ inputs: - import ./nt inputs; + outputs = _: let + # nt depends on the mix subsystem for bootstrapping + mix = import ./nt/primitives/mix; + in + import ./nt {inherit mix;}; } diff --git a/nt/primitives/default.nix b/nt/primitives/default.nix index 0031fea..961f6cd 100644 --- a/nt/primitives/default.nix +++ b/nt/primitives/default.nix @@ -4,6 +4,7 @@ mix.newMixture inputs (mixture: { ./nt.nix ]; submods.public = [ + ./mix # TODO: make ./util private ./util ];