Re: [Nix-dev] Request for application 'xkbprint'

2014-06-22 Thread Vladimír Čunát
On 06/21/2014 10:03 PM, Mateusz Kowalczyk wrote: And adding the appropriate expression at pkgs/servers/x11/xorg/default.nix No, that file is generated from the tarball lists. Pushed the addition both to master and release. Vlada smime.p7s Description: S/MIME Cryptographic Signature

Re: [Nix-dev] Nix on Mavericks currently completely broken

2014-06-22 Thread John Wiegley
John Wiegley jo...@newartisans.com writes: This is just a heads up that if you're on Mavericks running the latest OS X and compiler, you should not update your nixpkgs repository. There was a merge yesterday (commit 1b78ca5) which makes several of the core packages (zlib, gccApple, and

Re: [Nix-dev] Gutenprint cups drivers

2014-06-22 Thread Marc Weber
This chonfiguration works for me: cupsd_1_7 = { enable = true; gutenprintPackage = pkgs.gutenprintCVS; }; source: https://github.com/MarcWeber/nixpkgs/tree/experimental/cups-1.6-and-1.7 nixos wiki should still contain some hints about how to use topgit topic branches efficiently.

Re: [Nix-dev] nixos tests variables and interactive testing

2014-06-22 Thread Florian Friesdorf
Florian Friesdorf f...@chaoflow.net writes: Florian Friesdorf f...@chaoflow.net writes: Florian Friesdorf f...@chaoflow.net writes: How can I stop a test, get an interactive shell to investigate things and then continue? It is possible to get an interactive perl prompt. Really nice would be

[Nix-dev] Variable interpolation in strings read from files

2014-06-22 Thread Florian Friesdorf
Hi, let a = Hello world; in ${./script.pl}; and content of ./script.pl being: print ${a}; It would be nice if there would be a way to interpolate variables in the string read from ./script.pl, just like the content would be written in-place. For more context:

Re: [Nix-dev] Variable interpolation in strings read from files

2014-06-22 Thread Vladimír Čunát
On 06/22/2014 01:11 PM, Florian Friesdorf wrote: It would be nice if there would be a way to interpolate variables in the string read from ./script.pl, just like the content would be written in-place. Usually one can use substituteAll; see qt4 for example. It uses a different syntax for what

Re: [Nix-dev] Variable interpolation in strings read from files

2014-06-22 Thread Florian Friesdorf
Upfront, I partly talked non-sense before, so I might have transported a wrong picture. Vladimír Čunát vcu...@gmail.com writes: On 06/22/2014 01:11 PM, Florian Friesdorf wrote: It would be nice if there would be a way to interpolate variables in the string read from ./script.pl, just like the

Re: [Nix-dev] Variable interpolation in strings read from files

2014-06-22 Thread Vladimír Čunát
On 06/22/2014 02:55 PM, Florian Friesdorf wrote: Any thoughts? I *did* mean using the library function substituteAll. (It's not only a bash function in stdenv's setup.) It uses practically the syntax you propose. See qt4 for example. Vlada smime.p7s Description: S/MIME Cryptographic

Re: [Nix-dev] Variable interpolation in strings read from files

2014-06-22 Thread Florian Friesdorf
Vladimír Čunát vcu...@gmail.com writes: On 06/22/2014 02:55 PM, Florian Friesdorf wrote: Any thoughts? I *did* mean using the library function substituteAll. (It's not only a bash function in stdenv's setup.) It uses practically the syntax you propose. See qt4 for example. qt4 uses

Re: [Nix-dev] Variable interpolation in strings read from files

2014-06-22 Thread Vladimír Čunát
On 06/22/2014 03:45 PM, Florian Friesdorf wrote: Now I try to read this file: Ah, sorry, I didn't notice that you used the result as a nix string. Switching back and forth between nix (strings) and derivations (files) is better avoided. The readFile function is only meant for what you have

Re: [Nix-dev] Variable interpolation in strings read from files

2014-06-22 Thread Florian Friesdorf
Vladimír Čunát vcu...@gmail.com writes: On 06/22/2014 03:45 PM, Florian Friesdorf wrote: Now I try to read this file: Ah, sorry, I didn't notice that you used the result as a nix string. Switching back and forth between nix (strings) and derivations (files) is better avoided. The readFile

Re: [Nix-dev] pytables, numexpr, and pandas

2014-06-22 Thread Andreas Herrmann
I've finally gotten around to make that pull-request. You can find it here: https://github.com/NixOS/nixpkgs/pull/3056 Thanks for your help! On 15 June 2014 22:11, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: On 06/15/2014 09:09 PM, Andreas Herrmann wrote: Thanks for your detailed

[Nix-dev] NixOps, MachineDefinition and MachineState

2014-06-22 Thread Michael R
Folks, Looking over and working on NixOps. Can someone tell me what is the rule of thumb what belongs in MachineDefinition and what belongs in MachineState. For example, in virtualbox backend, memorySize is only in the definition and is never stored? in MachineState. However the