Having some fun

This commit is contained in:
2025-10-12 22:59:13 +02:00
parent 7c270cb7a8
commit bdb3b8c5b4
5 changed files with 206 additions and 0 deletions

49
flake.nix Normal file
View File

@ -0,0 +1,49 @@
{
description = "Tataruuuuuuuu";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
lispbm.url = "github:svenssonjoel/lispbm";
};
outputs = inputs@{ nixpkgs, flake-parts, lispbm, ... }:
flake-parts.lib.mkFlake {inherit inputs;} {
systems = [
"x86_64-linux"
];
perSystem = {self', pkgs, system, ...}: {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
overlays = [
lispbm.overlays.default
# # Above doesn't work due to segfault
(final: prev: {
lispbm-repl = lispbm.outputs.packages.${system}.repl;
lispbm-repl64 = lispbm.outputs.packages.${system}.repl64;
lispbm-c-doc = lispbm.outputs.packages.${system}.c-doc;
lispbm-doc = lispbm.outputs.packages.${system}.doc;
})
];
};
# packages.default = self'.packages.tataru;
# packages.tataru = pkgs.stdenv.mkDerivation {
# pname = "Tataru";
# version = "0.0.1";
# src = ./.;
# nativeBuildInputs = with pkgs; [ ];
# buildInputs = [ ];
# };
devShells.default = pkgs.mkShell {
packages = with pkgs; [ lispbm-repl ];
};
};
};
}