diff --git a/cosmic-web-apps.nix b/cosmic-web-apps.nix index 0b91445..911e5d6 100644 --- a/cosmic-web-apps.nix +++ b/cosmic-web-apps.nix @@ -1,6 +1,5 @@ { lib, - pkgconfig, fetchFromGitHub, openssl, git, @@ -12,6 +11,7 @@ gtk3, webkitgtk_4_1, wayland, + makeBinaryWrapper, }: rustPlatform.buildRustPackage rec { @@ -47,7 +47,7 @@ rustPlatform.buildRustPackage rec { wayland glib libxkbcommon - pkgconfig + pkg-config openssl git gtk3 @@ -56,9 +56,10 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ cmake pkg-config + makeBinaryWrapper ]; - postFixup = '' + postInstall = '' wrapProgram $out/bin/dev-heppen-webapps \ --prefix LD_LIBRARY_PATH : ${ lib.makeLibraryPath [ @@ -68,10 +69,10 @@ rustPlatform.buildRustPackage rec { } ''; - meta = with lib; { + meta = { description = " Web applications at your fingertips."; homepage = "https://github.com/cosmic-utils/web-apps"; - license = licenses.mit; - maintainers = with maintainers; [ berrij ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ berrij ]; }; }