Re: [Nix-dev] cjs build problem with gobject-introspection

2013-11-30 Thread Vladimír Čunát
Hi, I'll try to assist you. Making cjs and spidermonkey+threads build: https://github.com/vcunat/nixpkgs/commits/v/cinnamon Vlada smime.p7s Description: S/MIME Cryptographic Signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl

[Nix-dev] cjs and gobject-introspection error

2013-11-30 Thread Roelof Wobben
Hello, When you do not have gobject-introspection added to the buildsinput you see this error : ./configure: line 15707: syntax error near unexpected token `1.32.0' ./configure: line 15707: `GOBJECT_INTROSPECTION_REQUIRE(1.32.0)' builder for

Re: [Nix-dev] cjs and gobject-introspection error

2013-11-30 Thread Vladimír Čunát
On 11/30/2013 10:08 AM, Roelof Wobben wrote: checking for JS_CLASS_TRACE macro... no ./configure: line 15721: syntax error near unexpected token `GJS,' ./configure: line 15721: `PKG_CHECK_MODULES(GJS, $gjs_packages)' I think that's because you're missing pkgconfig in buildInputs. Note that I

[Nix-dev] cjs and gobject-introspection error

2013-11-30 Thread Michael Raskin
When you do not have gobject-introspection added to the buildsinput you see this error : ./configure: line 15707: syntax error near unexpected token `1.32.0' ./configure: line 15707: `GOBJECT_INTROSPECTION_REQUIRE(1.32.0)' builder for `/nix/store/z9mkb2m239y3fdrpxr2fhcb0j4yadki2-cjs.drv' failed

Re: [Nix-dev] How to use Generated Rubygems Nix Packages?

2013-11-30 Thread Bjørn Forsman
Hi Alex, On 30 November 2013 07:03, Alex Berg chex...@gmail.com wrote: I'm looking at the ruby/generated.nix file: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/ruby/generated.nix Does anyone know how to add these Gems as a package's dependencies? I can't find

Re: [Nix-dev] cjs and gobject-introspection error

2013-11-30 Thread Roelof Wobben
Date: Sat, 30 Nov 2013 13:20:53 +0400 From: 7c6f4...@mail.ru To: rwob...@hotmail.com; nix-dev@lists.science.uu.nl Subject: [Nix-dev] cjs and gobject-introspection error When you do not have gobject-introspection added to the buildsinput you see this error : ./configure: line 15707:

Re: [Nix-dev] cjs and gobject-introspection error

2013-11-30 Thread Michael Raskin
Yes, I did and I solved this problem. Now I see this error : No package 'gmodule-2.0' found No package 'gthread-2.0' found No package 'gio-2.0' found No package 'mozjs185' found So I did find / -name gmodule-2.0.pc and I see this output:

Re: [Nix-dev] cjs and gobject-introspection error

2013-11-30 Thread Bjørn Forsman
On 30 November 2013 10:41, Roelof Wobben rwob...@hotmail.com wrote: [...] So I added glib to the buildsInput but the error is still here. Do can you post the URL to your git repo/branch? That way it will be easy for others to reproduce the build issues.

Re: [Nix-dev] cjs and gobject-introspection error

2013-11-30 Thread Roelof Wobben
Date: Sat, 30 Nov 2013 10:45:25 +0100 Subject: Re: [Nix-dev] cjs and gobject-introspection error From: bjorn.fors...@gmail.com To: rwob...@hotmail.com CC: nix-dev@lists.science.uu.nl On 30 November 2013 10:41, Roelof Wobben rwob...@hotmail.com wrote: [...] So I added glib to the

[Nix-dev] Passwords in configuration files

2013-11-30 Thread Thomas Bereknyei
I came across some threads from a while ago and some discussion regarding passwords in configuration files and ways to limit the security problem it poses, while still striving to keep within Nix concepts. What became of this? Is there a standard solution? My interest developed while I was

Re: [Nix-dev] cjs and gobject-introspection error

2013-11-30 Thread Vladimír Čunát
On 11/30/2013 10:52 AM, Roelof Wobben wrote: I know there is a working derivation. I try to solve a few wierd configure errors when dependencies are missing. And a few m4 warnings errrors. I like my derivation perfect. That's what I did already (within five or ten minutes). You can certainly

Re: [Nix-dev] Passwords in configuration files

2013-11-30 Thread Domen Kožar
https://github.com/NixOS/nix/issues/8 On Sat, Nov 30, 2013 at 11:03 AM, Thomas Bereknyei tombe...@gmail.comwrote: I came across some threads from a while ago and some discussion regarding passwords in configuration files and ways to limit the security problem it poses, while still striving

Re: [Nix-dev] How to use Generated Rubygems Nix Packages?

2013-11-30 Thread Alex Berg
Wow, awesome answer! I never understood what the -P option claimed to do, so I never tried it. It's super-useful! Thanks for teaching it! I used that attribute in my buildInputs, and my app seems to have that Gem available in its nix-shell. Super awesome - thanks Bjorne! On Nov 30, 2013 5:34 PM,

[Nix-dev] patch problem

2013-11-30 Thread Roelof Wobben
Hello, Here is my repo : https://github.com/roelof1967/nixpkgs When I try to patch cjs.nix which is in pkgs/desktops/cinnamon the patch fails But when I patch the file on the real file it is not a problem. Can anyone explain what is the difference here ? So why do the patch fail on the cjs

Re: [Nix-dev] patch problem

2013-11-30 Thread deCube.net | Danny Wilson
Hoi Roelof, My guess is you didn’t read the error message. :-D Do you know about the nix-env -K option ( —keep-failed). It keeps the failed build in a folder in /tmp. There you can see that extracting cjs-2.0.0.tar.gz creates another directory where all the source files are. But your patch:

Re: [Nix-dev] patch problem

2013-11-30 Thread Roelof Wobben
I did change to what you said so it looks like this: From 8c95cacffb0195ac47eaacf2595e985ee48251c0 Mon Sep 17 00:00:00 2001 From: Roelof Wobben rwob...@hotmail.com Date: Sat, 30 Nov 2013 18:28:02 +0100 Subject: [PATCH] fix --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [Nix-dev] patch problem

2013-11-30 Thread Vladimír Čunát
This patch works for me. Vlada diff --git a/configure.ac b/configure.ac index a1433c8..51e1a52 100644 --- a/configure.ac +++ b/configure.ac @@ -12,6 +12,8 @@ AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip]) AC_CONFIG_SRCDIR([cjs/console.c]) AC_CONFIG_HEADER([config.h]) +AC_CONFIG_MACRO_DIR([m4])

[Nix-dev] A generic wrapper method (possibly)

2013-11-30 Thread Bjørn Forsman
Hi all, For a long time I've been annoyed by the side effects of wrapping programs. Now I want to fix it. Wrapping programs makes the help text (very often) ugly: usage: .prog-wrapped some-option instead of usage: prog some-option. Whenever I see such help texts I cannot help but think that our