File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -835,7 +835,7 @@ final: prev: {
835
835
else config . hsPkgs . ${ ( builtins . head available ) . id } . components . ${ collectionName } . ${ name } ;
836
836
componentsWithPrefix = collectionName : prefix :
837
837
final . lib . listToAttrs ( final . lib . concatLists ( final . lib . mapAttrsToList ( n : available :
838
- final . lib . optional ( final . lib . hasPrefix "${ prefix } :" n ) (
838
+ final . lib . optional ( final . lib . hasPrefix "${ prefix } :" n && ( builtins . length available != 1 || builtins . head available != "TargetNotBuildable" ) ) (
839
839
let
840
840
name = final . lib . removePrefix "${ prefix } :" n ;
841
841
value = lookupComponent collectionName name available ;
Original file line number Diff line number Diff line change 6
6
project = cabalProject' {
7
7
inherit compiler-nix-name evalPackages ;
8
8
src = testSrc "buildable" ;
9
- modules = [ { packages . buildable-test . flags . exclude-broken = true ; } ] ;
9
+ cabalProjectLocal = ''
10
+ package buildable-test
11
+ flags: +exclude-broken
12
+ '' ;
10
13
} ;
11
14
packages = project . hsPkgs ;
12
15
You can’t perform that action at this time.
0 commit comments