Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# SPDX-License-Identifier: MPL-2.0
# SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
#
# Development environment for quandledb.
#
# Estate policy is Guix primary / Nix fallback (hyperpolymath/standards).
# This is the Nix fallback tier. It is a dev shell, not a package build:
# it declares the toolchain needed to work on this repo, pinned to an
# exact nixpkgs revision per the estate SHA-pinning rule.
#
# No build toolchain was detected in this repository, so the shell
# carries only git. Add packages here as the repo grows one.
#
# nix develop # enter the shell
# nix flake check # verify this file evaluates (run before committing)
{
description = "quandledb development environment";

inputs.nixpkgs.url = "github:NixOS/nixpkgs/b134951a4c9f3c995fd7be05f3243f8ecd65d798";

outputs = { self, nixpkgs }:
let
systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
forAllSystems = f:
nixpkgs.lib.genAttrs systems (system: f nixpkgs.legacyPackages.${system});
in
{
devShells = forAllSystems (pkgs: {
default = pkgs.mkShell {
packages = with pkgs; [ git ];
};
});
};
}