3 Star 1 Fork 1

Gitee 极速下载/ImplicitCAD

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/colah/ImplicitCAD
克隆/下载
shell.nix 906 Bytes
一键复制 编辑 原始数据 按行查看 历史
sorki 提交于 2024-01-06 14:23 . nix: multipackage, add overlay.nix
attrs@{...}:
let
inherit (import ./. attrs) pkgs haskellPackages;
hlib = pkgs.haskell.lib;
packages = [
"implicit"
"implicit-interpreter"
];
extract-external-inputs = p:
builtins.filter
(dep: !(builtins.elem dep packages))
(map
(x: x.pname)
(hlib.getHaskellBuildInputs haskellPackages.${p}));
external-inputs =
map
(x: haskellPackages.${x})
(builtins.concatLists
(map
extract-external-inputs
packages));
metaPackage =
haskellPackages.mkDerivation
{ pname = "implicit-shell";
version = "0.0.0.0";
libraryHaskellDepends = external-inputs;
license = pkgs.stdenv.lib.licenses.asl20;};
package-envs =
builtins.listToAttrs
(map
(p:
{ name = p;
value = haskellPackages.${p}.env;})
packages);
in
metaPackage.env // package-envs
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/ImplicitCAD.git
git@gitee.com:mirrors/ImplicitCAD.git
mirrors
ImplicitCAD
ImplicitCAD
master

搜索帮助