about summary refs log tree commit diff
path: root/pkgs/applications/audio/noisetorch
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-09-03 20:46:39 +0200
committerGitHub <noreply@github.com>2022-09-03 20:46:39 +0200
commit14d08e2842fc4be119925dadb42b5170f88cd135 (patch)
tree6a86521a23bbc5d8fea284e4a1373ed699846307 /pkgs/applications/audio/noisetorch
parent4c3ad2e014e3e30ac0ccd7f5bf1ae5b7fd4eeb71 (diff)
parentcf7fc31384e502ecd379a7722ae790fcbecff26c (diff)
Merge pull request #184022 from Shawn8901/fix_noisetorch_desktopitem
Diffstat (limited to 'pkgs/applications/audio/noisetorch')
-rw-r--r--pkgs/applications/audio/noisetorch/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/applications/audio/noisetorch/default.nix b/pkgs/applications/audio/noisetorch/default.nix
index f422ad7fe136d..c305b9917617b 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; {