Skip to content

Commit 2382b8a

Browse files
committed
test(mcl): Allow for manual testing
1 parent 1c3349c commit 2382b8a

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

packages/mcl/dub.sdl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ dflags "-mcpu=baseline" platform="dmd"
2323

2424
dependency "mir-cpuid" version="~>1.2.11"
2525
dependency "silly" version="~>1.1.1"
26+
27+
libs "curl"

packages/mcl/test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
#export LD_DEBUG=all
3+
export LD_LIBRARY_PATH=$(nix eval --raw nixpkgs#curl.out.outPath)/lib:$LD_LIBRARY_PATH
4+
dub test -- -e 'coda|fetchJson'

shells/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ in
2626
inputs'.dlang-nix.packages.dmd
2727
inputs'.dlang-nix.packages.dub
2828
act
29+
curl
30+
pkg-config
2931
];
3032

3133
shellHook = ''

0 commit comments

Comments
 (0)