From ede4f1e8f598ee6401836088232ffebf78d42ea3 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Fri, 22 Sep 2023 18:26:46 +0200 Subject: [PATCH] reason: fix passthru tests --- pkgs/development/compilers/reason/tests/hello/default.nix | 7 +++++-- pkgs/development/compilers/reason/tests/hello/dune-project | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 pkgs/development/compilers/reason/tests/hello/dune-project diff --git a/pkgs/development/compilers/reason/tests/hello/default.nix b/pkgs/development/compilers/reason/tests/hello/default.nix index 9b551a0a1ee5..3def42ec08f7 100644 --- a/pkgs/development/compilers/reason/tests/hello/default.nix +++ b/pkgs/development/compilers/reason/tests/hello/default.nix @@ -1,4 +1,4 @@ -{ lib, buildDunePackage, reason }: +{ buildDunePackage, ppxlib, reason }: buildDunePackage rec { pname = "helloreason"; @@ -6,9 +6,12 @@ buildDunePackage rec { src = ./.; - useDune2 = true; + nativeBuildInputs = [ + reason + ]; buildInputs = [ + ppxlib reason ]; diff --git a/pkgs/development/compilers/reason/tests/hello/dune-project b/pkgs/development/compilers/reason/tests/hello/dune-project new file mode 100644 index 000000000000..2f602c3083f4 --- /dev/null +++ b/pkgs/development/compilers/reason/tests/hello/dune-project @@ -0,0 +1 @@ +(lang dune 3.10)