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"
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
"locked": {
|
||||
"lastModified": 1661353537,
|
||||
|
@ -66,12 +82,12 @@
|
|||
},
|
||||
"locked": {
|
||||
"lastModified": 0,
|
||||
"narHash": "sha256-C4eH2MjSU1/DPGxlCA7qvFssE6LgTLZ5CitdhFmiUfo=",
|
||||
"path": "/nix/store/za0r3rgi5ypsl3cnzxpi82ad5cvvyvva-source",
|
||||
"narHash": "sha256-oAI8i2Y3wSyvfkNe/1VgeE6/BRtMGTQtHyYGxMo5DQo=",
|
||||
"path": "/nix/store/bdzif6mvmzrhl01j20a1926c6jfq9szl-source",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "/nix/store/za0r3rgi5ypsl3cnzxpi82ad5cvvyvva-source",
|
||||
"path": "/nix/store/bdzif6mvmzrhl01j20a1926c6jfq9szl-source",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
|
@ -95,6 +111,7 @@
|
|||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-stable": "nixpkgs-stable",
|
||||
"nixvim": "nixvim"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,12 +4,16 @@
|
|||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||
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
|
||||
(system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
pkgs-stable = import nixpkgs-stable { inherit system; };
|
||||
build = nixvim.build pkgs;
|
||||
build-stable = nixvim.build pkgs-stable;
|
||||
in
|
||||
rec {
|
||||
# A plain nixvim configuration
|
||||
|
@ -45,7 +49,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
issue-40 = build {
|
||||
issue-40 = build-stable {
|
||||
plugins = {
|
||||
nix.enable = true;
|
||||
nvim-autopairs.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue