Re: [Nix-dev] Accidental force push to nixpkgs

2014-04-08 Thread Vladimír Čunát
On 04/07/2014 07:30 PM, Shea Levy wrote: I had my remotes set up wrong and accidentally force pushed I see it happens occasionally... is it possible on GitHub to forbid force-pushes? I don't know about any use case of non-fast-forward pushing on the central repo. Vlada smime.p7s

Re: [Nix-dev] Accidental force push to nixpkgs

2014-04-08 Thread Alexander Kjeldaas
It is possible to add a post receive hook that sends out a big fat warning. Alexander On Tue, Apr 8, 2014 at 8:14 AM, Vladimír Čunát vcu...@gmail.com wrote: On 04/07/2014 07:30 PM, Shea Levy wrote: I had my remotes set up wrong and accidentally force pushed I see it happens

Re: [Nix-dev] Accidental force push to nixpkgs

2014-04-08 Thread Kirill Elagin
It might be a good idea to set up a post receive hook that does git pull on each new revision, so it has all the commits, and if it detects a force push, it sends an email with last commit's hash to the list and to the commiter. -- Кирилл Елагин On Tue, Apr 8, 2014 at 10:27 AM, Alexander

Re: [Nix-dev] Accidental force push to nixpkgs

2014-04-08 Thread Alexander Kjeldaas
Yes, the problem seems to be that github does not actually execute hooks, but allows webhooks. The hooks seems to be async, and thus pre-receive isn't supported. Alexander On Tue, Apr 8, 2014 at 8:37 AM, Vladimír Čunát vcu...@gmail.com wrote: On 04/08/2014 08:27 AM, Alexander Kjeldaas wrote:

[Nix-dev] gnome 3 suport

2014-04-08 Thread Roelof Wobben
Hello, Does anyone know if Gnome3 can be used in Nixos. I need it to test cinnamon. Roelof ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] cannot install cinnamon-session

2014-04-08 Thread Kirill Elagin
Cinnamon is just not there in 13.10. I'm not really sure that mixing revisions as you do (having 13.10 system and installing some packages from master) is safe… It might be better to switch to unstable and do it properly, by adding cinnamon to systemPackages. Or, if you want, you can maintain your

Re: [Nix-dev] gnome 3 suport

2014-04-08 Thread Kirill Elagin
If we are still talking about 13.10, then Gnome3 was not actually supported in NixOS, but there was an expression for it called gnome3. In NixOS 13.10 Gnome2 is used. -- Кирилл Елагин On Tue, Apr 8, 2014 at 10:47 AM, Roelof Wobben r.wob...@home.nl wrote: Hello, Does anyone know if Gnome3

Re: [Nix-dev] gnome 3 suport

2014-04-08 Thread Roelof Wobben
Kirill Elagin schreef op 8-4-2014 8:55: If we are still talking about 13.10, then Gnome3 was not actually supported in NixOS, but there was an expression for it called gnome3. In NixOS 13.10 Gnome2 is used. oke, Then I think I have to switch to current. Is there a manual how to do this ?

Re: [Nix-dev] gnome 3 suport

2014-04-08 Thread Vladimír Čunát
On 04/08/2014 09:01 AM, Roelof Wobben wrote: Is there a manual how to do this ? http://nixos.org/nixos/manual/#sec-upgrading Vlada smime.p7s Description: S/MIME Cryptographic Signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] Hash Collisions

2014-04-08 Thread Marc Weber
Excerpts from Raahul Kumar's message of Tue Apr 08 03:11:03 + 2014: Thanks Marc, Kiril. Is there a way to create packages such that they don't provide redundant files? It's a waste of bandwidth to download a file, then be unable to use it because there is already a copy there. I guess

[Nix-dev] Firewall enabled by default

2014-04-08 Thread Eelco Dolstra
Hi, Just a heads-up that starting with revision 694cc61, NixOS enables its firewall by default. If you don't want this, you should explicitly set networking.firewall.enable = false; in your configuration.nix. -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/

