[PR #288] [CLOSED] added flake.nix, package.nix, and documentation #359

Closed
opened 2026-10-26 09:49:03 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/deepseek-ai/3FS/pull/288
Author: @connerohnesorge
Created: 5/27/2025
Status: ❌ Closed

Base: main ← Head: main


📝 Commits (3)

  • 310118e added flake.nix, package.nix, and documentation
  • c15454e added the nixos module tests and config tests for nixos
  • 16468b0 fix inheritted inputs from flake.nix

📊 Changes

6 files changed (+1354 additions, -0 deletions)

View changed files

➕ README-nix.md (+235 -0)
➕ flake.lock (+61 -0)
➕ flake.nix (+368 -0)
➕ nixos-module-test.nix (+210 -0)
➕ nixos-test-config.nix (+102 -0)
➕ package.nix (+378 -0)

📄 Description

This pull request introduces a Nix-based packaging system for the 3FS, including a NixOS module, development environment, and integration tests. The changes span the addition of a README-nix.md for documentation, a flake.nix file for flake-based configuration, and a package.nix file for building 3FS and its dependencies. Below are the most important changes, grouped by theme:

Documentation and Quick Start Guide

  • Added README-nix.md with detailed instructions on building, configuring, and testing 3FS using Nix and NixOS. It includes a quick start guide, service configurations, and troubleshooting tips.

Nix Flake Configuration

  • Introduced flake.nix to define inputs, outputs, and a NixOS module for 3FS. It provides systemd service configurations for 3FS components (e.g., meta, storage, mgmtd, monitor, fuse) and a development shell with tools like Clang, Rust, and debugging utilities.

Nix Package Definition

  • Added package.nix to define the build process for 3FS. It includes custom configurations for dependencies like jemalloc, FoundationDB, and Rust components, as well as patches to use system libraries where possible.

These changes provide a comprehensive Nix-based solution for building, deploying, and developing 3FS on NixOS systems.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/deepseek-ai/3FS/pull/288 **Author:** [@connerohnesorge](https://github.com/connerohnesorge) **Created:** 5/27/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`310118e`](https://github.com/deepseek-ai/3FS/commit/310118ef088d022b67a3e4ab4dbccaf507505445) added flake.nix, package.nix, and documentation - [`c15454e`](https://github.com/deepseek-ai/3FS/commit/c15454e15344f4e92510dd9540ac24acfdf7b43c) added the nixos module tests and config tests for nixos - [`16468b0`](https://github.com/deepseek-ai/3FS/commit/16468b0110cfc78e9ee9ed90ef58357421edff67) fix inheritted inputs from flake.nix ### 📊 Changes **6 files changed** (+1354 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `README-nix.md` (+235 -0) ➕ `flake.lock` (+61 -0) ➕ `flake.nix` (+368 -0) ➕ `nixos-module-test.nix` (+210 -0) ➕ `nixos-test-config.nix` (+102 -0) ➕ `package.nix` (+378 -0) </details> ### 📄 Description This pull request introduces a Nix-based packaging system for the 3FS, including a NixOS module, development environment, and integration tests. The changes span the addition of a `README-nix.md` for documentation, a `flake.nix` file for flake-based configuration, and a `package.nix` file for building 3FS and its dependencies. Below are the most important changes, grouped by theme: ### Documentation and Quick Start Guide * Added `README-nix.md` with detailed instructions on building, configuring, and testing 3FS using Nix and NixOS. It includes a quick start guide, service configurations, and troubleshooting tips. ### Nix Flake Configuration * Introduced `flake.nix` to define inputs, outputs, and a NixOS module for 3FS. It provides systemd service configurations for 3FS components (e.g., meta, storage, mgmtd, monitor, fuse) and a development shell with tools like Clang, Rust, and debugging utilities. ### Nix Package Definition * Added `package.nix` to define the build process for 3FS. It includes custom configurations for dependencies like jemalloc, FoundationDB, and Rust components, as well as patches to use system libraries where possible. These changes provide a comprehensive Nix-based solution for building, deploying, and developing 3FS on NixOS systems. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-26 09:49:03 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/3FS#359
No description provided.