Author: simons
Date: Sat Jan 21 21:25:45 2012
New Revision: 31785
URL: https://nixos.org/websvn/nix/?rev=31785&sc=1

Log:
mplayer: renamed the expression from "mplayer-r${version}" to 
"mplayer-${version}"

The additional 'r' after the hyphen prevented nix-env from recognizing the SVN
revision number as a version'ish kind of thing; thus nix-env would never update
an installed mplayer in any user profile.

In other words, to get this particular update, you must remove the old
expression by running

    nix-env -e mplayer-r33472

..., and then install the new one:

nix-env -i mplayer

Modified:
   nixpkgs/trunk/pkgs/applications/video/MPlayer/default.nix

Modified: nixpkgs/trunk/pkgs/applications/video/MPlayer/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/applications/video/MPlayer/default.nix   Sat Jan 21 
21:25:41 2012        (r31784)
+++ nixpkgs/trunk/pkgs/applications/video/MPlayer/default.nix   Sat Jan 21 
21:25:45 2012        (r31785)
@@ -73,7 +73,7 @@
 in
 
 stdenv.mkDerivation rec {
-  name = "mplayer-r${mplayerRev}";
+  name = "mplayer-${mplayerRev}";
 
   src = fetchsvn {
     # Old kind of URL:
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to