This commit is contained in:
Shelvacu
2025-04-12 16:39:47 -07:00
committed by Shelvacu on fw
parent 8f0a663b11
commit f73a89c40d
4 changed files with 24 additions and 0 deletions

View File

@@ -471,9 +471,11 @@
};
haproxy-lua-http = pkgs.callPackage ./packages/haproxy-lua-http.nix { };
liam-sieve-script = self.nixosConfigurations.liam.config.vacu.liam-sieve-script;
lean4 = pkgs-unstable.lean4;
nixvim = inputs.nixvim.legacyPackages.${system}.makeNixvimWithModule {
module = {
imports = [ ./nixvim ];
_module.args = { inherit pkgs-unstable; };
};
};
nix-inspect = inputs.nix-inspect.packages.${system}.default;

View File

@@ -1,8 +1,20 @@
{
config,
lib,
pkgs-unstable,
...
}:
let
lean4_custom = pkgs-unstable.lean4.overrideAttrs {
version = "4.18.0";
src = pkgs-unstable.fetchFromGitHub {
owner = "leanprover";
repo = "lean4";
tag = "v4.18.0";
hash = "sha256-1hVcRO9RbVUgoKTUTFXBqJZwt50/aw/P9dxUdI7RpCc=";
};
};
in
{
opts = {
smartindent = true;
@@ -14,6 +26,7 @@
plugins.vim-surround.enable = true;
plugins.lean = {
enable = true;
leanPackage = lean4_custom;
mappings = true;
};
plugins.lsp = {

View File

@@ -3,4 +3,5 @@ map import [
./newPackages.nix
./fetchurl-with-wetransfer
./betterbird
./lean4Latest.nix
]

8
overlays/lean4Latest.nix Normal file
View File

@@ -0,0 +1,8 @@
self: super: {
lean4 = super.lean4.overrideAttrs { src = self.fetchFromGitHub {
owner = "leanprover";
repo = "lean4";
tag = "v4.18.0";
hash = "sha256-1hVcRO9RbVUgoKTUTFXBqJZwt50/aw/P9dxUdI7RpCc=";
}; };
}