This repository has been archived on 2025-01-07. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
opdavies.nvim/flake.nix

26 lines
645 B
Nix

{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = inputs@{ flake-parts, self, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" ];
perSystem = { pkgs, self', ... }: {
packages = {
default = pkgs.vimUtils.buildVimPlugin {
name = "opdavies";
postInstall = ''
rm $out/.envrc
rm $out/flake.lock
rm $out/flake.nix
rm $out/run
rm $out/stylua.toml
'';
src = ./.;
};
};
formatter = pkgs.nixpkgs-fmt;
};
};
}