File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 36
36
let
37
37
inherit ( nixpkgs . lib ) nixosSystem ;
38
38
inherit ( nixpkgs . lib . filesystem ) packagesFromDirectoryRecursive listFilesRecursive ;
39
- inherit ( nixpkgs . legacyPackages ) x86_64-linux aarch64-linux ;
40
39
inherit ( builtins ) listToAttrs map replaceStrings ;
41
40
42
- nameOf = path : replaceStrings [ ".nix" ] [ "" ] ( baseNameOf ( toString path ) ) ;
43
41
forAllSystems =
44
42
function :
45
43
nixpkgs . lib . genAttrs [
46
44
"x86_64-linux"
47
45
"aarch64-linux"
48
46
] ( system : function nixpkgs . legacyPackages . ${ system } ) ;
47
+
48
+ nameOf = path : replaceStrings [ ".nix" ] [ "" ] ( baseNameOf ( toString path ) ) ;
49
49
in
50
50
{
51
51
packages = forAllSystems (
83
83
84
84
value = import file {
85
85
inherit self ;
86
- pkgs = x86_64-linux ;
86
+ pkgs = nixpkgs . legacyPackages . x86_64-linux ;
87
87
} ;
88
88
} ) ( listFilesRecursive ./tests )
89
89
) ;
You can’t perform that action at this time.
0 commit comments