Loading pkgs/by-name/so/soupault/package.nix +11 −3 Original line number Diff line number Diff line Loading @@ -3,6 +3,8 @@ darwin, fetchzip, ocamlPackages, ocaml, removeReferencesTo, soupault, stdenv, testers, Loading @@ -22,7 +24,9 @@ ocamlPackages.buildDunePackage rec { hash = "sha256-UABbrNNcNaN9NgtAjCs4HUoNXMaK4QvCuWERuEnMG6I="; }; nativeBuildInputs = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ nativeBuildInputs = [ removeReferencesTo ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ darwin.sigtool ]; Loading @@ -48,6 +52,10 @@ ocamlPackages.buildDunePackage rec { yaml ]; postFixup = '' find "$out" -type f -exec remove-references-to -t ${ocaml} '{}' + ''; passthru.tests.version = testers.testVersion { package = soupault; command = "soupault --version-number"; Loading Loading
pkgs/by-name/so/soupault/package.nix +11 −3 Original line number Diff line number Diff line Loading @@ -3,6 +3,8 @@ darwin, fetchzip, ocamlPackages, ocaml, removeReferencesTo, soupault, stdenv, testers, Loading @@ -22,7 +24,9 @@ ocamlPackages.buildDunePackage rec { hash = "sha256-UABbrNNcNaN9NgtAjCs4HUoNXMaK4QvCuWERuEnMG6I="; }; nativeBuildInputs = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ nativeBuildInputs = [ removeReferencesTo ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ darwin.sigtool ]; Loading @@ -48,6 +52,10 @@ ocamlPackages.buildDunePackage rec { yaml ]; postFixup = '' find "$out" -type f -exec remove-references-to -t ${ocaml} '{}' + ''; passthru.tests.version = testers.testVersion { package = soupault; command = "soupault --version-number"; Loading