Files
Tataru/flake.nix
2025-10-12 22:59:13 +02:00

50 lines
1.3 KiB
Nix

{
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 ];
};
};
};
}