From 8b6d799dd739aacb2c5ee79ca5ac12bf919dc471 Mon Sep 17 00:00:00 2001 From: hyperpolymath <6759885+hyperpolymath@users.noreply.github.com> Date: Wed, 24 Jun 2026 12:36:56 +0100 Subject: [PATCH] chore(nix->guix): remove flake.nix (Guix-only estate policy) --- flake.lock | 82 ------------------------------------------------ flake.nix | 91 ------------------------------------------------------ 2 files changed, 173 deletions(-) delete mode 100644 flake.lock delete mode 100644 flake.nix diff --git a/flake.lock b/flake.lock deleted file mode 100644 index bcc163f..0000000 --- a/flake.lock +++ /dev/null @@ -1,82 +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": 1735563628, - "narHash": "sha256-OnSAY7XDSx7CtDoqNh8jwVwh4xNL/2HaJxGjryLWzX8=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "b134951a4c9f3c995fd7be05f3243f8ecd65d798", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-24.05", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs", - "rust-overlay": "rust-overlay" - } - }, - "rust-overlay": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1776395632, - "narHash": "sha256-Mi1uF5f2FsdBIvy+v7MtsqxD3Xjhd0ARJdwoqqqPtJo=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "8087ff1f47fff983a1fba70fa88b759f2fd8ae97", - "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 81d8c65..0000000 --- a/flake.nix +++ /dev/null @@ -1,91 +0,0 @@ -# SPDX-License-Identifier: MPL-2.0 -# SPDX-FileCopyrightText: 2025 Jonathan D.A. Jewell -# flake.nix — robot-vacuum-cleaner (Nix fallback, Guix is primary) -{ - description = "Robot Vacuum Cleaner - Simulation system with Julia and Rust implementations"; - - inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; - flake-utils.url = "github:numtide/flake-utils"; - rust-overlay = { - url = "github:oxalica/rust-overlay"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - }; - - outputs = { self, nixpkgs, flake-utils, rust-overlay }: - 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" ]; - }; - in - { - devShells.default = pkgs.mkShell { - buildInputs = with pkgs; [ - # Rust toolchain - rustToolchain - cargo-watch - cargo-audit - cargo-deny - - # Julia - julia-bin - - # Build tools - gnumake - just - pkg-config - - # Security tools - gitleaks - trivy - - # Development utilities - git - pre-commit - hadolint - - # Container tools - podman - skopeo - ]; - - shellHook = '' - echo "robot-vacuum-cleaner development environment" - echo "Nix fallback shell (Guix is primary package manager)" - echo "" - echo "Available tools:" - echo " - Rust: $(rustc --version)" - echo " - Cargo: $(cargo --version)" - echo " - Julia: $(julia --version 2>/dev/null || echo 'not in PATH')" - echo " - Just: $(just --version)" - echo "" - echo "Run 'just' to see available commands" - ''; - - RUST_SRC_PATH = "${rustToolchain}/lib/rustlib/src/rust/library"; - }; - - # NOTE: Build requires Cargo.lock to be generated first - # Run: cd src/rust && cargo generate-lockfile - packages.default = pkgs.rustPlatform.buildRustPackage { - pname = "robot-vacuum-cleaner"; - version = "0.1.0"; - src = ./src/rust; - cargoHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="; # Update after first build - - meta = with pkgs.lib; { - description = "Robot Vacuum Cleaner simulation system"; - homepage = "https://github.com/hyperpolymath/robot-vacuum-cleaner"; - license = with licenses; [ mit agpl3Plus ]; - maintainers = []; - }; - }; - } - ); -}