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!
nix run github:boheastill/qoder-nix -- --no-sandboxAdd 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 ];
})
];
};
};
}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"]
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 缺失的烦恼,也不再有权限报错!
nix run github:boheastill/qoder-nix -- --no-sandbox如果你想把 qoder 永久安装到系统里,可以使用 Overlay(配置同上英文版)。
flake.nix: 项目的现代入口。定义了依赖(inputs)、输出(outputs)和开发环境(devShells)。package.nix: 构建配方(原 default.nix)。包含了如何下载 .deb 包、如何解压、以及最重要的——如何修补二进制文件(Auto Patchelf)以适应 NixOS 环境。
MIT License - see LICENSE for details.
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 →