Re: [Nix-dev] How to override/replace part of a service definition?

2015-02-24 Thread Nicolas Pierron
Hi Michael, On Sun, Feb 22, 2015 at 2:45 PM, Michael Alan Dorman mdor...@jaunder.io wrote: All the documentation I can find about overriding things seems focuses on packages, but what I'm interested in overriding is the systemd pre-start-script. I tried what seemed obvious: { config, ... }:

Re: [Nix-dev] Underspecified 'disabled' attributes in python-packages.nix

2015-02-24 Thread Domen Kožar
Could we agree than that using throw with a custom message is better than marking the build as broken? Also, I've seen that throw does propagate. The package is disabled if it depends on another package. The TODO would be for hydra to filter out some error messages. On Tue, Feb 24, 2015 at

Re: [Nix-dev] Automatic download option for requireFile

2015-02-24 Thread Nicolas Pierron
On Tue, Feb 24, 2015 at 12:20 PM, Vladimír Čunát vcu...@gmail.com wrote: On 02/24/2015 12:02 PM, Harald van Dijk wrote: If you just want to _use_ the software, not modify it, not re-distribute it, then for a whole lot of packages, you do not have to accept the license. I meant that in any

Re: [Nix-dev] Underspecified 'disabled' attributes in python-packages.nix

2015-02-24 Thread Vladimír Čunát
On 02/24/2015 04:44 PM, Vladimír Čunát wrote: On 02/24/2015 04:33 PM, Luca Bruno wrote: Afaik it's not only a python disabled problem. It also happens for meta.broken that doesn't get propagated. Yes, one great advantage of throw is how it propagates nicely. Is there a reason not to use that,

Re: [Nix-dev] Automatic download option for requireFile

2015-02-24 Thread Vladimír Čunát
On 02/23/2015 05:40 PM, Thomas Strobel wrote: So, how should we deal with software that can be downloaded freely, but where the user has to accept a certain license? Is the nixpkgs option config.allowUnfree = true; meant exactly for that cases? Well, you *always* have to accept the license for

Re: [Nix-dev] Permission error when installing mpd

2015-02-24 Thread Pascal Wittmann
On 02/19/2015 11:00 PM, joach...@fastmail.fm wrote: systemd.services.mpd.serviceConfig = { PermissionsStartOnly = true; }; That is neat! Thank your for it :-) signature.asc Description: OpenPGP digital signature ___ nix-dev mailing list

Re: [Nix-dev] Automatic download option for requireFile

2015-02-24 Thread Vladimír Čunát
On 02/24/2015 12:02 PM, Harald van Dijk wrote: If you just want to _use_ the software, not modify it, not re-distribute it, then for a whole lot of packages, you do not have to accept the license. I'm no lawyer - it's probably an imprecise formulation on my side: I meant that in any case

Re: [Nix-dev] Alwyas remove icon-them.cache?

2015-02-24 Thread Luca Bruno
Pushed to staging. On Mon, Feb 23, 2015 at 9:21 PM, Bjørn Forsman bjorn.fors...@gmail.com wrote: On 23 February 2015 at 21:18, Luca Bruno lethalma...@gmail.com wrote: Yes we can commit that stuff separately, but must go to staging because it's a big rebuild of many apps. Agreed. --

Re: [Nix-dev] [haskell NG] Override package

2015-02-24 Thread YCH
Hello, I've done successfully using method 1) . Thanks. ~~~ ~/hdevtools $ cabal2nix . default.nix ~/ $ cat ~/.nixpkgs/config.nix { allowUnfree = true; haskellPackageOverrides = self: super: { hdevtools = self.callPackage ../hdevtools {}; }; } ~/cis194 $ cat shell.nix with (import

[Nix-dev] Underspecified 'disabled' attributes in python-packages.nix

2015-02-24 Thread Peter Simons
Hi guys, many Python packages specify an attribute that disables build attempts in certain packages sets, like this: beaker = buildPythonPackage rec { name = Beaker-1.6.4; disabled = isPy3k; [...] }; Unfortunately, that information does not propagate to other packages

