Re: [Nix-dev] [Nix-commits] [NixOS/nixpkgs] 5626c5: replace-dependency: don't break nixpkgs for people...

2013-01-13 Thread Eelco Dolstra
Hi,

On 12/01/13 15:48, Shea Levy wrote:

   Branch: refs/heads/master
   Home:   https://github.com/NixOS/nixpkgs
   Commit: 5626c5cdfb6de664881eb8b79dd54a8f4ca19b8f
   
 https://github.com/NixOS/nixpkgs/commit/5626c5cdfb6de664881eb8b79dd54a8f4ca19b8f
   Author: Shea Levy s...@shealevy.com
   Date:   2013-01-12 (Sat, 12 Jan 2013)
 
   Changed paths:
 M pkgs/top-level/all-packages.nix
 
   Log Message:
   ---
   replace-dependency: don't break nixpkgs for people living in the stone age

Urgh, please rename this to replaceDependency.  (Likewise for every other
variable pkgs/build-support/replace-dependency.nix.)  Function/variable names in
Nix use lower camel case, not dashes.

Also, why is this function included in the all-packages.nix attribute set?  It's
not a package, so there's no need to include it there.  Putting it in lib seems
better.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] ffmpeg 1.1

2013-01-13 Thread Lluís Batlle i Rossell
Hello,

how can I we update to ffmpeg 1.1?

We have a '1.0.nix' file, and 'ffmpeg_1_0' attribute, that I guess we could move
to either '1.1.nix' or '1.x.nix', in the sense that we don't have to keep 1.0
around.

What do you prefer? 1.x.nix, 1.1.nix, both 1.0 and 1.1 available, ...?

Regards,
Lluís.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] mips64el: syntax error in 'replace-dependency.nix'

2013-01-13 Thread Nikita Karetnikov
 Are you doing chroot builds?

No, '/etc/nix/nix.conf' is empty.

Also, the following errors appeared after that error.

[root@nixos:/]# ls
sh: /run/current-system/sw/bin/ls: No such file or directory

[root@nixos:/]# cd

[root@nixos:~]# whoami
sh: /run/current-system/sw/bin/whoami: No such file or directory

('cd' works.)

I doubt that a different '/bin/sh' will help.  This tarball worked in
the past.

Nikita


pgpN4hOTmkmY1.pgp
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] ffmpeg 1.1

2013-01-13 Thread Mathijs Kwik
A quick look at all-packages.nix shows that the following packages
currently use ffmpeg 1.0:
- vlc
- cfdg

If these 2 compile fine with 1.1, then 1.1 can replace 1.0, otherwise
just have 1.0 and 1.1

I would call it 1.1 for now, as ffmpeg upgrades usually seem to break
quite some packages and changes the versioning scheme quite a bit.
Noone can guarantee that 1.2 will be a drop-in replacement for 1.1, so
it's quite possible we will need both of the for a short time, until
packages get fixed. By calling it 1.x this becomes awkward, because
you would end up with 1.x _and_ 1.1 or 1.2.

Regards,
Mathijs

On Sun, Jan 13, 2013 at 10:51 PM, Lluís Batlle i Rossell
vi...@viric.name wrote:
 Hello,

 how can I we update to ffmpeg 1.1?

 We have a '1.0.nix' file, and 'ffmpeg_1_0' attribute, that I guess we could 
 move
 to either '1.1.nix' or '1.x.nix', in the sense that we don't have to keep 1.0
 around.

 What do you prefer? 1.x.nix, 1.1.nix, both 1.0 and 1.1 available, ...?

 Regards,
 Lluís.
 ___
 nix-dev mailing list
 nix-dev@lists.science.uu.nl
 http://lists.science.uu.nl/mailman/listinfo/nix-dev
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev