diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2026-06-05 23:49:57 -0300 |
|---|---|---|
| committer | Marcos Magueta <maguetamarcos@gmail.com> | 2026-06-05 23:49:57 -0300 |
| commit | 294b35a81569819047d4af173000b4ff7bc5d6a6 (patch) | |
| tree | ff49d8fdc151415580caeec681b8c6d1ccb38030 /flake.nix | |
| parent | d135bb9108a94e00fc15df6ff55870d69a0128a0 (diff) | |
| download | Sakura-294b35a81569819047d4af173000b4ff7bc5d6a6.tar.gz Sakura-294b35a81569819047d4af173000b4ff7bc5d6a6.zip | |
github workflow
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -40,6 +40,7 @@ (nix-filter.lib.inDirectory "bplustree") (nix-filter.lib.inDirectory "bin") (nix-filter.lib.inDirectory "lib") + (nix-filter.lib.inDirectory "prl_api") (nix-filter.lib.inDirectory "shared") (nix-filter.lib.inDirectory "test") ]; @@ -97,6 +98,11 @@ buildPhase = patchDuneCommand oldAttrs.buildPhase; checkPhase = patchDuneCommand oldAttrs.checkPhase; installPhase = "touch $out"; + preCheck = '' + export CAML_LD_LIBRARY_PATH="${rnt}/lib''${CAML_LD_LIBRARY_PATH:+:$CAML_LD_LIBRARY_PATH}" + export LD_LIBRARY_PATH="${rnt}/lib''${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" + export DYLD_LIBRARY_PATH="${rnt}/lib''${DYLD_LIBRARY_PATH:+:$DYLD_LIBRARY_PATH}" + ''; }); dune-fmt = legacyPackages.runCommand "check-dune-fmt" { |
