Compare commits
No commits in common. "a9bc0c8a7aca1a8f1c184d3c3a649d3f85fb3bc0" and "dce3a89665746f3c16a484ccf156fb7b2eac6b3b" have entirely different histories.
a9bc0c8a7a
...
dce3a89665
6
flake.lock
generated
6
flake.lock
generated
@ -2,11 +2,11 @@
|
|||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1710534455,
|
"lastModified": 1698266953,
|
||||||
"narHash": "sha256-huQT4Xs0y4EeFKn2BTBVYgEwJSv8SDlm82uWgMnCMmI=",
|
"narHash": "sha256-jf72t7pC8+8h8fUslUYbWTX5rKsRwOzRMX8jJsGqDXA=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9af9c1c87ed3e3ed271934cb896e0cdd33dae212",
|
"rev": "75a52265bda7fd25e06e3a67dee3f0354e73243c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
27
flake.nix
27
flake.nix
@ -12,6 +12,7 @@
|
|||||||
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};
|
||||||
@ -42,32 +43,6 @@
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
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