Compare commits
2 Commits
dce3a89665
...
a9bc0c8a7a
Author | SHA1 | Date | |
---|---|---|---|
a9bc0c8a7a | |||
5bba266c6e |
6
flake.lock
generated
6
flake.lock
generated
@ -2,11 +2,11 @@
|
|||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1698266953,
|
"lastModified": 1710534455,
|
||||||
"narHash": "sha256-jf72t7pC8+8h8fUslUYbWTX5rKsRwOzRMX8jJsGqDXA=",
|
"narHash": "sha256-huQT4Xs0y4EeFKn2BTBVYgEwJSv8SDlm82uWgMnCMmI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "75a52265bda7fd25e06e3a67dee3f0354e73243c",
|
"rev": "9af9c1c87ed3e3ed271934cb896e0cdd33dae212",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
27
flake.nix
27
flake.nix
@ -12,7 +12,6 @@
|
|||||||
supportedSystems = ["x86_64-linux" "aarch64-linux"];
|
supportedSystems = ["x86_64-linux" "aarch64-linux"];
|
||||||
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
|
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
|
||||||
nixpkgsFor = forAllSystems (system: import nixpkgs {inherit system;});
|
nixpkgsFor = forAllSystems (system: import nixpkgs {inherit system;});
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux.pkgs;
|
|
||||||
in {
|
in {
|
||||||
packages = forAllSystems (system: let
|
packages = forAllSystems (system: let
|
||||||
pkgs = nixpkgsFor.${system};
|
pkgs = nixpkgsFor.${system};
|
||||||
@ -43,6 +42,32 @@
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
overlays = forAllSystems (system: let
|
||||||
|
pkgs = nixpkgsFor.${system};
|
||||||
|
in {
|
||||||
|
overlay = final: prev: {
|
||||||
|
nvim = pkgs.symlinkJoin {
|
||||||
|
name = "nvim";
|
||||||
|
paths = with pkgs;
|
||||||
|
[
|
||||||
|
alejandra
|
||||||
|
ccls
|
||||||
|
gopls
|
||||||
|
luaformatter
|
||||||
|
nixd
|
||||||
|
pyright
|
||||||
|
rust-analyzer
|
||||||
|
sumneko-lua-language-server
|
||||||
|
svls
|
||||||
|
texlab
|
||||||
|
tree-sitter
|
||||||
|
verible
|
||||||
|
zls
|
||||||
|
]
|
||||||
|
++ [self.packages.${system}.nvim];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
});
|
||||||
defaultPackage = forAllSystems (system: self.packages.${system}.nvim);
|
defaultPackage = forAllSystems (system: self.packages.${system}.nvim);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user