reason.tests.hello: Prevent unnecessary rebuilds

E.g. from Nix file changes
This commit is contained in:
Silvan Mosberger 2024-06-14 21:16:03 +02:00 committed by Vincent Laporte
parent f006c8e547
commit c572d05e10

View File

@ -1,10 +1,18 @@
{ buildDunePackage, ppxlib, reason }:
{ lib, buildDunePackage, ppxlib, reason }:
buildDunePackage rec {
pname = "helloreason";
version = "0.0.1";
src = ./.;
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./helloreason.opam
./helloreason.re
./dune-project
./dune
];
};
nativeBuildInputs = [
reason