diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 2824b32dccf9..29df4d5cdc6d 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -1832,6 +1832,13 @@ githubId = 6091755; name = "Anirrudh Krishnan"; }; + anish = { + email = "i@anish.land"; + github = "ap-1"; + githubId = 67872951; + name = "Anish Pallati"; + keys = [ { fingerprint = "2A0A 16F5 E026 BE3B A47F B7A6 841A FB68 9A5B ACCB"; } ]; + }; ankhers = { email = "me@ankhers.dev"; github = "ankhers"; diff --git a/pkgs/by-name/di/dioxus-cli/package.nix b/pkgs/by-name/di/dioxus-cli/package.nix index 8464548ca211..d3be3f661a3d 100644 --- a/pkgs/by-name/di/dioxus-cli/package.nix +++ b/pkgs/by-name/di/dioxus-cli/package.nix @@ -6,7 +6,8 @@ cacert, openssl, rustfmt, - nix-update-script, + makeWrapper, + wasm-bindgen-cli_0_2_106, testers, dioxus-cli, withTelemetry ? false, @@ -35,6 +36,7 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ pkg-config cacert + makeWrapper ]; buildInputs = [ @@ -53,7 +55,6 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; passthru = { - updateScript = nix-update-script { }; tests = { version = testers.testVersion { package = dioxus-cli; @@ -65,6 +66,11 @@ rustPlatform.buildRustPackage (finalAttrs: { }; }; + postInstall = '' + wrapProgram $out/bin/dx \ + --prefix PATH : ${lib.makeBinPath [ wasm-bindgen-cli_0_2_106 ]} + ''; + meta = { description = "CLI for building fullstack web, desktop, and mobile apps with a single codebase."; homepage = "https://dioxus.dev"; @@ -75,6 +81,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; maintainers = with lib.maintainers; [ cathalmullan + anish ]; platforms = lib.platforms.all; mainProgram = "dx";