File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 33 darwin ,
44 fetchzip ,
55 ocamlPackages ,
6+ ocaml ,
7+ removeReferencesTo ,
68 soupault ,
79 stdenv ,
810 testers ,
@@ -22,9 +24,11 @@ ocamlPackages.buildDunePackage rec {
2224 hash = "sha256-UABbrNNcNaN9NgtAjCs4HUoNXMaK4QvCuWERuEnMG6I=" ;
2325 } ;
2426
25- nativeBuildInputs = lib . optionals ( stdenv . hostPlatform . isDarwin && stdenv . hostPlatform . isAarch64 ) [
26- darwin . sigtool
27- ] ;
27+ nativeBuildInputs =
28+ [ removeReferencesTo ]
29+ ++ lib . optionals ( stdenv . hostPlatform . isDarwin && stdenv . hostPlatform . isAarch64 ) [
30+ darwin . sigtool
31+ ] ;
2832
2933 buildInputs = with ocamlPackages ; [
3034 base64
@@ -48,6 +52,10 @@ ocamlPackages.buildDunePackage rec {
4852 yaml
4953 ] ;
5054
55+ postFixup = ''
56+ find "$out" -type f -exec remove-references-to -t ${ ocaml } '{}' +
57+ '' ;
58+
5159 passthru . tests . version = testers . testVersion {
5260 package = soupault ;
5361 command = "soupault --version-number" ;
You can’t perform that action at this time.
0 commit comments