repos / neovimcraft

website that makes it easy to find neovim plugins
git clone https://github.com/neurosnap/neovimcraft.git

commit
64f87b9
parent
a3a3e11
author
Eric Bower
date
2021-12-14 05:52:37 +0000 UTC
add flake
2 files changed,  +19, -9
A flake.nix
+19, -0
 1@@ -0,0 +1,19 @@
 2+{
 3+  description = "development environment for robodux";
 4+  inputs = {
 5+    nixpkgs.url = "github:nixos/nixpkgs";
 6+    flake-utils.url = "github:numtide/flake-utils";
 7+  };
 8+  outputs = { self, nixpkgs, flake-utils }:
 9+    flake-utils.lib.eachDefaultSystem (system:
10+      let
11+        pkgs = nixpkgs.legacyPackages.${system};
12+      in {
13+        devShell = pkgs.mkShell {
14+          buildInputs = [
15+            pkgs.nodejs-14_x
16+            pkgs.yarn
17+          ];
18+        };
19+      });
20+}
D shell.nix
+0, -9
 1@@ -1,9 +0,0 @@
 2-let pkgs = import <nixpkgs> {};
 3-
 4-in pkgs.mkShell rec {
 5-  name = "neovimcraft";
 6-
 7-  buildInputs = with pkgs; [
 8-    nodejs yarn google-cloud-sdk
 9-  ];
10-}