diff --git a/flake.lock b/flake.lock deleted file mode 100644 index e598a54..0000000 --- a/flake.lock +++ /dev/null @@ -1,96 +0,0 @@ -{ - "nodes": { - "flake-utils": { - "inputs": { - "systems": "systems" - }, - "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1780203844, - "narHash": "sha256-K5sT4jTpGs15ADhviMKNBH38REpPf5Q6mM1+N6cArVE=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "b51242d7d43689db2f3be91bd05d5b24fbb469c4", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-26.05", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_2": { - "locked": { - "lastModified": 1744536153, - "narHash": "sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg/N38=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "18dd725c29603f582cf1900e0d25f9f1063dbf11", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs", - "rust-overlay": "rust-overlay" - } - }, - "rust-overlay": { - "inputs": { - "nixpkgs": "nixpkgs_2" - }, - "locked": { - "lastModified": 1780543271, - "narHash": "sha256-oPJ7eJN1sM37v92Rp/eyQL7/rUm0BOvXEBAoq/zN0cM=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "c30ca201c5093540cf792f6982f81ba1aa0f3514", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "rust-overlay", - "type": "github" - } - }, - "systems": { - "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", - "version": 7 -} diff --git a/flake.nix b/flake.nix deleted file mode 100644 index e8b19c9..0000000 --- a/flake.nix +++ /dev/null @@ -1,98 +0,0 @@ -# SPDX-License-Identifier: MIT -# SPDX-FileCopyrightText: 2025 Jonathan D. A. Jewell -# -# Project Wharf - Nix Flake -# Reproducible development environment and builds -# -# Retained per standards#102 rule 3 (KEEP+DEP). guix.scm uses -# cargo-build-system with no declared inputs; the sealed Containerfile -# (Chainguard Wolfi) installs only `rust cargo pkgconf openssl-dev`. -# This flake's devShell is therefore the SOLE source of: the -# rust-overlay rustToolchain (with rust-src + rust-analyzer), the Rust -# auditing/QA chain (cargo-audit, cargo-tarpaulin, cargo-watch), -# task/build tooling (just, jq), DNS tooling (bind), security tooling -# (nebula), docs (asciidoctor), linting (codespell, lychee), and the -# container CLI (podman). Remove only once those are reachable via -# Guix or the sealed container. - -{ - description = "Wharf - The Sovereign Web Hypervisor"; - - inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05"; - rust-overlay.url = "github:oxalica/rust-overlay"; - flake-utils.url = "github:numtide/flake-utils"; - }; - - outputs = { self, nixpkgs, rust-overlay, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: - let - overlays = [ (import rust-overlay) ]; - pkgs = import nixpkgs { - inherit system overlays; - }; - - rustToolchain = pkgs.rust-bin.stable.latest.default.override { - extensions = [ "rust-src" "rust-analyzer" ]; - targets = [ "wasm32-unknown-unknown" ]; - }; - in - { - devShells.default = pkgs.mkShell { - buildInputs = with pkgs; [ - # Rust toolchain - rustToolchain - cargo-audit - cargo-tarpaulin - cargo-watch - - # Build tools - just - jq - - # DNS tools - bind - - # Security tools - nebula - - # Documentation - asciidoctor - - # Linting - codespell - lychee - - # Container tools - podman - ]; - - shellHook = '' - echo "🚢 Wharf Development Environment" - echo "Run 'just --list' for available commands" - ''; - }; - - packages.default = pkgs.rustPlatform.buildRustPackage { - pname = "wharf"; - version = "0.1.0"; - src = ./.; - cargoLock.lockFile = ./Cargo.lock; - }; - - checks = { - format = pkgs.runCommand "check-format" {} '' - cd ${self} - ${pkgs.rustfmt}/bin/cargo fmt --check - touch $out - ''; - - lint = pkgs.runCommand "check-lint" {} '' - cd ${self} - ${pkgs.clippy}/bin/cargo clippy -- -D warnings - touch $out - ''; - }; - } - ); -}