File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
# Generic nixpkgs, use *only* for lib functions that are stable across versions
3
- pkgs , # ? (import ./. {}).pkgs,
3
+ pkgs ,
4
4
lib ? pkgs . lib
5
5
} : rec {
6
6
inherit ( import ./dimension.nix ) dimension ;
Original file line number Diff line number Diff line change 6
6
, checkMaterialization ? false
7
7
, compat
8
8
, system
9
- , evalSystem ? "x86_64-linux"
9
+ , evalSystem ? builtins . currentSystem or "x86_64-linux"
10
10
, pkgs ? ( compat { inherit system ; } ) . pkgs } :
11
11
let
12
12
inherit ( import ./ci-lib.nix { inherit pkgs ; } ) dimension platformFilterGeneric filterAttrsOnlyRecursive ;
Original file line number Diff line number Diff line change 125
125
126
126
# FIXME: Currently `nix flake check` requires `--impure` because coverage-golden
127
127
# (and maybe other tests) import projects that use builtins.currentSystem
128
- # checks = builtins.listToAttrs (map (pkg: {
129
- # name = pkg.name;
130
- # value = pkg;
131
- # }) (nixpkgs.lib.collect nixpkgs.lib.isDerivation (import ./test rec {
132
- # haskellNix = self.internal.compat { inherit system; };
133
- # compiler-nix-name = compiler;
134
- # pkgs = haskellNix.pkgs;
135
- # })));
128
+ checks = builtins . listToAttrs ( map ( pkg : {
129
+ name = pkg . name ;
130
+ value = pkg ;
131
+ } ) ( nixpkgs . lib . collect nixpkgs . lib . isDerivation ( import ./test rec {
132
+ haskellNix = self . internal . compat { inherit system ; } ;
133
+ compiler-nix-name = compiler ;
134
+ pkgs = haskellNix . pkgs ;
135
+ } ) ) ) ;
136
136
# Exposed so that buildkite can check that `allow-import-from-derivation=false` works for core of haskell.nix
137
137
roots = legacyPackagesUnstable . haskell-nix . roots compiler ;
138
138
Original file line number Diff line number Diff line change 26
26
constituents = lib . collect lib . isDerivation jobs ;
27
27
} ;
28
28
in
29
- jobs // { inherit required ; }
29
+ jobs // { inherit required ; }
You can’t perform that action at this time.
0 commit comments