Re: [Nix-dev] Debugging Hydra failures without a log

2017-07-10 Thread Sergiu Ivanov via nix-dev
Thus quoth Vladimír Čunát at 21:00 on Mon, Jul 10 2017: > On 07/10/2017 10:52 PM, Sergiu Ivanov wrote: >>> It didn't? I see an evaluation a few days after that did succeed: >>> https://hydra.nixos.org/job/nixpkgs/release-17.03/bibtex2html.i686-linux >> >> Oh, cool, thanks a lot! >> >> Hydra

Re: [Nix-dev] Debugging Hydra failures without a log

2017-07-10 Thread Vladimír Čunát via nix-dev
On 07/10/2017 06:47 PM, Sergiu Ivanov via nix-dev wrote: > Hydra told me the package bibtex2html which I maintain got broken: > > https://hydra.nixos.org/build/55099626 > > I waited for a couple weeks hoping the issue will fix itself, but > apparently it didn't. [...] It didn't? I see an

Re: [Nix-dev] git in nix is broken...

2017-07-10 Thread Alexander Schmolck via nix-dev
Yes, git filter-branch failing because e.g. sed is either not installed at all or not in PATH is what I meant. I wasn't aware that this is "intended behavior", I thought that nix packages were intended to be self-contained other than explicitly declared dependencies The way I ran into this was

Re: [Nix-dev] git in nix is broken...

2017-07-10 Thread Alexander Schmolck via nix-dev
It's probably also worth mentioning that git/default.nix in its current state does appear to make some attempt to rewrite the path to basic unix utilities (like grep) to absolute paths in some places, but not others and some of the existing patching is obsolete (e.g. it tries to do so git-am which

Re: [Nix-dev] Nginx multiple listen ip

2017-07-10 Thread Samuel Leathers via nix-dev
Looking at the virtual host config in the nixos module, I don't think that case is supported currently. You could always just set the config variable to completely override the entire file. Thanks, Sam On Mon, Jul 10, 2017 at 10:17 AM Alexandre Peyroux via nix-dev < nix-dev@lists.science.uu.nl>

Re: [Nix-dev] Sway window manager nix package

2017-07-10 Thread Samuel Leathers via nix-dev
Hi Chris, For a symlink from the nix store into /etc you would need to use writeText to write a file with the contents (I'm assuming empty string) and then use environment.etc to link that file into /etc; however this would be immutable and swaylock would not be able to modify this file if done

[Nix-dev] git in nix is broken...

2017-07-10 Thread Alexander Schmolck via nix-dev
... because it appears to be missing dependencies like sed for commands such as git-filter-branch which are implemented as bash scripts. I've submitted a PR which tries to fix that (https://github.com/NixOS/nixpkgs/pull/27221) by a) adding missing dependencies like awk, sed and coreutils b)

[Nix-dev] Debugging Hydra failures without a log

2017-07-10 Thread Sergiu Ivanov via nix-dev
Hello, Hydra told me the package bibtex2html which I maintain got broken: https://hydra.nixos.org/build/55099626 I waited for a couple weeks hoping the issue will fix itself, but apparently it didn't. The cited page says "log file is not available". I have no problems installing bibtex2html

Re: [Nix-dev] git in nix is broken...

2017-07-10 Thread Eelco Dolstra via nix-dev
Hi, On 07/10/2017 07:25 PM, Alexander Schmolck via nix-dev wrote: > ... because it appears to be missing dependencies like sed for > commands such as git-filter-branch which are implemented as bash > scripts. Broken how? What doesn't work? I guess you mean that some things fail if you execute

Re: [Nix-dev] git in nix is broken...

2017-07-10 Thread Vladimír Čunát via nix-dev
On 07/10/2017 11:06 PM, Dmitry Kalinkin via nix-dev wrote: > Same can be achieved with makeWrapper > (http://nixos.org/nixpkgs/manual/#ssec-stdenv-functions) > Also, there is propagatedBuildInputs, but it is limited to Nix build > environment. For completeness, propagatedUserEnvPkgs extends that

Re: [Nix-dev] Debugging Hydra failures without a log

2017-07-10 Thread Sergiu Ivanov via nix-dev
Thus quoth Vladimír Čunát at 19:16 on Mon, Jul 10 2017: > On 07/10/2017 06:47 PM, Sergiu Ivanov via nix-dev wrote: >> Hydra told me the package bibtex2html which I maintain got broken: >> >> https://hydra.nixos.org/build/55099626 >> >> I waited for a couple weeks hoping the issue will fix

Re: [Nix-dev] Debugging Hydra failures without a log

2017-07-10 Thread Vladimír Čunát via nix-dev
On 07/10/2017 10:52 PM, Sergiu Ivanov wrote: >> It didn't? I see an evaluation a few days after that did succeed: >> https://hydra.nixos.org/job/nixpkgs/release-17.03/bibtex2html.i686-linux > > Oh, cool, thanks a lot! > > Hydra didn't send me an "it works" notification this time and I didn't >

Re: [Nix-dev] git in nix is broken...

2017-07-10 Thread Dmitry Kalinkin via nix-dev
Same can be achieved with makeWrapper (http://nixos.org/nixpkgs/manual/#ssec-stdenv-functions) Also, there is propagatedBuildInputs, but it is limited to Nix build environment. On Mon, Jul 10, 2017 at 2:36 PM, Alexander Schmolck via nix-dev wrote: > Yes, git

[Nix-dev] Nginx multiple listen ip

2017-07-10 Thread Alexandre Peyroux via nix-dev
Hello, I have a server that listens on multiple IPs. I would like to be able to tell Nginx to listen that the 10.0.2.3 for such vhost and 10.3.2.10 for another vhost. By default, it does a listen 0.0.0.0. I can not find the right options. I have seen this code - "listenString":

[Nix-dev] Sway window manager nix package

2017-07-10 Thread Chris Duncan via nix-dev
Hello, I have recently started using NixOS 17.03 and am having fun getting to know it. I use the Sway window manager and wanted to make some changes to the current nix package. I managed to upgrade to version 0.13.0 of Sway and build the swaylock application by including pam as a build input.