Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qoder-nix

NixOS License: MIT

English | 中文


Introduction

This is an unofficial Nix derivation for running Qoder IDE.

It allows you to run Qoder IDE effortlessly on NixOS (or any Linux with Nix). No more missing libgbm errors, no more permission issues!

🚀 Quick Start

Method 1: Instant Run (no checkout needed)

nix run github:boheastill/qoder-nix -- --no-sandbox

Method 2: NixOS Installation (Overlay)

Add to your flake.nix to install permanently:

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    qoder-nix.url = "github:boheastill/qoder-nix";
  };

  outputs = { self, nixpkgs, qoder-nix }: {
    nixosConfigurations.your-hostname = nixpkgs.lib.nixosSystem {
      modules = [
        ({ pkgs, ... }: {
          nixpkgs.overlays = [ qoder-nix.overlays.default ];
          environment.systemPackages = [ pkgs.qoder ];
        })
      ];
    };
  };
}

🏗️ How the packaging works

flowchart LR
    D["Official Qoder .deb"] --> U["Unpack"]
    U --> P["Auto Patchelf<br/>rewrite binary interpreter + rpath"]
    P --> W["Wrap with required libs<br/>libgbm and friends"]
    W --> R["pkgs.qoder<br/>runs natively on NixOS"]
Loading

📂 Project Structure

  • flake.nix: The modern entry point. Defines dependencies (inputs), build targets (outputs), and development shells.
  • package.nix: The build recipe. It contains the logic for downloading the .deb, unpacking it, and patching the binaries (Auto Patchelf) for NixOS.

简介

这是一个为 Qoder IDE 编写的非官方 Nix 打包脚本。

它可以让你在 NixOS(或任何安装了 Nix 的 Linux 系统)上轻松运行 Qoder IDE。不再有 libgbm 缺失的烦恼,也不再有权限报错!

🚀 快速开始

方法 1:直接运行 (无需下载代码)

nix run github:boheastill/qoder-nix -- --no-sandbox

方法 2:添加到 NixOS 配置

如果你想把 qoder 永久安装到系统里,可以使用 Overlay(配置同上英文版)。

📂 文件说明

  • flake.nix: 项目的现代入口。定义了依赖(inputs)、输出(outputs)和开发环境(devShells)。
  • package.nix: 构建配方(原 default.nix)。包含了如何下载 .deb 包、如何解压、以及最重要的——如何修补二进制文件(Auto Patchelf)以适应 NixOS 环境。

License

MIT License - see LICENSE for details.

Disclaimer

This is an unofficial package. Qoder is a product of its respective owners.


Built by Bohea Still — independent developer taking on automation, AI-pipeline and hardware↔software integration projects. Case studies →

About

Run Qoder IDE on NixOS effortlessly. 在 NixOS 上一键运行 Qoder IDE 的最佳方案

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages