-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
executable file
·55 lines (46 loc) · 1.05 KB
/
flake.nix
File metadata and controls
executable file
·55 lines (46 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
neovim-flake.url = "github:notashelf/neovim-flake";
neovim-flake.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = {
self,
nixpkgs,
...
}: let
inherit (pkgs) neovimUtils;
pkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [
defaultOverlay
];
};
defaultOverlay = _: prev: {
prev.vimPlugins.power-mode-nvim = neovim-plugin;
};
neovim-plugin = pkgs.stdenv.mkDerivation {
pname = "power-mode.nvim";
version = "2024-03-07";
src = ./src;
buildPhase = ''
mkdir $out;
'';
installPhase = ''
echo huh
ls $src
echo testing 3
cp -r $src/* $out
'';
meta = {};
};
in rec {
packages.x86_64-linux.default = neovim-plugin;
overlays.default = defaultOverlay;
overlays.power-mode-nvim = overlays.default;
devShells.x86_64-linux.default =
pkgs.mkShell {
};
};
}