From cf7fc31384e502ecd379a7722ae790fcbecff26c Mon Sep 17 00:00:00 2001 From: Shawn8901 Date: Sat, 30 Jul 2022 20:48:18 +0200 Subject: [PATCH] noisetorch: install desktop item --- pkgs/applications/audio/noisetorch/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/audio/noisetorch/default.nix b/pkgs/applications/audio/noisetorch/default.nix index 9fcd35a9de32..909b77ce082b 100644 --- a/pkgs/applications/audio/noisetorch/default.nix +++ b/pkgs/applications/audio/noisetorch/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub, copyDesktopItems }: +{ lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "NoiseTorch"; @@ -20,8 +20,6 @@ buildGoModule rec { subPackages = [ "." ]; - nativeBuildInputs = [ copyDesktopItems ]; - preBuild = '' make -C c/ladspa/ go generate @@ -30,7 +28,7 @@ buildGoModule rec { postInstall = '' install -D ./assets/icon/noisetorch.png $out/share/icons/hicolor/256x256/apps/noisetorch.png - copyDesktopItems assets/noisetorch.desktop $out/share/applications/ + install -Dm444 ./assets/noisetorch.desktop $out/share/applications/noisetorch.desktop ''; meta = with lib; {