File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 22# The present file is based on https://github.com/NixOS/nixpkgs/blob/1d2cfef5e965ca6933a8aa696eadfa556d90fab3/pkgs/build-support/agda/default.nix
33# FIXME: this file is haskell-updates, double-check that nothing changes once it gets merged in unstable
44# but it would be nice to expose this in upstream so that we don't have to duplicate the file
5+
56{
67 stdenv ,
78 lib ,
1213 writeText ,
1314 ghcWithPackages ,
1415} :
16+
1517let
1618 inherit ( lib )
1719 elem
1820 filter
1921 filterAttrs
20- isList
2122 isAttrs
23+ isList
2224 platforms
2325 ;
2426
5456 unwrapped = agda2hs ;
5557 inherit withPackages ;
5658 } ;
59+ meta = agda2hs . meta ;
5760 }
5861 ''
5962 mkdir -p $out/bin
127130 # the referenced issue doesn't seem to surface on darwin. Hence let's
128131 # set this only on non-darwin.
129132 LC_ALL = optionalString ( ! stdenv . hostPlatform . isDarwin ) "C.UTF-8" ;
130- } ;
131133
132- in {
134+ meta = if meta . broken or false then meta // { hydraPlatforms = platforms . none ; } else meta ;
135+ } ;
136+ in
137+ {
133138 mkDerivation = args : stdenv . mkDerivation ( args // defaults args ) ;
134139
135140 inherit mkLibraryFile withPackages withPackages' ;
You can’t perform that action at this time.
0 commit comments