File tree Expand file tree Collapse file tree 1 file changed +19
-13
lines changed
Expand file tree Collapse file tree 1 file changed +19
-13
lines changed Original file line number Diff line number Diff line change 2323 lib . optionals ( pkgs . stdenv . hostPlatform . isLinux && config . compiler-nix-name == "ghc966" )
2424 [ p . ucrt64 p . musl64 ] ;
2525
26- modules = [ {
27- packages = lib . mkIf pkgs . stdenv . hostPlatform . isMusl {
28- # ruby fails to build with musl, hence we disable cddl tests
29- dmq-node . components . tests . dmq-cddl . build-tools = lib . mkForce [ ] ;
30- dmq-node . components . tests . dmq-cddl . doCheck = lib . mkForce false ;
31- dmq-node . ghcOptions = with pkgs ; [
32- "-L${ lib . getLib static-gmp } /lib"
33- "-L${ lib . getLib static-libsodium-vrf } /lib"
34- "-L${ lib . getLib static-secp256k1 } /lib"
35- "-L${ lib . getLib static-libblst } /lib"
36- ] ;
37- } ;
38- } ] ;
26+ modules = [
27+ {
28+ packages . dmq-node . components . tests . dmq-cddl . build-tools = [ pkgs . cddl pkgs . cbor-diag pkgs . cddlc ] ;
29+ packages . dmq-node . components . tests . dmq-cddl . preCheck = "export HOME=`pwd`" ;
30+ }
31+ {
32+ packages = lib . mkIf pkgs . stdenv . hostPlatform . isMusl {
33+ # ruby fails to build with musl, hence we disable cddl tests
34+ dmq-node . components . tests . dmq-cddl . build-tools = lib . mkForce [ ] ;
35+ dmq-node . components . tests . dmq-cddl . doCheck = lib . mkForce false ;
36+ dmq-node . ghcOptions = with pkgs ; [
37+ "-L${ lib . getLib static-gmp } /lib"
38+ "-L${ lib . getLib static-libsodium-vrf } /lib"
39+ "-L${ lib . getLib static-secp256k1 } /lib"
40+ "-L${ lib . getLib static-libblst } /lib"
41+ ] ;
42+ } ;
43+ }
44+ ] ;
3945 }
4046 ) ;
4147
You can’t perform that action at this time.
0 commit comments