Skip to content

Commit 2cb0d36

Browse files
chore(governance): land missing docs/packaging before the standards#505 gates bite (#5)
Remediates this repo against the two governance gates promoted from advisory to blocking in [hyperpolymath/standards#513](hyperpolymath/standards#513) (closing standards#505). Those gates previously **could not fail**: the docs check only emitted `::warning::`, and the package-policy job ended in an unconditional `✅ Package policy check passed`. They are now real, with a grace window — they begin **blocking on 2026-08-21**. This repo was measured as non-compliant, so this PR lands the missing files ahead of that date. **Added here:** `packaging` ### `flake.nix` A **dev shell**, not a package build. Estate policy is Guix primary / Nix fallback; this is the fallback tier, and a `guix.scm` is welcome later to move to the primary. - Packages mirror the tooling **actually present in this repo** (`just`), not a generic default. - `nixpkgs` is pinned to an exact revision per the estate SHA-pinning rule. - **Verified**: `nix flake check` passes (nix 2.35.1). Every package name was confirmed to exist in the pinned revision before generation — nothing here is guessed. --- Part of an estate-wide sweep; 63 repos were identified as non-compliant. Third-party/forked repos (`HOL`, `awesome-*`, `lua-filters`) were **excluded** per the licence policy's do-not-touch rule. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent 102c79e commit 2cb0d36

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

flake.nix

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
# SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
3+
#
4+
# Development environment for gnpl.
5+
#
6+
# Estate policy is Guix primary / Nix fallback (hyperpolymath/standards).
7+
# This is the Nix fallback tier. It is a dev shell, not a package build:
8+
# it declares the toolchain needed to work on this repo, pinned to an
9+
# exact nixpkgs revision per the estate SHA-pinning rule.
10+
#
11+
# Packages mirror the build tooling actually present in this repo
12+
# (just) — not a generic estate default.
13+
#
14+
# nix develop # enter the shell
15+
# nix flake check # verify this file evaluates (run before committing)
16+
{
17+
description = "gnpl development environment";
18+
19+
inputs.nixpkgs.url = "github:NixOS/nixpkgs/b134951a4c9f3c995fd7be05f3243f8ecd65d798";
20+
21+
outputs = { self, nixpkgs }:
22+
let
23+
systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
24+
forAllSystems = f:
25+
nixpkgs.lib.genAttrs systems (system: f nixpkgs.legacyPackages.${system});
26+
in
27+
{
28+
devShells = forAllSystems (pkgs: {
29+
default = pkgs.mkShell {
30+
packages = with pkgs; [ just ];
31+
};
32+
});
33+
};
34+
}

0 commit comments

Comments
 (0)