mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
add nixos-22.05 test
This commit is contained in:
parent
389fbafb20
commit
08f3a9d78a
2 changed files with 26 additions and 5 deletions
23
tests/flake.lock
generated
23
tests/flake.lock
generated
|
@ -44,6 +44,22 @@
|
||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-stable": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1664790708,
|
||||||
|
"narHash": "sha256-fzxmpOPjzOVIt9KeDN4EDPI13xJn+u0uMxheKCWken8=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "81a3237b64e67b66901c735654017e75f0c50943",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-22.05",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1661353537,
|
"lastModified": 1661353537,
|
||||||
|
@ -66,12 +82,12 @@
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 0,
|
"lastModified": 0,
|
||||||
"narHash": "sha256-C4eH2MjSU1/DPGxlCA7qvFssE6LgTLZ5CitdhFmiUfo=",
|
"narHash": "sha256-oAI8i2Y3wSyvfkNe/1VgeE6/BRtMGTQtHyYGxMo5DQo=",
|
||||||
"path": "/nix/store/za0r3rgi5ypsl3cnzxpi82ad5cvvyvva-source",
|
"path": "/nix/store/bdzif6mvmzrhl01j20a1926c6jfq9szl-source",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"path": "/nix/store/za0r3rgi5ypsl3cnzxpi82ad5cvvyvva-source",
|
"path": "/nix/store/bdzif6mvmzrhl01j20a1926c6jfq9szl-source",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -95,6 +111,7 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
|
"nixpkgs-stable": "nixpkgs-stable",
|
||||||
"nixvim": "nixvim"
|
"nixvim": "nixvim"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,12 +4,16 @@
|
||||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||||
inputs.nixvim.url = "./..";
|
inputs.nixvim.url = "./..";
|
||||||
|
|
||||||
outputs = { self, nixvim, nixpkgs, flake-utils, ... }:
|
inputs.nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-22.05";
|
||||||
|
|
||||||
|
outputs = { self, nixvim, nixpkgs, flake-utils, nixpkgs-stable, ... }:
|
||||||
(flake-utils.lib.eachDefaultSystem
|
(flake-utils.lib.eachDefaultSystem
|
||||||
(system:
|
(system:
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
|
pkgs-stable = import nixpkgs-stable { inherit system; };
|
||||||
build = nixvim.build pkgs;
|
build = nixvim.build pkgs;
|
||||||
|
build-stable = nixvim.build pkgs-stable;
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
# A plain nixvim configuration
|
# A plain nixvim configuration
|
||||||
|
@ -45,7 +49,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
issue-40 = build {
|
issue-40 = build-stable {
|
||||||
plugins = {
|
plugins = {
|
||||||
nix.enable = true;
|
nix.enable = true;
|
||||||
nvim-autopairs.enable = true;
|
nvim-autopairs.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue