This repository has no description
1{
2 inputs.parts.url = "github:hercules-ci/flake-parts";
3 inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
4 inputs.tangled.url = "git+https://tangled.org/tangled.org/core";
5
6 outputs = inp:
7 inp.parts.lib.mkFlake {inputs = inp;} {
8 systems = ["x86_64-linux"];
9 perSystem = {
10 config,
11 pkgs,
12 ...
13 }: {
14 devShells.default = pkgs.mkShell {
15 packages = with pkgs; [rustfmt rust-analyzer rustPlatform.rustLibSrc rustc cargo];
16 BOBBIN_LEXICONS_DIR="${inp.tangled}/lexicons";
17 };
18 packages.bobbin = pkgs.callPackage ./default.nix {
19 tangled = inp.tangled;
20 };
21 packages.default = config.packages.bobbin;
22 };
23 };
24}