원클릭으로
nix-packaging
Use this when writing or modifying Nix package definitions and related repo exports in this NUR repository.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use this when writing or modifying Nix package definitions and related repo exports in this NUR repository.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Run nix-update across all packages in this repo, fix build failures, and land each package's changes as its own separate jj commit. Use when asked to "update all packages", "bump everything", "run nix-update on all packages", or similar bulk-update requests.
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
Build a fully automated AI-powered data collection agent for any public source — job boards, prices, news, GitHub, sports, anything. Scrapes on a schedule, enriches data with a free LLM (Gemini Flash), stores results in Notion/Sheets/Supabase, and learns from user feedback. Runs 100% free on GitHub Actions. Use when the user wants to monitor, collect, or track any public data automatically.
Use when large data ingestion, backfill, export, ETL, warehouse loading, manifest catch-up, or table synchronization needs to become much faster while preserving data correctness.
Use when users ask how to write, explain, customize, migrate, secure, or troubleshoot GitHub Actions workflows, workflow syntax, triggers, matrices, runners, reusable workflows, artifacts, caching, secrets, OIDC, deployments, custom actions, or Actions Runner Controller, especially when they need official GitHub documentation, exact links, or docs-grounded YAML guidance.
| name | nix-packaging |
| description | Use this when writing or modifying Nix package definitions and related repo exports in this NUR repository. |
pkgs/lib/default.nix or lib/default.nixdefault.nix is the source of truth for exported packages.lib/default.nix is the source of truth for library helpers and currently exports fetchPixiv.modules/default.nix and overlays/default.nix are placeholders right now; do not document them as populated unless you add real entries.ci.nix, not from guesswork.Used heavily for GUI apps and helpers.
Examples:
pkgs/JMComic-qt.nixpkgs/picacg-qt.nixpkgs/sr-vulkan.nixCommon patterns:
python3Packages.buildPythonApplicationpython3Packages.buildPythonPackagepostInstallExample: pkgs/LoveIwara/default.nix
Use flutter341.buildFlutterApplication for reproducible Linux desktop builds:
pubspec.lock as pubspec.lock.jsoncustomSourceBuilders when Dart native-asset hooks attempt sandboxed downloadsruntimeDependenciespostInstallExample: pkgs/waybar-vd/default.nix
rustPlatform.buildRustPackage rec {
pname = "...";
version = "...";
cargoLock.lockFile = ./Cargo.lock;
postPatch = ''
ln -s ${./Cargo.lock} Cargo.lock
'';
}
Example: pkgs/mihomo-smart.nix
buildGoModule rec {
pname = "...";
version = "...";
vendorHash = "sha256-...";
}
Example: pkgs/hyprland-mcp-server.nix
buildNpmPackage rec {
pname = "...";
version = "...";
npmDepsHash = "sha256-...";
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/${pname}" --prefix PATH : "${lib.makeBinPath [ ... ]}"
'';
}
stdenvNoCC packagesExample: pkgs/mcp-cli.nix
This repo also contains packages that:
bun install --frozen-lockfilebun build --compileExamples:
pkgs/grub-theme-yorha.nixUse stdenv.mkDerivation or stdenvNoCC.mkDerivation for asset packages, extracted binaries, or custom build workflows.
default.nixsome-package = pkgs.callPackage ./pkgs/some-package.nix { };
lib/default.nix{ pkgs }:
{
someHelper = pkgs.callPackage ./someHelper/default.nix { };
}
JMComic-qt / picacg-qt: Python GUI packaging plus runtime wrappingLoveIwara: source-built Flutter GUI with offline pub dependencies, system SQLite, libmpv runtime wrapping, and upstream desktop integrationsr-vulkan: model composition through sr-vulkan-modelshyprland-mcp-server: npm packaging plus PATH wrappingfetchPixiv: helper-style library export using fetchurl fallback URLshash = lib.fakeHash;
Then rebuild and copy the real hash from the failure output.
nix-prefetch-url --unpack <url>
nix-prefetch-github owner repo --rev v1.0.0
default.nix or lib/default.nix if neededmeta is complete enough for CI filtering and flake exposurenix-build -A <pkg> or equivalent