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 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] 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] re2c fix build

2017-07-09 Thread Vladimír Čunát via nix-dev
On 07/09/2017 03:34 AM, Karn Kallio via nix-dev wrote: > The attached patch fixes the build of the re2c Nixpkgs expression by > adjusting the sourceRoot to account for the unpackFile treatment of a > directory. Note: I had to "undo" that anyway in 3a891c67fc87, as the change was caused by commits

Re: [Nix-dev] error: cannot auto-call a function that has an argument without a default value (‘stdenv’)

2017-07-07 Thread Vladimír Čunát via nix-dev
On 07/06/2017 05:54 PM, tj5527 via nix-dev wrote: > Following the example > at http://nixos.org/nix/manual/#chap-writing-nix-expressions to build > hello package. But `nix-build -A hello` throws error "error: cannot > auto-call a function that has an argument without a default value > (‘stdenv’)"

Re: [Nix-dev] unequal build hash

2017-07-07 Thread Vladimír Čunát via nix-dev
On 07/06/2017 07:35 PM, Harmen via nix-dev wrote: > Does that makes sense? Did I forget a 'name' somewhere? When you use things like src = ./.; the directory gets copied into nix store and the resulting path's name is based on the name of the directory. --Vladimir

Re: [Nix-dev] Using system.autoUpgrade with a git channel

2017-07-06 Thread Vladimír Čunát via nix-dev
On 07/07/2017 01:46 AM, John Ramsden via nix-dev wrote: > I was also wondering what exactly the 'nixos-rebuild switch' command's > '--upgrade' flag does. It does $ nix-channel --update nixos Best see the source if you want details, as it's relatively simple: