Skip to content

Commit 1f094ff

Browse files
committed
Tidy up
1 parent c0b6ab8 commit 1f094ff

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

ci-lib.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
# Generic nixpkgs, use *only* for lib functions that are stable across versions
3-
pkgs, # ? (import ./. {}).pkgs,
3+
pkgs,
44
lib ? pkgs.lib
55
}: rec {
66
inherit (import ./dimension.nix) dimension;

ci.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
, checkMaterialization ? false
77
, compat
88
, system
9-
, evalSystem ? "x86_64-linux"
9+
, evalSystem ? builtins.currentSystem or "x86_64-linux"
1010
, pkgs ? (compat { inherit system; }).pkgs }:
1111
let
1212
inherit (import ./ci-lib.nix { inherit pkgs; }) dimension platformFilterGeneric filterAttrsOnlyRecursive;

flake.nix

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,14 @@
125125

126126
# FIXME: Currently `nix flake check` requires `--impure` because coverage-golden
127127
# (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+
})));
136136
# Exposed so that buildkite can check that `allow-import-from-derivation=false` works for core of haskell.nix
137137
roots = legacyPackagesUnstable.haskell-nix.roots compiler;
138138

release.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
constituents = lib.collect lib.isDerivation jobs;
2727
};
2828
in
29-
jobs // { inherit required; }
29+
jobs // { inherit required; }

0 commit comments

Comments
 (0)