Re: [Nix-dev] gnome 3 suport

2014-04-08 Thread Marc Weber
Hi Roelof, I have a deja vue, Is it true that you asked this in 2011? We have gnome expressions in nixpkgs, because gnome libraries are used by some applications which compile and work (eg network manager or such). I'm unsure about whether gnome desktop is supported now. I think its still not

Re: [Nix-dev] Firewall enabled by default

2014-04-08 Thread Malcolm Matalka
Is there documentation for what the default firewall configuration is? Eelco Dolstra eelco.dols...@logicblox.com writes: Hi, Just a heads-up that starting with revision 694cc61, NixOS enables its firewall by default. If you don't want this, you should explicitly set

Re: [Nix-dev] Hash Collisions

2014-04-08 Thread Eelco Dolstra
Hi, On 08/04/14 09:54, Marc Weber wrote: I'll give you another useful tip: If you want to save bandwidth then switch to binary distro. While nixos has had the ability to create binary differences I'm unsure wether its activated/available at the moment. It was disabled in the past. Maybe

Re: [Nix-dev] Firewall enabled by default

2014-04-08 Thread Eelco Dolstra
Hi, On 08/04/14 10:08, Malcolm Matalka wrote: Is there documentation for what the default firewall configuration is? Yeah, see the Firewall section in the manual: http://nixos.org/nixos/manual/#idm140194845698704 -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/

Re: [Nix-dev] versionedDeravation / php fpm / cups 1.7

2014-04-08 Thread Marc Weber
Excerpts from Domen Kožar's message of Mon Apr 07 17:31:58 + 2014: As soon as we allow more than one design pattern for sharing code between packages, package in my use cases means having same name and having most build instructions be the same. We do already have sharing for different

Re: [Nix-dev] gnome 3 suport

2014-04-08 Thread Vladimír Čunát
On 04/08/2014 10:00 AM, Marc Weber wrote: I'm unsure about whether gnome desktop is supported now. I think its still not (please correct me if I'm wrong). Thus try to clarify whether you're talking about gnome libraries or the gnome desktop. I'm quite certain gnome (=gnome2) doesn't work for

Re: [Nix-dev] Accidental force push to nixpkgs

2014-04-08 Thread Marc Weber
solutions: 1) push to another repository which allows seting up hooks, then sync to github/nixos 2) don't preven this when pushing, prevent when pulling by: git merge --ff-only or .git/config: merge.ff [..] When set to only, only such fast-forward merges are allowed

Re: [Nix-dev] gnome 3 suport

2014-04-08 Thread Roelof Wobben
Vladimr unt schreef op 8-4-2014 10:19: On 04/08/2014 10:00 AM, Marc Weber wrote: I'm unsure about whether gnome desktop is supported now. I think its still not (please correct me if I'm wrong). Thus try to clarify

Re: [Nix-dev] customizing the profile and environment

2014-04-08 Thread Vladimír Čunát
On 04/06/2014 06:24 PM, Ben Franksen wrote: How do I customize what gets put in my profile and environment? Currently there are no options. All paths are linked into user profiles/environments (but for a few hard-coded exceptions). I plan some work on allowing to exclude some files from

Re: [Nix-dev] cinnamon-settings-daemon will not compile

2014-04-08 Thread Vladimír Čunát
On 04/08/2014 02:29 PM, Roelof Wobben wrote: but when I do nix-build -A cinnamon-settings-daeemon in the directory which contains the nix file I get a message that default.nix cannot be found. Normally, you should call nix-build in the root of the nixpkgs tree, or supply the root by -f

Re: [Nix-dev] systemPackages vs. services.dbus.packages

2014-04-08 Thread Mathijs Kwik
Vladimír Čunát vcu...@gmail.com writes: On 04/07/2014 11:36 AM, Kirill Elagin wrote: So, the question is: what is the purpose of having services.dbus.packages if those configs are considered anyway due to packages being in systemPackages? AFAIK there are cases where packages are not put

