File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 27
27
{ pkgs , system , ... } :
28
28
{
29
29
# NOTE: this is the publicly documented flake output we've had for a while
30
- check = pkgs . callPackage ../lib/tests.nix { inherit self ; } ;
30
+ check = pkgs . callPackage ../lib/tests.nix {
31
+ inherit lib self system ;
32
+ } ;
31
33
32
34
# NOTE: no longer needs to be per-system
33
35
helpers = lib . warn "nixvim: `<nixvim>.lib.${ system } .helpers` has been moved to `<nixvim>.lib.nixvim` and no longer depends on a specific system" self . lib . nixvim ;
Original file line number Diff line number Diff line change 1
1
{
2
2
self ,
3
- pkgs ,
4
- lib ? pkgs . lib ,
5
- ...
3
+ system ,
4
+ lib ,
6
5
} :
7
6
let
8
- defaultPkgs = pkgs ;
7
+ defaultSystem = system ;
9
8
10
9
# Create a nix derivation from a nixvim executable.
11
10
# The build phase simply consists in running the provided nvim binary.
31
30
{
32
31
name ? null ,
33
32
pkgs ? null ,
34
- system ? defaultPkgs . stdenv . hostPlatform . system ,
33
+ system ? defaultSystem ,
35
34
module ,
36
35
extraSpecialArgs ? { } ,
37
36
} :
Original file line number Diff line number Diff line change 8
8
pkgs ,
9
9
pkgsUnfree ,
10
10
self ,
11
+ system ,
11
12
} :
12
13
let
13
14
fetchTests = callTest ./fetch-tests.nix { } ;
14
- test-derivation = callPackage ../lib/tests.nix { inherit self ; } ;
15
+ test-derivation = callPackage ../lib/tests.nix {
16
+ inherit lib self system ;
17
+ } ;
15
18
inherit ( test-derivation ) mkTestDerivationFromNixvimModule ;
16
19
17
20
moduleToTest =
You can’t perform that action at this time.
0 commit comments