From 9350c1d5ceb58d1d9ac92d3672ef34cbfb140b2a Mon Sep 17 00:00:00 2001 From: Benjamin Cahill Date: Sat, 8 Jun 2013 14:13:36 -0500 Subject: pianobar: Change license and clean up code The license was set to unfree so that Hydra doesn't build it; this is for potential problems arising from the Pandora TOS. --- pkgs/applications/audio/pianobar/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pkgs/applications/audio/pianobar/default.nix') diff --git a/pkgs/applications/audio/pianobar/default.nix b/pkgs/applications/audio/pianobar/default.nix index 222656b2f2b8..a9f4b02fa083 100644 --- a/pkgs/applications/audio/pianobar/default.nix +++ b/pkgs/applications/audio/pianobar/default.nix @@ -12,9 +12,7 @@ stdenv.mkDerivation rec { pkgconfig libao faad2 libmad json_c libgcrypt gnutls ]; - preBuild = " - makeFlags=\"PREFIX=$out\" - "; + makeFlags="PREFIX=$(out)"; CC = "gcc"; CFLAGS = "-std=c99"; @@ -23,5 +21,6 @@ stdenv.mkDerivation rec { description = "A console front-end for Pandora.com"; homepage = "http://6xq.net/projects/pianobar/"; platforms = stdenv.lib.platforms.linux; + license = stdenv.lib.licenses.unfree; }; } -- cgit 1.4.1