From 74fc8dc0ced8368c7196e7778b2b1ab99adafad6 Mon Sep 17 00:00:00 2001 From: Reno Reckling Date: Sat, 2 Jan 2016 03:58:07 +0100 Subject: [PATCH] fix ding desktop file path --- pkgs/applications/misc/ding/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/misc/ding/default.nix b/pkgs/applications/misc/ding/default.nix index a044eb1df920..46634e2698cf 100644 --- a/pkgs/applications/misc/ding/default.nix +++ b/pkgs/applications/misc/ding/default.nix @@ -34,6 +34,8 @@ stdenv.mkDerivation rec { sed -i "s@/usr/bin/fortune@fortune@g" ding + sed -i "s@/usr/bin/ding@$out/bin/ding@g" ding.desktop + cp ding $out/bin/ cp de-en.txt $out/share/dict/ cp ding.1 $out/share/man/man1/