diff --git a/pkgs/applications/audio/mp3val/default.nix b/pkgs/applications/audio/mp3val/default.nix index 76aaeaf8e6b4..0957420b6585 100644 --- a/pkgs/applications/audio/mp3val/default.nix +++ b/pkgs/applications/audio/mp3val/default.nix @@ -12,8 +12,7 @@ stdenv.mkDerivation rec { makefile = "Makefile.linux"; installPhase = '' - mkdir -p $out/bin/ - cp mp3val $out/bin/ + install -Dv mp3val "$out/bin/mp3val" ''; meta = { @@ -30,7 +29,7 @@ stdenv.mkDerivation rec { ''; homepage = http://mp3val.sourceforge.net/index.shtml; license = stdenv.lib.licenses.gpl2; - platforms = stdenv.lib.platforms.linux; + platforms = stdenv.lib.platforms.unix; maintainers = [ stdenv.lib.maintainers.devhell ]; }; }