Loading pkgs/development/compilers/flutter/engine/package.nix +14 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ stdenvNoCC, runCommand, patchelf, openbox, xorg, libglvnd, libepoxy, Loading Loading @@ -118,6 +119,8 @@ stdenv.mkDerivation { ''; }; nativeCheckInputs = lib.optionals stdenv.isLinux [ xorg.xorgserver openbox ]; nativeBuildInputs = [ python3 Loading Loading @@ -277,11 +280,22 @@ stdenv.mkDerivation { ${lib.optionalString (stdenv.isLinux) '' patchelf $out/out/$outName/dart-sdk/bin/dartaotruntime \ --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) find $out/out/$outName/exe.unstripped -executable -type f -exec patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) {} \; ''} runHook postBuild ''; # Tests are broken doCheck = false; checkPhase = '' ln -s $out/out src/out touch src/out/run_tests.log sh src/flutter/testing/run_tests.sh $outName rm src/out/run_tests.log ''; installPhase = '' runHook preInstall Loading Loading
pkgs/development/compilers/flutter/engine/package.nix +14 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ stdenvNoCC, runCommand, patchelf, openbox, xorg, libglvnd, libepoxy, Loading Loading @@ -118,6 +119,8 @@ stdenv.mkDerivation { ''; }; nativeCheckInputs = lib.optionals stdenv.isLinux [ xorg.xorgserver openbox ]; nativeBuildInputs = [ python3 Loading Loading @@ -277,11 +280,22 @@ stdenv.mkDerivation { ${lib.optionalString (stdenv.isLinux) '' patchelf $out/out/$outName/dart-sdk/bin/dartaotruntime \ --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) find $out/out/$outName/exe.unstripped -executable -type f -exec patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) {} \; ''} runHook postBuild ''; # Tests are broken doCheck = false; checkPhase = '' ln -s $out/out src/out touch src/out/run_tests.log sh src/flutter/testing/run_tests.sh $outName rm src/out/run_tests.log ''; installPhase = '' runHook preInstall Loading