summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorSven Keidel <svenkeidel@googlemail.com>2014-07-21 18:05:08 +0200
committerSven Keidel <svenkeidel@googlemail.com>2014-07-21 18:05:08 +0200
commit75b3c9eb95e616ec39794925e8e19409d9dcbdd0 (patch)
treec50bbd0c1a4a95be389463b458111ad962ba9a22 /pkgs/applications
parent1a484c8ba203c70fec3a0306e36e86808b385e5e (diff)
Use make install instead of setup.py directly.
Using setup.py results in the following error message:

    Missing file: share/applications/gpodder.desktop

    If you want to install, use "make install" instead of using
    setup.py directly. See the README file for more information.
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/audio/gpodder/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/audio/gpodder/default.nix b/pkgs/applications/audio/gpodder/default.nix
index 5f5e551dcea1b..19dacf51e5f55 100644
--- a/pkgs/applications/audio/gpodder/default.nix
+++ b/pkgs/applications/audio/gpodder/default.nix
@@ -23,11 +23,12 @@ in buildPythonPackage rec {
 
   checkPhase = "make unittest";
 
-  makeFlags = [ "DESTDIR=/" "PREFIX=$out" ];
-
   preFixup = ''
     wrapProgram $out/bin/gpodder \
       ${optionalString (gpodderHome != "") "--set GPODDER_HOME ${gpodderHome}"} \
       ${optionalString (gpodderDownloadDir != "") "--set GPODDER_DOWNLOAD_DIR ${gpodderDownloadDir}"}
   '';
+
+  installPhase = "DESTDIR=/ PREFIX=$out make install";
+
 }