Re: [Nix-dev] systemPackages vs. services.dbus.packages

2014-04-08 Thread Vladimír Čunát
On 04/08/2014 09:29 PM, Mathijs Kwik wrote: However, wouldn't it be possible to uniq/nub these lists on evaluation? It's perfectly functional/declarative, but I don't know if derivations are comparable (for equality). They are comparable, as what you get in hand is practically the output

Re: [Nix-dev] systemPackages vs. services.dbus.packages

2014-04-08 Thread Kirill Elagin
Yes, we can nub them (to be precise, it makes sense to subtract `systemPackages` from `dbus.packages`), those lists contain package names, not derivations. But, why not simply require all the packages that provide DBus services to be added to `dbus.packages`? That way we avoid duplication and

Re: [Nix-dev] systemPackages vs. services.dbus.packages

2014-04-08 Thread Mathijs Kwik
Kirill Elagin kirela...@gmail.com writes: Yes, we can nub them (to be precise, it makes sense to subtract `systemPackages` from `dbus.packages`), those lists contain package names, not derivations. Why should systemPackages be subtracted? There are packages that I want in my path _and_ as a

Re: [Nix-dev] customizing the profile and environment

2014-04-08 Thread Ben Franksen
Vladimír Čunát wrote: On 04/06/2014 06:24 PM, Ben Franksen wrote: How do I customize what gets put in my profile and environment? Currently there are no options. All paths are linked into user profiles/environments (but for a few hard-coded exceptions). Ok, thanks. I plan some work on

Re: [Nix-dev] systemPackages vs. services.dbus.packages

2014-04-08 Thread Kirill Elagin
On Wed, Apr 9, 2014 at 12:24 AM, Mathijs Kwik math...@bluescreen303.nlwrote: Kirill Elagin kirela...@gmail.com writes: Yes, we can nub them (to be precise, it makes sense to subtract `systemPackages` from `dbus.packages`), those lists contain package names, not derivations. Why should

Re: [Nix-dev] systemPackages vs. services.dbus.packages

2014-04-08 Thread Kirill Elagin
On Tue, Apr 8, 2014 at 11:29 PM, Mathijs Kwik math...@bluescreen303.nlwrote: I use that as much as possible. There's really no need for a lot of packages to be in systemPackages or in some user profile if they only provide a service and don't have lots of often-used CLI tools. Same goes for

Re: [Nix-dev] Hash Collisions

2014-04-08 Thread Ben Franksen
Eelco Dolstra wrote: On 08/04/14 09:54, Marc Weber wrote: Also waste of space/bandwidth always happens because: - nixos always ships with header files for all libraries (this could be fixed because nix supports multiple outputs) Yeah, multiple outputs will fix this eventually

Re: [Nix-dev] reboot hangs most of the time

2014-04-08 Thread Ben Franksen
Peter Simons wrote: When I want to reboot my box I enter 'reboot' in the prompt. And most of the time I see unmounting /nix/store and nothings happens after that. I've run into this issue, too, but only sporadically. I have no idea what might be the cause of this phenomenon. It feels

Re: [Nix-dev] cinnamon-settings-daemon will not compile

2014-04-08 Thread Ben Franksen
Vladimír Čunát wrote: On 04/08/2014 02:29 PM, Roelof Wobben wrote: but when I do nix-build -A cinnamon-settings-daeemon in the directory which contains the nix file I get a message that default.nix cannot be found. Normally, you should call nix-build in the root of the nixpkgs tree, or

Re: [Nix-dev] reboot hangs most of the time

2014-04-08 Thread Strahinja Popovic
I had the same problem, while I have been using SLiM. I am currently using KDM, and it works OK. You might have some other process that is not working properly with systemd. https://wiki.archlinux.org/index.php/Display_manager#Incompatibility_with_systemd On Mon, Apr 7, 2014 at 1:36 PM, Roelof