From 75b3c9eb95e616ec39794925e8e19409d9dcbdd0 Mon Sep 17 00:00:00 2001 From: Sven Keidel Date: Mon, 21 Jul 2014 18:05:08 +0200 Subject: [PATCH] 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. --- pkgs/applications/audio/gpodder/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/gpodder/default.nix b/pkgs/applications/audio/gpodder/default.nix index 5f5e551dcea1..19dacf51e5f5 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"; + }