File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 13
13
14
14
packages = project . hsPkgs ;
15
15
16
+ meta = {
17
+ platforms = platforms . all ;
18
+ # Making this work for cross compilers will be difficult.
19
+ disabled = stdenv . buildPlatform != stdenv . hostPlatform ;
20
+ } ;
21
+
16
22
in recurseIntoAttrs ( {
17
23
ifdInputs = {
18
- inherit ( project ) plan-nix ;
24
+ plan-nix = addMetaAttrs meta project . plan-nix ;
19
25
} ;
20
-
21
26
run = stdenv . mkDerivation {
22
27
name = "cabal-doctests-test" ;
23
28
@@ -30,12 +35,6 @@ in recurseIntoAttrs ({
30
35
touch $out
31
36
'' ;
32
37
33
- meta = {
34
- platforms = platforms . all ;
35
- # Making this work for cross compilers will be difficult.
36
- disabled = stdenv . buildPlatform != stdenv . hostPlatform ;
37
- } ;
38
-
39
38
passthru = {
40
39
# Used for debugging with nix repl
41
40
inherit project packages ;
You can’t perform that action at this time.
0 commit comments