Re: [Nix-dev] staging -- master merge imminent

2015-03-01 Thread Lluís Batlle i Rossell
On Fri, Feb 20, 2015 at 11:45:01AM +0100, Vladimír Čunát wrote: On 02/20/2015 11:36 AM, Lluís Batlle i Rossell wrote: If that commit could be merged into master, it would be nice. I'd be able to commit to master instead. We'd better wait a few days for Hydra to catch up a bit:

Re: [Nix-dev] rebuild tells me that hashes of packages are not correct...

2015-03-01 Thread Vladimír Čunát
Hi. On 03/01/2015 11:19 AM, Matthias Beyer wrote: I was away from my home machine for ~2 Weeks, today a nixos-rebuild test fails with five packages having a hash which does not match the expected hash: All vim plugins had wrong hashes for some time on master. For reference see the comments

Re: [Nix-dev] Fetching variable and unpredictable URL download link

2015-03-01 Thread Anderson Torres
2015-03-01 15:16 GMT-03:00 Berno Strik dutchma...@gmx.com: Op Sun, 1 Mar 2015 12:21:04 -0300 Anderson Torres torres.anderson...@gmail.com schreef: Hello, Nixers! How can I fetchurl a variable url? When I download a dockapp from Windowmaker site, like

Re: [Nix-dev] Fetching variable and unpredictable URL download link

2015-03-01 Thread Anderson Torres
2015-03-01 15:21 GMT-03:00 Harald van Dijk har...@gigawatt.nl: Hi, The problem here is not with the file names, but that you don't actually get the same file every time. The file is generated by the server on-the-fly, and the mtimes of the files in the download you get depend on the precise

Re: [Nix-dev] attempt to call something which is not a function but a set

2015-03-01 Thread Kirill Elagin
Well, that’s correct: in `61adf9e` if you check `nixpkgs/pkgs/development/haskell-modules/lib.nix`, you’ll notice that it’s just a set. It became a function taking `pkgs` as an argument in `55003ca`. On Sat, Feb 21, 2015 at 10:50 AM Cody Goodman codygman.consult...@gmail.com wrote:

[Nix-dev] rebuild tells me that hashes of packages are not correct...

2015-03-01 Thread Matthias Beyer
Hi, I was away from my home machine for ~2 Weeks, today a nixos-rebuild test fails with five packages having a hash which does not match the expected hash: * syntastic * tagbar * ultisnips * undotree * vim-snippets of course, these are all vim plugins, as you can see. Any

Re: [Nix-dev] per project env conf

2015-03-01 Thread Catonano
2015-01-15 15:16 GMT+01:00 Luca Bruno lethalma...@gmail.com: let pkgs = import nixpkgs {}; in pkgs.myEnvFun { name = openArpa-env; buildInputs = with pkgs.python27Packages; [ python xlrd ]; }; Then nix-shell. This worked. Now I'm back

Re: [Nix-dev] rebuild tells me that hashes of packages are not correct...

2015-03-01 Thread Matthias Beyer
Hi, just noticed: I cannot install stuntrally because the hash differs from the expected hash. Maybe related to the problem I describe below. I tried: nix-env -iA nixpkgs.stuntrally for installing it. On 01-03-2015 11:19:32, Matthias Beyer wrote: Hi, I was away from my home machine

[Nix-dev] Fetching variable and unpredictable URL download link

2015-03-01 Thread Anderson Torres
Hello, Nixers! How can I fetchurl a variable url? When I download a dockapp from Windowmaker site, like http://windowmaker.org/dockapps/?download=wmSMPmon-3.1.tar.gz;, it in fact downloads something like wmSMPmon-${a long string of chars, like a checksum}.tar.gz. And the long string is

Re: [Nix-dev] Fetching variable and unpredictable URL download link

2015-03-01 Thread Berno Strik
Op Sun, 1 Mar 2015 12:21:04 -0300 Anderson Torres torres.anderson...@gmail.com schreef: Hello, Nixers! How can I fetchurl a variable url? When I download a dockapp from Windowmaker site, like http://windowmaker.org/dockapps/?download=wmSMPmon-3.1.tar.gz;, it in fact downloads

Re: [Nix-dev] Fetching variable and unpredictable URL download link

2015-03-01 Thread Harald van Dijk
Hi, The problem here is not with the file names, but that you don't actually get the same file every time. The file is generated by the server on-the-fly, and the mtimes of the files in the download you get depend on the precise moment you download it, as you can tell by inspecting the output