Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-24 Thread Ludovic Courtès
Shea Levy s...@shealevy.com skribis: On 01/23/2013 06:12 PM, Ludovic Courtès wrote: Shea Levy s...@shealevy.com skribis: On 01/21/2013 05:39 AM, Ludovic Courtès wrote: [...] In theory yes, because ‘import’ in the Nix language can import .drv files–a little-known feature. ;-) In

Re: [Nix-dev] Bundling nix-expressions with source code

2013-01-24 Thread Rickard Nilsson
Den 2013-01-22 14:51:24 skrev Eelco Dolstra eelco.dols...@logicblox.com: Hi, On 22/01/13 13:05, Rickard Nilsson wrote: I would like to bundle nix-expressions with some of my self-developed programs, and just let nixpkgs (or some custom-nixpkgs) use the nix-expression from the source when

[Nix-dev] Building separate nixos/nixpkgs in the same nix build

2013-01-24 Thread Rickard Nilsson
Hi, How do one go about building two NixOS systems in one build, when the two systems have separate nixos and nixpkgs sources from each other? I've digged around a bit in nixos/default.nix and nixos/lib/eval-config.nix, and it seems the nixpkgs path is used in several places, and can't

Re: [Nix-dev] Building separate nixos/nixpkgs in the same nix build

2013-01-24 Thread Eelco Dolstra
Hi, On 24/01/13 18:19, Rickard Nilsson wrote: I've looked at Charon, but it seems all configurations and machines must use the same nixos and nixpkgs there? As far as I can see the only problem is the nixpkgs references in nixos/lib/eval-config.nix, which could easily be replaced by a

Re: [Nix-dev] svn-revision empty / nixos channel as branch?

2013-01-24 Thread Vladimír Čunát
On 01/22/2013 10:17 PM, Florian Friesdorf wrote: Am I correct, that the channel would be trunk-combined? http://hydra.nixos.org/jobset/nixos/trunk-combined That depends on your use case. I have only services in nixos and so I rebuild it very rarely. However, I quite often build or update

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-24 Thread Vladimír Čunát
On 01/20/2013 11:46 PM, Ludovic Courtès wrote: Technically, I believe an EDSL has more to offer than a DSL with its own implementation: tooling (compiler, debugger, REPL, editor support, etc.), libraries (SRFI-1, etc.), general-purpose features (data structures, i18n, networking, etc.), and

Re: [Nix-dev] Bundling nix-expressions with source code

2013-01-24 Thread Vladimír Čunát
On 01/24/2013 04:13 PM, Rickard Nilsson wrote: OK, I see why that is not feasible. The reason I ask, is that it seems reasonable that a Nix-aware upstream package developer should be able to define how the package should be built (dependencies, build flags etc), in tandem with the package

[Nix-dev] system-config-printer patch

2013-01-24 Thread Karn Kallio
The latest version of system-config-printer seems to have introduced a dependency on pycurl. The attached patch includes this, fixing the build of kde, which depended on it through kdeadmin. diff --git a/pkgs/tools/misc/system-config-printer/default.nix

Re: [Nix-dev] system-config-printer patch

2013-01-24 Thread Shea Levy
Committed in https://github.com/NixOS/nixpkgs/commit/90909ea936def048f39818fca98ff4ad9d0cf821, thanks! On 01/24/2013 10:48 PM, Karn Kallio wrote: The latest version of system-config-printer seems to have introduced a dependency on pycurl. The attached patch includes this, fixing the build of

Re: [Nix-dev] Providing more explicit nix installation instructions

2013-01-24 Thread Florian Friesdorf
Vladimír Čunát vcu...@gmail.com writes: # Now this is the problem: $ sudo nix-channel --add http://nixos.org/channels/nixpkgs-unstable That created the file $HOME/.nix-channels in my USER home, but with owner root. Obviously not the correct behavior. The following `sudo nix-channel