22 Star 146 Fork 39

Gitee 极速下载/code-server

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/codercom/code-server
克隆/下载
flake.nix 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
Asher 提交于 7个月前 . Update Code to 1.95.1 (#7059)
{
description = "code-server";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem
(system:
let pkgs = nixpkgs.legacyPackages.${system};
nodejs = pkgs.nodejs_20;
in {
devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
nodejs
python3
pkg-config
git
rsync
jq
moreutils
quilt
bats
openssl
];
buildInputs = with pkgs; (lib.optionals (!stdenv.isDarwin) [ libsecret libkrb5 ]
++ (with xorg; [ libX11 libxkbfile ])
++ lib.optionals stdenv.isDarwin (with pkgs.darwin.apple_sdk.frameworks; [
AppKit Cocoa CoreServices Security xcbuild
]));
};
}
);
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/mirrors/code-server.git
git@gitee.com:mirrors/code-server.git
mirrors
code-server
code-server
main

搜索帮助