insulator2: clean up dependencies and fix structure of $out (#407804)

authored by Aleksana and committed by GitHub b4fe3a21 d1403af9

+27 -30
+27 -30
pkgs/by-name/in/insulator2/package.nix
··· 1 { 2 lib, 3 - cmake, 4 - dbus, 5 fetchFromGitHub, 6 fetchYarnDeps, 7 - openssl, 8 pkg-config, 9 freetype, 10 libsoup_2_4, 11 - gtk3, 12 webkitgtk_4_0, 13 - perl, 14 - cyrus_sasl, 15 - stdenv, 16 - yarnConfigHook, 17 - nodejs-slim, 18 - cargo-tauri_1, 19 - cargo, 20 - rustPlatform, 21 - rustc, 22 - jq, 23 - moreutils, 24 }: 25 26 stdenv.mkDerivation rec { ··· 60 cargoRoot = "backend/"; 61 buildAndTestSubdir = cargoRoot; 62 63 dontUseCmakeConfigure = true; 64 65 - preInstall = '' 66 - mkdir -p "$out" 67 - ''; 68 - 69 nativeBuildInputs = [ 70 cmake 71 pkg-config 72 - perl 73 rustPlatform.cargoSetupHook 74 - cargo 75 - rustc 76 - cargo-tauri_1.hook 77 yarnConfigHook 78 - nodejs-slim 79 - cyrus_sasl 80 - jq 81 - moreutils # for sponge 82 ]; 83 84 buildInputs = [ 85 - dbus 86 - openssl.out 87 freetype 88 libsoup_2_4 89 - gtk3 90 webkitgtk_4_0 91 ]; 92 93 meta = with lib; { 94 description = "Client UI to inspect Kafka topics, consume, produce and much more";
··· 1 { 2 lib, 3 + stdenv, 4 + 5 fetchFromGitHub, 6 fetchYarnDeps, 7 + 8 + cargo, 9 + cargo-tauri_1, 10 + cmake, 11 + jq, 12 + moreutils, 13 + nodejs-slim, 14 pkg-config, 15 + rustc, 16 + rustPlatform, 17 + yarnConfigHook, 18 + 19 + cyrus_sasl, 20 freetype, 21 libsoup_2_4, 22 + openssl, 23 webkitgtk_4_0, 24 }: 25 26 stdenv.mkDerivation rec { ··· 60 cargoRoot = "backend/"; 61 buildAndTestSubdir = cargoRoot; 62 63 + strictDeps = true; 64 + 65 dontUseCmakeConfigure = true; 66 67 nativeBuildInputs = [ 68 + cargo 69 + cargo-tauri_1.hook 70 cmake 71 + jq 72 + moreutils # for sponge 73 + nodejs-slim 74 pkg-config 75 + rustc 76 rustPlatform.cargoSetupHook 77 yarnConfigHook 78 ]; 79 80 buildInputs = [ 81 + cyrus_sasl 82 freetype 83 libsoup_2_4 84 + openssl 85 webkitgtk_4_0 86 ]; 87 + 88 + env.OPENSSL_NO_VENDOR = 1; 89 90 meta = with lib; { 91 description = "Client UI to inspect Kafka topics, consume, produce and much more";