Skip to content

Commit eef57e7

Browse files
chore: purge banned Nix tooling + dependabot accuracy (#36)
Part of the a2ml-validate-action hygiene pass. Removes Nix (banned estate-wide; Guix only) from active tooling and corrects the template-cruft dependabot config. ## Removed - `flake.nix` - `.envrc` nix-flake activation block - `Justfile` `nix-shell` recipe - `.machine_readable/scripts/lifecycle/install-tools.sh` nix branch → now **guix-first**, then asdf - `.gitattributes` `*.nix` / `flake.lock` rules - `.gitignore` Nix / `flake.lock` section - `.editorconfig` `[*.nix]` block ## Dependabot Trimmed to **github-actions only**. The repo ships no language manifests (no Cargo.toml/mix.exs/package.json), and `nix`/`pip`(Python)/`npm` ecosystems are banned estate-wide. Also drops the `cargo` `ignore: semver-patch` anti-pattern inherited from the template. ## Deliberately NOT included (need owner decisions / manual pass) - **`.github/CONTRIBUTING.md`** — broken template residue (wrong clone URL, malformed, stale names) that GitHub serves over the clean root `CONTRIBUTING.md`. Needs a dedup decision, not a one-line patch. - Root **`CONTRIBUTING.md`** `nix develop` line — file lacks the owner-attribution string the pre-commit hook requires, so editing it is part of your manual licence/header pass. - **Doc mentions** of Nix that describe it as an external/standard option (`docs/RSR_OUTLINE.adoc` Tier-2 list, `docs/STATE-VISUALIZER.adoc` diagram). - **`.machine_readable/`** Nix references — part of the separate machine-readable restructure. Signed; no licence/SPDX header edits. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 8080491 commit eef57e7

8 files changed

Lines changed: 7 additions & 229 deletions

File tree

.editorconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ indent_size = 2
5656
[*.scm]
5757
indent_size = 2
5858

59-
[*.nix]
60-
indent_size = 2
61-
6259
[Justfile]
6360
indent_style = space
6461
indent_size = 4

.envrc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ if has guix && [ -f guix.scm ]; then
1212
use guix
1313
fi
1414

15-
# Load Nix flake if flake.nix exists
16-
if has nix && [ -f flake.nix ]; then
17-
use flake
18-
fi
19-
2015
# Project environment variables
2116
export PROJECT_NAME="a2ml-validate-action"
2217
export RSR_TIER="infrastructure"

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
*.scm text eol=lf
1919
*.a2ml text eol=lf linguist-language=TOML
2020
*.ncl text eol=lf
21-
*.nix text eol=lf
2221

2322
# Docs
2423
*.md text eol=lf diff=markdown
@@ -52,4 +51,3 @@ Containerfile text eol=lf
5251

5352
# Lock files
5453
Cargo.lock text eol=lf -diff
55-
flake.lock text eol=lf -diff

.github/dependabot.yml

Lines changed: 2 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SPDX-License-Identifier: MPL-2.0
22
# Dependabot configuration for RSR-compliant repositories
3-
# Covers common ecosystems - remove unused ones for your project
3+
# Only github-actions is enabled: this repo ships no language manifests
4+
# (no Cargo.toml/mix.exs/etc.), and Nix/Python(pip)/npm are banned estate-wide.
45

56
version: 2
67
updates:
@@ -13,36 +14,3 @@ updates:
1314
actions:
1415
patterns:
1516
- "*"
16-
17-
# Rust/Cargo
18-
- package-ecosystem: "cargo"
19-
directory: "/"
20-
schedule:
21-
interval: "weekly"
22-
ignore:
23-
- dependency-name: "*"
24-
update-types: ["version-update:semver-patch"]
25-
26-
# Elixir/Mix
27-
- package-ecosystem: "mix"
28-
directory: "/"
29-
schedule:
30-
interval: "weekly"
31-
32-
# Node.js/npm
33-
- package-ecosystem: "npm"
34-
directory: "/"
35-
schedule:
36-
interval: "weekly"
37-
38-
# Python/pip
39-
- package-ecosystem: "pip"
40-
directory: "/"
41-
schedule:
42-
interval: "weekly"
43-
44-
# Nix flakes
45-
- package-ecosystem: "nix"
46-
directory: "/"
47-
schedule:
48-
interval: "weekly"

.gitignore

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,6 @@ __pycache__/
5252
/obj/
5353
/bin/
5454

55-
# Nix
56-
# flake.lock is ignored in the template repo because each project should
57-
# generate its own lock file on first use. In derived projects, REMOVE this
58-
# line and track flake.lock for reproducible builds.
59-
flake.lock
60-
6155
# Haskell
6256
/.stack-work/
6357
/dist-newstyle/

.machine_readable/scripts/lifecycle/install-tools.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
#
44
# install-tools.sh — Developer toolchain installer
55
#
6-
# Detects and installs the required project toolchain (asdf, nix, or guix).
6+
# Detects and installs the required project toolchain (guix or asdf).
77

88
set -euo pipefail
99

1010
echo "=== RSR Toolchain Installer ==="
1111

12-
if [ -f "flake.nix" ] && command -v nix &>/dev/null; then
13-
echo "Nix detected. Setting up development shell..."
14-
nix develop --command echo "Nix shell verified."
12+
if [ -f "guix.scm" ] && command -v guix &>/dev/null; then
13+
echo "Guix detected. Setting up development environment..."
14+
guix shell -D -f guix.scm -- echo "Guix environment verified."
1515
elif [ -f ".tool-versions" ] && command -v asdf &>/dev/null; then
1616
echo "asdf detected. Installing plugins and tools..."
1717
while read -r line; do
@@ -20,7 +20,7 @@ elif [ -f ".tool-versions" ] && command -v asdf &>/dev/null; then
2020
done < .tool-versions
2121
asdf install
2222
else
23-
echo "No standard toolchain (Nix/asdf) detected or installed."
23+
echo "No standard toolchain (guix/asdf) detected or installed."
2424
echo "Please refer to README.adoc for manual setup instructions."
2525
fi
2626

Justfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -800,10 +800,6 @@ guix-shell:
800800
guix-build:
801801
guix build -f guix.scm
802802
803-
# Enter Nix development shell (fallback)
804-
nix-shell:
805-
@if [ -f "flake.nix" ]; then nix develop; else echo "No flake.nix"; fi
806-
807803
# ═══════════════════════════════════════════════════════════════════════════════
808804
# HYBRID AUTOMATION
809805
# ═══════════════════════════════════════════════════════════════════════════════

flake.nix

Lines changed: 0 additions & 170 deletions
This file was deleted.

0 commit comments

Comments
 (0)