Re: [Nix-dev] Underspecified 'disabled' attributes in python-packages.nix

2015-02-24 Thread Peter Simons
Hi Luca, Afaik it's not only a python disabled problem. It also happens for meta.broken that doesn't get propagated. yes, that is true. I guess the problems shows up with Python more than other packages because Python has many different active environments: Py2k, Py3k, PyPy. The Haskell

Re: [Nix-dev] Underspecified 'disabled' attributes in python-packages.nix

2015-02-24 Thread Luca Bruno
On 24/02/2015 16:29, Peter Simons wrote: Hi guys, many Python packages specify an attribute that disables build attempts in certain packages sets, like this: beaker = buildPythonPackage rec { name = Beaker-1.6.4; disabled = isPy3k; [...] }; Unfortunately, that

Re: [Nix-dev] Underspecified 'disabled' attributes in python-packages.nix

2015-02-24 Thread Vladimír Čunát
On 02/24/2015 04:33 PM, Luca Bruno wrote: Afaik it's not only a python disabled problem. It also happens for meta.broken that doesn't get propagated. Yes, one great advantage of throw is how it propagates nicely. Is there a reason not to use that, except for errors in Hydra evals? We might

Re: [Nix-dev] status of mingw support

2015-02-24 Thread Rok Garbas
hi, Quoting Anders Papitto (2015-02-20 20:42:36) Hello, I am currently looking into building some software using the mingw cross compiler (specifically, the brood war api as per http://www.broodwarai.com/forums/viewtopic.php?f=7t=984). However, after some time googling and grepping through

Re: [Nix-dev] HaskellNG and taffybar

2015-02-24 Thread Benno Fünfstück
Nixpkgs contains a patched ghc-paths package that allows you to specify the path to ghc at runtime using the NIX_GHC environment variable. Luke Clifton ltclif...@gmail.com schrieb am Di., 24. Feb. 2015 03:12: This is also a problem with the Yi editor which also uses Dyre. On 24 February 2015

Re: [Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-24 Thread Mateusz Kowalczyk
On 02/25/2015 03:01 AM, Anthony Cowley wrote: This almost certainly isn't ready for release, but I'd like to avoid duplicating efforts if other people want to work on it... Here is cabbage https://github.com/acowley/cabbage It is a tool for doing the obvious thing: use the cabal solver to

Re: [Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-24 Thread Mateusz Kowalczyk
On 02/22/2015 12:04 PM, Peter Simons wrote: Hi Cody, haskellngPackages doesn't seem to have all versions of all dependencies... I'm not sure what you mean by all versions of all dependencies. Dependencies of what exactly? The way I understand the term, dependency has meaning only as a

Re: [Nix-dev] Will Haskell-ng and hackage2nix allow building *any* versions of deps?

2015-02-24 Thread Anthony Cowley
This almost certainly isn't ready for release, but I'd like to avoid duplicating efforts if other people want to work on it... Here is cabbage https://github.com/acowley/cabbage It is a tool for doing the obvious thing: use the cabal solver to find a build plan, then build the specific version

[Nix-dev] Help packaging BLAST?

2015-02-24 Thread Jeffrey David Johnson
Hi! The existing BLAST package (https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/science/biology/ncbi-tools/default.nix) isn't working for me. Probably because it's broken on x64. So I'm trying to package the standalone executables from http://www.ncbi.nlm.nih.gov/books/NBK52640/

Re: [Nix-dev] Automatic download option for requireFile

2015-02-24 Thread Thomas Strobel
Hi, On 02/24/2015 10:37 PM, Nicolas Pierron wrote: On Tue, Feb 24, 2015 at 12:20 PM, Vladimír Čunát vcu...@gmail.com wrote: On 02/24/2015 12:02 PM, Harald van Dijk wrote: If you just want to _use_ the software, not modify it, not re-distribute it, then for a whole lot of packages, you do not