flake.nix 470 B

123456789101112131415161718
  1. {
  2. description = "Neovim configuration";
  3. inputs = {
  4. nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
  5. };
  6. outputs = { self, nixpkgs }:
  7. let
  8. withPkgs = system: import nixpkgs {
  9. inherit system;
  10. };
  11. in
  12. {
  13. packages.x86_64-linux.default = (withPkgs "x86_64-linux").callPackage ./neovim.nix {};
  14. packages.x86_64-linux.playground = (withPkgs "x86_64-linux").callPackage ./neovim.nix { withPlayground = true; };
  15. };
  16. }