[Nix-dev] Installing custom SSL CA certs?

2013-02-17 Thread Rickard Nilsson
Hi, How do I install custom CA certs that should be picked up by openssl system-wide? The cacerts package don't allow for configuring additional certs. Should that feature be added to the cacerts package, or is there some other way to configure this in NixOS? Best regards, Rickard

Re: [Nix-dev] [Nix-commits] [NixOS/nixpkgs] fa7b10: all-packages.nix: Uncomment e17.

2013-02-17 Thread Александр Цамутали
Shea Levy s...@shealevy.com writes: Hi Александр, On Feb 16, 2013, at 12:56, Александр Цамутали asts...@yandex.ru wrote: Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: fa7b10255cb57923f9197f2dda7e166572242e0e

[Nix-dev] test version bumps before sending pull request

2013-02-17 Thread Bjørn Forsman
Hi all, I have bumped the file program from 5.04 to 5.12 in my own nixpkgs repo. It built just fine but now I wonder if any other packages may depend on it and potentially break. I guess the file utility is pretty stable, but I'd like to know, in general, how to test that the dependent packages

Re: [Nix-dev] test version bumps before sending pull request

2013-02-17 Thread Bjørn Forsman
On 17 February 2013 13:57, Lluís Batlle i Rossell vi...@viric.name wrote: On Sun, Feb 17, 2013 at 01:32:41PM +0100, Bjørn Forsman wrote: I have bumped the file program from 5.04 to 5.12 in my own nixpkgs repo. It built just fine but now I wonder if any other packages may depend on it and

[Nix-dev] quoted vs unquoted urls in Nix expressions

2013-02-17 Thread Bjørn Forsman
Hi, What is the difference between quoted and unquoted URLs in Nix expressions? In nixpkgs the fetchurl urls are sometimes quoted and sometimes not. Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] quoted vs unquoted urls in Nix expressions

2013-02-17 Thread Marc Weber
What is the difference between quoted and unquoted URLs in Nix expressions? In nixpkgs the fetchurl urls are sometimes quoted and sometimes not. nix has urls as native type AFAIK. let str = 'foo' let url= http://bar The latter catches typos such as http:/bar, because its not a valid URL.

Re: [Nix-dev] quoted vs unquoted urls in Nix expressions

2013-02-17 Thread Vladimír Čunát
On 02/17/2013 03:16 PM, Marc Weber wrote: What is the difference between quoted and unquoted URLs in Nix expressions? In nixpkgs the fetchurl urls are sometimes quoted and sometimes not. nix has urls as native type AFAIK. let str = 'foo' let url= http://bar The latter catches typos such as

Re: [Nix-dev] quoted vs unquoted urls in Nix expressions

2013-02-17 Thread Bjørn Forsman
On 17 February 2013 15:16, Marc Weber marco-owe...@gmx.de wrote: What is the difference between quoted and unquoted URLs in Nix expressions? In nixpkgs the fetchurl urls are sometimes quoted and sometimes not. nix has urls as native type AFAIK. let str = 'foo' let url= http://bar The

[Nix-dev] Suggest package to install

2013-02-17 Thread Bjørn Forsman
Hi, One thing I miss from Ubuntu is the ability to suggest what package to install when I try to run a missing program: $ giggle The program 'giggle' is currently not installed. You can install it by typing: sudo apt-get install giggle Does anyone know how to implement that in nixos? Best

Re: [Nix-dev] Suggest package to install

2013-02-17 Thread Marc Weber
That was done recently by Eelco Dolstra. See commit messages. Maybe updating nixos is enough. Also see 'how to find the package ..' on the wiki. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] Suggest package to install

2013-02-17 Thread shea
Hi Bjørn, On 2013-02-17 11:56, Bjørn Forsman wrote: Hi, One thing I miss from Ubuntu is the ability to suggest what package to install when I try to run a missing program: $ giggle The program 'giggle' is currently not installed. You can install it by typing: sudo apt-get install

Re: [Nix-dev] Suggest package to install

2013-02-17 Thread Bjørn Forsman
On 17 February 2013 19:55, s...@shealevy.com wrote: Hi Bjørn, On 2013-02-17 11:56, Bjørn Forsman wrote: Hi, One thing I miss from Ubuntu is the ability to suggest what package to install when I try to run a missing program: $ giggle The program 'giggle' is currently not installed. You

Re: [Nix-dev] Suggest package to install

2013-02-17 Thread Bjørn Forsman
On 17 February 2013 21:22, Marc Weber marco-owe...@gmx.de wrote: nix-env -i hello Please also have a look at the wiki article how to keep multiple packages up to date With -i you may miss some situations such as packages getting dropped when updating your system which is why I don't use

Re: [Nix-dev] Suggest package to install

2013-02-17 Thread Marc Weber
[..] *user installed* [..] See _The collection way_ if you want to learn about user collections So reread the article if you have more time, cause it already should contain everything you want to know. In the system way it doesn't make sense to think about collections, because you install by

Re: [Nix-dev] Installing custom SSL CA certs?

2013-02-17 Thread Lluís Batlle i Rossell
On Sun, Feb 17, 2013 at 10:07:16AM +0100, Rickard Nilsson wrote: How do I install custom CA certs that should be picked up by openssl system-wide? The cacerts package don't allow for configuring additional certs. Should that feature be added to the cacerts package, or is there some other

[Nix-dev] Patches for Chromium

2013-02-17 Thread Ian Farmer
Hi, I was having trouble updating to the latest Chromium dev channel release, and eventually figured out that it was because NixOS's glibc still passes CLONE_DETACHED to the clone() system call to support very old kernels. I've attached a patch that fixes the issue for me. Also attached is a

Re: [Nix-dev] Installing custom SSL CA certs?

2013-02-17 Thread Marc Weber
My environment has: export | grep certs declare -x CURL_CA_BUNDLE=/etc/ssl/certs/ca-bundle.crt declare -x GIT_SSL_CAINFO=/etc/ssl/certs/ca-bundle.crt [..] So it doesn't look like there is already a common way to do it. Eventually this issue could even be discussed with upstream devs

Re: [Nix-dev] Suggest package to install

2013-02-17 Thread Florian Friesdorf
Bjørn Forsman bjorn.fors...@gmail.com writes: sudo mkdir -p /var/lib/nixos Take care with `sudo` for more complex commands than `mkdir`, I developed a habit of nearly always using `sudo -H` if not `sudo -i`. Except if you know why you would need plain `sudo` you should consider aliasing sudo to