This repository has been archived on 2025-01-07. You can view files and clone it, but cannot push or open issues or pull requests.
opdavies.nvim/flake.nix

27 lines
645 B
Nix
Raw Normal View History

2024-01-23 21:33:40 +00:00
{
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
2024-01-25 00:11:51 +00:00
rm $out/run
2024-01-23 21:33:40 +00:00
rm $out/stylua.toml
'';
src = ./.;
};
};
formatter = pkgs.nixpkgs-fmt;
};
};
}