mirror of
https://github.com/tuxdotrs/tnvim.git
synced 2025-07-05 21:26:33 +05:30
24 lines
517 B
Nix
Executable File
24 lines
517 B
Nix
Executable File
{
|
|
description = "tux's nvim configuration";
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
}: let
|
|
systems = [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
"x86_64-darwin"
|
|
"aarch64-darwin"
|
|
];
|
|
|
|
forAllSystems = function: nixpkgs.lib.genAttrs systems (system: function nixpkgs.legacyPackages.${system});
|
|
in {
|
|
packages = forAllSystems (pkgs: rec {
|
|
default = tnvim;
|
|
tnvim = pkgs.callPackage ./default.nix {};
|
|
});
|
|
};
|
|
}
|