mirror of
https://codeberg.org/bunbun/bunbun.dev
synced 2025-01-22 04:34:29 -08:00
31 lines
687 B
Nix
31 lines
687 B
Nix
|
{
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||
|
};
|
||
|
|
||
|
outputs = { self, nixpkgs, ... } @ inputs:
|
||
|
let
|
||
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||
|
in
|
||
|
{
|
||
|
devShells.x86_64-linux.default = pkgs.mkShell {
|
||
|
buildInputs = [
|
||
|
(pkgs.lua5_1.withPackages (ps: with ps; [
|
||
|
(
|
||
|
let
|
||
|
buildLuarocksPackage = ps.buildLuarocksPackage;
|
||
|
in
|
||
|
pkgs.callPackage ./cmark.nix {
|
||
|
inherit buildLuarocksPackage;
|
||
|
}
|
||
|
)
|
||
|
luafilesystem
|
||
|
luasocket
|
||
|
luasec
|
||
|
fennel
|
||
|
]))
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|