From 686cff417a98d9e4c30a042cd0a1219717140e46 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 18 Aug 2024 05:57:01 -0400 Subject: [PATCH] pot: use cargo-tauri.hook --- pkgs/by-name/po/pot/package.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/pkgs/by-name/po/pot/package.nix b/pkgs/by-name/po/pot/package.nix index daf547cf47e5..72f6dd5e2889 100644 --- a/pkgs/by-name/po/pot/package.nix +++ b/pkgs/by-name/po/pot/package.nix @@ -60,7 +60,7 @@ stdenv.mkDerivation (finalAttrs: { rustPlatform.cargoSetupHook cargo rustc - cargo-tauri + cargo-tauri.hook nodejs pnpm.configHook wrapGAppsHook3 @@ -101,15 +101,6 @@ stdenv.mkDerivation (finalAttrs: { chmod +w .. ''; - preBuild = '' - # Use cargo-tauri from nixpkgs instead of pnpm tauri from npm - cargo tauri build -b deb - ''; - - preInstall = '' - mv target/release/bundle/deb/*/data/usr/ $out - ''; - meta = with lib; { description = "Cross-platform translation software"; mainProgram = "pot";