Re: [Nix-dev] okteta fix build

2017-06-28 Thread Joachim Schiele
but this creates a lot of more work for us!

look, we already are behind 390 PRs and working day/night and you would
probably be more helpful with a PR.

https://github.com/nixos/nixpkgs/pulls

that said, do whatever you feel is right. i'm not sure if the ML is the
best place to put patches as we don't have any workflow regarding that.
especially not if you put each patch into a single email and don't use
threads.

regards


On 27.06.2017 01:36, Karn Kallio wrote:
>
>> please provide your nice patches via a PR on github.com/nixos/nixpkgs
>> to 'master'
>>
>> if you are unsure about the workflow, please ask and we'll help you!
>> thanks for your work!
>>
> Thank you, but I will just post these patches here for anybody who
> wants to use them.

-- 
Joachim Schiele
nixcloud GmbH

015 20 4145 347

blog: http://lastlog.de/blog
wiki: http://lastlog.de/wiki
GPG: C11CFB9FFA7A5F4EEDCC59BCAC10E1AC6D8F75EE (here: 
https://lastlog.de/blog/about.html)



___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] okteta fix build

2017-06-27 Thread Joachim Schiele
aszlig pointed out that we have a pointer in the manual to send patches
to the ML if the user in question does not like github which is a valid
workflow for me.

BUT we are stagnating in PRs are the moment (390 open PRs) and having a
patch per email is overkill. maybe a PR from a different git source
instead? i would rather like a git based workflow than having to align
the single files into a commit.

maybe we have to find a better workflow here which automates things.

On 27.06.2017 17:10, Shea Levy wrote:
> Mailing list is a perfectly appropriate place to send git patches that
> doesn't require membership with a proprietary service; You may not care
> about that (I personally don't), but there's no reason we can't
> accommodate those who do.
> 
> Joachim Schiele  writes:
> 
>> please provide your nice patches via a PR on github.com/nixos/nixpkgs to
>> 'master'
>>
>> if you are unsure about the workflow, please ask and we'll help you!
>> thanks for your work!
>>
>> On 25.06.2017 19:51, Karn Kallio wrote:
>>>
>>> The attached patch fixes the build of the Nixpkgs KDE application
>>> okteta by adding some missing dependencies.
>>>
>>>
>>>
>>> ___
>>> nix-dev mailing list
>>> nix-dev@lists.science.uu.nl
>>> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>>>
>>
>>
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl
>> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>>
>>
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl
>> https://mailman.science.uu.nl/mailman/listinfo/nix-dev


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] okteta fix build

2017-06-26 Thread Joachim Schiele
please provide your nice patches via a PR on github.com/nixos/nixpkgs to
'master'

if you are unsure about the workflow, please ask and we'll help you!
thanks for your work!

On 25.06.2017 19:51, Karn Kallio wrote:
> 
> The attached patch fixes the build of the Nixpkgs KDE application
> okteta by adding some missing dependencies.
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 3d5220: sshd.nix: Added nixops usage warning of openssh.au...

2017-06-22 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3d52203ab2a2aa31df8ae52efda3b14e75628a57
  
https://github.com/NixOS/nixpkgs/commit/3d52203ab2a2aa31df8ae52efda3b14e75628a57
  Author: Joachim Schiele 
  Date:   2017-06-22 (Thu, 22 Jun 2017)

  Changed paths:
M nixos/modules/services/networking/ssh/sshd.nix

  Log Message:
  ---
  sshd.nix: Added nixops usage warning of openssh.authorizedKeys.keys usage


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] Import remote packages in NixOps/NixOS

2017-06-18 Thread Joachim Schiele
see also:
https://github.com/NixOS/nixops/issues/434#issuecomment-309281751

On 09.03.2016 00:15, Eric Sagnes wrote:
> Thank you, it works perfectly with the `{}` at the end of the import!
> 
> On Tue, Mar 08, 2016 at 05:24:02PM +0100, Rok Garbas wrote:
>> Hi,
>>
>> On Tue, Mar 8, 2016 at 6:42 AM, Eric Sagnes  wrote:
>>> It is possible to import foreign modules in NixOps by doing:
>>>
>>> ```
>>> {
>>>   network.description = "Web server";
>>>
>>>   webserver = { config, pkgs, ... }:
>>> let
>>>   myModuleSrc = (import  {}).fetchFromGitHub {
>>>   owner  = "me";
>>>   repo   = "myModule";
>>>   rev= "v1.0";
>>>   sha256 = "";
>>>   };
>>> in
>>> {
>>>   imports = [ "${myModuleSrc}/module.nix" ];
>>>   services.myModule.enable = true;
>>> };
>>> }
>>> ```
>>>
>>> Presupposing that the remote package provides a nix build expression,
>>> is it possible to directly import it in a similar way?
>>> Pseudo code that is not working:
>>>
>>> ```
>>> {
>>>   network.description = "Web server";
>>>
>>>   webserver = { config, pkgs, ... }:
>>> let
>>>   myPackageSrc = (import  {}).fetchFromGitHub {
>>>   owner  = "me";
>>>   repo   = "myPackage";
>>>   rev= "v1.0";
>>>   sha256 = "";
>>>   };
>>> in
>>> {
>>>   environment.systemPackages = [
>>> (import "${myPackageSrc}/release.nix")
>>>   ];
>>>
>>> };
>>> }
>>> ```
>>>
>>> (The above complains about coercing a function to a string.)
>>>
>>
>>
>> you can also just use builtins.fetchFromTarball.
>>
>> for above you probably will want to do
>>
>>   (import "${myPackagesSrc}/release.nix" { ... })
>>
>>
>> -- 
>> Rok Garbas - https://.garbas.si
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] ca17f3: hostapd dependency fix for https://github.com/nixo...

2017-06-14 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ca17f3b8efc48af4f8a6128c1d5de7146053af40
  
https://github.com/NixOS/nixpkgs/commit/ca17f3b8efc48af4f8a6128c1d5de7146053af40
  Author: Joachim Schiele 
  Date:   2017-06-14 (Wed, 14 Jun 2017)

  Changed paths:
M nixos/modules/services/networking/hostapd.nix

  Log Message:
  ---
  hostapd dependency fix for https://github.com/nixos/nixpkgs/issues/16090 
(#26573)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 507c20: spamassassin: major service fixes -> added more pe...

2017-06-10 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 507c2079580d51c5a48c6267c3ad2ca6febd2fe9
  
https://github.com/NixOS/nixpkgs/commit/507c2079580d51c5a48c6267c3ad2ca6febd2fe9
  Author: Joachim Schiele 
  Date:   2017-06-10 (Sat, 10 Jun 2017)

  Changed paths:
M nixos/modules/services/mail/spamassassin.nix
M pkgs/servers/mail/spamassassin/default.nix
A pkgs/servers/mail/spamassassin/sa-update_add--siteconfigpath.patch
M pkgs/top-level/perl-packages.nix

  Log Message:
  ---
  spamassassin: major service fixes -> added more perl packages to spamassassin 
and abstracted service to not use /etc/spamassassin, also running sa-update as 
spamd user periodically (#26470)

thanks @grahamc for IRC comments


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] f30dd7: go-modules/generic: add missing PATHs to GOPATH wh...

2017-06-01 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f30dd71a388b327102a8bbc628aed1b04488e44d
  
https://github.com/NixOS/nixpkgs/commit/f30dd71a388b327102a8bbc628aed1b04488e44d
  Author: Joachim Schiele 
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
M pkgs/development/go-modules/generic/default.nix

  Log Message:
  ---
  go-modules/generic: add missing PATHs to GOPATH when using nix-shell (#26176)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] d5e184: on error, add a reference to the configuration fil...

2017-05-16 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d5e18499d936c7a7cd22e96dc6ed957086a7b1ce
  
https://github.com/NixOS/nixpkgs/commit/d5e18499d936c7a7cd22e96dc6ed957086a7b1ce
  Author: Joachim Schiele 
  Date:   2017-05-16 (Tue, 16 May 2017)

  Changed paths:
M nixos/modules/services/networking/nsd.nix

  Log Message:
  ---
  on error, add a reference to the configuration file (#25825)

error now adds the zone file in the output which makes 'reasonable' debugging 
possible!

[root@nixdoc:~/nixpkgs_nsd]# nixos-rebuild -I nixpkgs=. switch
building Nix...
building the system configuration...
these derivations will be built:
  /nix/store/318a7mhwlz1x0cy4hl1259n8x9z0jacy-nsd-env.drv
  /nix/store/fnbhk8grwk7vfdk3gby49bv6kml8hjcc-unit-script.drv
  /nix/store/xf80mq1f1c3pm37fci0vi5ixy4gb1rcp-unit-nsd.service.drv
  /nix/store/bfmkkykqksmvkhvh3ppl36k86lbw9v4i-system-units.drv
  /nix/store/ja97mwl2r0wdrxccl82dx8jln7jlmnyb-etc.drv
  
/nix/store/yh8m6b3j8vapz2r1wzffq8zq09j56q8p-nixos-system-nixdoc.io-17.09.git.0afb6d7.drv
building path(s) ‘/nix/store/sg7w3k6qg2yr02a0sbrgbv5yiqn9pzcq-nsd-env’
created 2 symlinks in user environment
checking zone files
|- checking zone 
'/nix/store/sg7w3k6qg2yr02a0sbrgbv5yiqn9pzcq-nsd-env/zones/lastlog.de.'
[2017-05-16 10:30:34.628] nsd-checkzone[27696]: error: lastlog.de.:17: syntax 
error
[2017-05-16 10:30:34.628] nsd-checkzone[27696]: error: lastlog.de.:17: 
unrecognized RR type 'lastlog'
zone lastlog.de. file lastlog.de. has 2 errors
builder for ‘/nix/store/318a7mhwlz1x0cy4hl1259n8x9z0jacy-nsd-env.drv’ failed 
with exit code 1
cannot build derivation 
‘/nix/store/xf80mq1f1c3pm37fci0vi5ixy4gb1rcp-unit-nsd.service.drv’: 1 
dependencies couldn't be built
cannot build derivation 
‘/nix/store/bfmkkykqksmvkhvh3ppl36k86lbw9v4i-system-units.drv’: 1 dependencies 
couldn't be built
cannot build derivation ‘/nix/store/ja97mwl2r0wdrxccl82dx8jln7jlmnyb-etc.drv’: 
1 dependencies couldn't be built
cannot build derivation 
‘/nix/store/yh8m6b3j8vapz2r1wzffq8zq09j56q8p-nixos-system-nixdoc.io-17.09.git.0afb6d7.drv’:
 1 dependencies couldn't be built
error: build of 
‘/nix/store/yh8m6b3j8vapz2r1wzffq8zq09j56q8p-nixos-system-nixdoc.io-17.09.git.0afb6d7.drv’
 failed


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-dev] trace an option(s) definition to the `filename` + `loc`

2017-03-24 Thread Joachim Schiele
hello,

i would like to print the filename + loc of configuration.nix port
assignment in port-module.nix 'throw' line. how to get this information
from nix?

* in nixpkgs/lib/types.nix i see `loc` information for the various merge
functions.
* lib nixpkgs/lib/debug.nix i found traceCall/traceCall2/traceCall3 but
no examples of those in usage

IIRC there was a function which traces back the value to the filename +
loc but i can't find it anymore.

anyone knows how to get these values?






# configuration.nix
  services.portBB = {
"lastlog.de" = {
  "/status" = {
port = 8000;
path = "/status";
  };
};
  };

# port-module.nix:

services.portBB = mkOption {
  type = types.attrsOf (types.attrsOf (types.submodule {
options.port = mkOption {
  type = types.int;
  apply = p: if p == 8000 then throw "Port ${toString p} may not
be used!" else p;
};

options.path = mkOption {
  type = types.path;
};
  }));
};

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 1afee7: Update python.md (#23669)

2017-03-20 Thread Joachim Schiele
  Branch: refs/heads/release-17.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1afee76d452a7df51e235971e7ae4280e37e0595
  
https://github.com/NixOS/nixpkgs/commit/1afee76d452a7df51e235971e7ae4280e37e0595
  Author: Joachim Schiele 
  Date:   2017-03-21 (Tue, 21 Mar 2017)

  Changed paths:
M doc/languages-frameworks/python.md

  Log Message:
  ---
  Update python.md (#23669)

* Update python.md

this makes it clear how to alter `attributes` by using `packageOverrides`

* Update python.md

* Update python.md

* Update python.md

* Update python.md

* Update python.md

* Update python.md

(cherry picked from commit 91debcb482b0b6b6b8ce017d3d22eefdc90092a7)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 91debc: Update python.md (#23669)

2017-03-20 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 91debcb482b0b6b6b8ce017d3d22eefdc90092a7
  
https://github.com/NixOS/nixpkgs/commit/91debcb482b0b6b6b8ce017d3d22eefdc90092a7
  Author: Joachim Schiele 
  Date:   2017-03-21 (Tue, 21 Mar 2017)

  Changed paths:
M doc/languages-frameworks/python.md

  Log Message:
  ---
  Update python.md (#23669)

* Update python.md

this makes it clear how to alter `attributes` by using `packageOverrides`

* Update python.md

* Update python.md

* Update python.md

* Update python.md

* Update python.md

* Update python.md


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] e7039c: all-packages.nix: removing wmutils-opt (accidental...

2017-03-18 Thread Joachim Schiele
  Branch: refs/heads/release-16.09
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e7039c37b715647217b5ec6057f2b4de89c84c05
  
https://github.com/NixOS/nixpkgs/commit/e7039c37b715647217b5ec6057f2b4de89c84c05
  Author: Joachim Schiele 
  Date:   2017-03-19 (Sun, 19 Mar 2017)

  Changed paths:
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  all-packages.nix: removing wmutils-opt (accidentally commited)


  Commit: ad55ae3c12843d68ce0550ad3381305b539bb01b
  
https://github.com/NixOS/nixpkgs/commit/ad55ae3c12843d68ce0550ad3381305b539bb01b
  Author: Joachim Schiele 
  Date:   2017-03-19 (Sun, 19 Mar 2017)

  Changed paths:
M pkgs/applications/editors/kdevelop5/kdevelop.nix
M pkgs/applications/editors/kdevelop5/kdevplatform.nix

  Log Message:
  ---
  Merge branch 'release-16.09' of github.com:NixOS/nixpkgs into release-16.09


Compare: https://github.com/NixOS/nixpkgs/compare/5c98dcf22e89...ad55ae3c1284___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 6022a7: nixos/release.nix: added tests.wordpress

2017-03-18 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6022a79cbc2fd3c78a89a8ec02732781cceb4a59
  
https://github.com/NixOS/nixpkgs/commit/6022a79cbc2fd3c78a89a8ec02732781cceb4a59
  Author: Joachim Schiele 
  Date:   2017-03-18 (Sat, 18 Mar 2017)

  Changed paths:
M nixos/release.nix

  Log Message:
  ---
  nixos/release.nix: added tests.wordpress


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] LXC containers on NixOS

2017-03-14 Thread Joachim Schiele
we got unpriviledged nixos lxc containers running on nixos with the
current kernel (master).

On 13.03.2017 15:45, Lukas Epple wrote:
> On Sat, Mar 11, 2017 at 01:39:03AM +0100, Joachim Schiele wrote:
>> we have LXC (not libvirt) with unprivileged NixOS running at nixcloud.io
>> and we could give you some help.
> 
> What were the relevant config options you needed to set to get it to
> work? I tried it, but wasn't successful (may be arm problems though).
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] LXC containers on NixOS

2017-03-10 Thread Joachim Schiele
hey,

we have LXC (not libvirt) with unprivileged NixOS running at nixcloud.io
and we could give you some help.

what do you want to know?

On 07.03.2017 17:44, Volth wrote:
> Hello
> 
> I saw (in blogs, issue comments, ...) then some of you are using LXC
> containers with NixOS as host, even in production.
> 
> Could you please share your setup?
> 
> My attempts to use them encounter the showstopper bugs: raw LXC
> containers do not start
> (https://github.com/NixOS/nixpkgs/issues/23604).
> libvirt-lxc works, but "virsh -c lxc:/// destroy my-container" does
> not kill the container processes.
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 49f5eb: Update python.md

2017-03-10 Thread Joachim Schiele
  Branch: refs/heads/qknight-overrideAttrs
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 49f5ebb2bac94173d1efd66556a90c53e558f279
  
https://github.com/NixOS/nixpkgs/commit/49f5ebb2bac94173d1efd66556a90c53e558f279
  Author: Joachim Schiele 
  Date:   2017-03-10 (Fri, 10 Mar 2017)

  Changed paths:
M doc/languages-frameworks/python.md

  Log Message:
  ---
  Update python.md


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] d138b7: Update python.md

2017-03-10 Thread Joachim Schiele
  Branch: refs/heads/qknight-overrideAttrs
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d138b77917c2a9b7d6e58fb051aa0daee73eb295
  
https://github.com/NixOS/nixpkgs/commit/d138b77917c2a9b7d6e58fb051aa0daee73eb295
  Author: Joachim Schiele 
  Date:   2017-03-10 (Fri, 10 Mar 2017)

  Changed paths:
M doc/languages-frameworks/python.md

  Log Message:
  ---
  Update python.md


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] e1fe2a: Update python.md

2017-03-10 Thread Joachim Schiele
  Branch: refs/heads/qknight-overrideAttrs
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e1fe2a83bdf08e3efcae42e50b899cfe7a5d32af
  
https://github.com/NixOS/nixpkgs/commit/e1fe2a83bdf08e3efcae42e50b899cfe7a5d32af
  Author: Joachim Schiele 
  Date:   2017-03-10 (Fri, 10 Mar 2017)

  Changed paths:
M doc/languages-frameworks/python.md

  Log Message:
  ---
  Update python.md


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 80d87c: Update python.md

2017-03-10 Thread Joachim Schiele
  Branch: refs/heads/qknight-overrideAttrs
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 80d87c95904d78709615c00b2f1ec274ab413299
  
https://github.com/NixOS/nixpkgs/commit/80d87c95904d78709615c00b2f1ec274ab413299
  Author: Joachim Schiele 
  Date:   2017-03-10 (Fri, 10 Mar 2017)

  Changed paths:
M doc/languages-frameworks/python.md

  Log Message:
  ---
  Update python.md


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 87e8b5: Update python.md

2017-03-09 Thread Joachim Schiele
  Branch: refs/heads/qknight-overrideAttrs
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 87e8b5de0714060f1b5ec22de80796ff5a332381
  
https://github.com/NixOS/nixpkgs/commit/87e8b5de0714060f1b5ec22de80796ff5a332381
  Author: Joachim Schiele 
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
M doc/languages-frameworks/python.md

  Log Message:
  ---
  Update python.md


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 6e972b: Update python.md

2017-03-09 Thread Joachim Schiele
  Branch: refs/heads/qknight-overrideAttrs
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6e972bbaf325e42569da2cb3a22adf8e17524ab0
  
https://github.com/NixOS/nixpkgs/commit/6e972bbaf325e42569da2cb3a22adf8e17524ab0
  Author: Joachim Schiele 
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
M doc/languages-frameworks/python.md

  Log Message:
  ---
  Update python.md


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] d06364: Update python.md

2017-03-09 Thread Joachim Schiele
  Branch: refs/heads/qknight-overrideAttrs
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d0636468b01ae3341cc9ef4f4e995f3468d1943d
  
https://github.com/NixOS/nixpkgs/commit/d0636468b01ae3341cc9ef4f4e995f3468d1943d
  Author: Joachim Schiele 
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
M doc/languages-frameworks/python.md

  Log Message:
  ---
  Update python.md

this makes it clear how to alter `attributes` by using `packageOverrides`


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] f8ad48: nixos/tests/leaps.nix: fixed race condition

2017-03-06 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f8ad48ea1d83fdae35cbb43e0caafa813f8b4264
  
https://github.com/NixOS/nixpkgs/commit/f8ad48ea1d83fdae35cbb43e0caafa813f8b4264
  Author: Joachim Schiele 
  Date:   2017-03-06 (Mon, 06 Mar 2017)

  Changed paths:
M nixos/tests/leaps.nix

  Log Message:
  ---
  nixos/tests/leaps.nix: fixed race condition


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-dev] sha2017 + emscripten + nix

2017-03-04 Thread Joachim Schiele
hey,

paul and me will attend sha2017 and since 'the tour of nix' was born on
the chaos communication camp it might be a nice opportunity to update
the current tour backend.

that said, we would like to do this:
- convert a more recent version of nix to javascript (emscripten)
- automate that toolchain
- update the tour

here is some more background:
  https://lastlog.de/blog/posts/tour_of_nix.html

IIRC we didn't support the nix-store because of perl but i wonder if
that perl dependency is already converted into a c++ implementation.
anyone knows?

if interested, please contact: j...@lastlog.de

regards,
joachim

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] d6b0c8: tlspool: init at 20170123 (#23437)

2017-03-03 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d6b0c87bda75b0b8ccc6b8591767e5774847c48b
  
https://github.com/NixOS/nixpkgs/commit/d6b0c87bda75b0b8ccc6b8591767e5774847c48b
  Author: Joachim Schiele 
  Date:   2017-03-03 (Fri, 03 Mar 2017)

  Changed paths:
A pkgs/development/libraries/gnutls-kdh/3.5.nix
A pkgs/development/libraries/gnutls-kdh/generic.nix
A pkgs/tools/networking/tlspool/configvar-fix.patch
A pkgs/tools/networking/tlspool/default.nix
A pkgs/tools/networking/tlspool/fixing-rpath.patch
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  tlspool: init at 20170123 (#23437)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] d49172: httpd: added serviceExpression which extends the s...

2017-02-05 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d4917286530b95720eac05e68c7fbcc1dd651774
  
https://github.com/NixOS/nixpkgs/commit/d4917286530b95720eac05e68c7fbcc1dd651774
  Author: Joachim Schiele 
  Date:   2017-02-06 (Mon, 06 Feb 2017)

  Changed paths:
M nixos/modules/services/web-servers/apache-httpd/default.nix

  Log Message:
  ---
  httpd: added serviceExpression which extends the serviceType concept -> 
allows that httpd services can live outside of nixpkgs (#22269)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] nixos-rebuild using $TMPDIR

2016-12-21 Thread Joachim Schiele
interesting. i'm also having problem with tmpfs ATM. seems to give
'permission denied' and after the first run of nix-build all others will
fail.


On 16.12.2016 13:38, Azul wrote:
> thanks,
>
> I ended up getting rid of tmpfs, causes more hassle than what it is worth
>
> On 14 December 2016 at 17:37, Joachim Schiele  <mailto:j...@lastlog.de>> wrote:
>
> On 13.12.2016 16:14, Azul wrote:
> > Hey gang,
> >
> > Trying to do a nixos-rebuild where I added libreoffice to my list of
> > packages failing due to lack of disk space.
> > My /tmp is on tmpfs, so limited in disk space.
> >
> > I tried to set NIX_REMOTE="" and TMPDIR=/var/tmp/ but no joy,
> > nixos-rebuild just tells me to sod off and does its own thing.
> >
> > is there a way to tell nixos-rebuild to use my TMPDIR settings ?
> >
> > azul
>
>
> man nix-build
>
> lets to:
>
>TMPDIR
>Use the specified directory to store temporary files. In
> particular, this includes temporary build directories; these can
> take up
> substantial amounts of disk space. The default is /tmp.
>
> so:
>
> TMPDIR=/foo nix-build -A whatever
>
> should do the trick
>
>

-- 
Joachim Schiele

blog: http://lastlog.de/blog
wiki: http://lastlog.de/wiki
signal: 0160 7576 242
GPG: 6D8F75EE (key here: https://lastlog.de/blog/about.html)



signature.asc
Description: OpenPGP digital signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] hydra local build failed

2016-12-14 Thread Joachim Schiele
On 12.12.2016 13:39, Walter Franzini wrote:
> Hi,
> 
> I'm going to experiment with hydra and installing it in a nix
> multi-user environment I get a compilation error:
> 
> ...
> g++ -DHAVE_CONFIG_H -I. -I../..
> -I/nix/store/xibmb4s2xah92zx2m34gng55in38l2cq-boehm-gc-7.2g-dev/include 
> -I/nix/store/i90xvxfz44hg85yyv9px2vkkvdarfn85-nix-1.12pre4523_3b81b26-dev/include/nix
>  -Wall -laws-cpp-sdk-s3 -g -O2 -std=c++11 -c -o s3-binary-cache-store.o 
> s3-binary-cache-store.cc
> s3-binary-cache-store.cc:6:29: fatal error: aws/s3/S3Client.h: No such file 
> or directory
> compilation terminated.
> make[3]: *** [Makefile:442: s3-binary-cache-store.o] Error 1
> make[3]: *** Waiting for unfinished jobs
> make[3]: Leaving directory 
> '/tmp/nix-build-hydra-2016-04-15.drv-0/hydra-177bf25d648092826a75369191503a3f2bb763a4-src/src/hydra-queue-runner'
> make[2]: *** [Makefile:363: all-recursive] Error 1
> ...
> 
> What I'm doing wrong?
> 
> Thanks
> 

in your case you simply are missing some dependencies, how do you build
it? with nix-build or nix-shell?

however:

there was no announcement but hydra is now part of nixpkgs which is awesome:










services = {




  openssh.enable = true;
  postfix = {
enable = true;
setSendmail = true;
  };

  hydra = {
enable = true;
dbi = "dbi:Pg:dbname=hydra;host=localhost;user=hydra;";
hydraURL = "https://hydra.nixcloud.io";;
listenHost = "localhost";
port = 3000;
minimumDiskFree = 20;  # in GB
minimumDiskFreeEvaluator = 2;
notificationSender = "j...@lastlog.de";
logo = null;
debugServer = false;
  };
  # Hydra requires postgresql to run
  postgresql.enable = true;
  postgresql.package = pkgs.postgresql;
  postgresql.authentication = pkgs.lib.mkOverride 10 ''
host hydra all 127.0.0.1/8 trust
local all all trust
  '';

  # frontend http/https server
  nginx.enable = true;
  nginx.config =
''
  error_log /var/log/nginx-error.log;
  events {}

  http {
server {
  listen 80 default_server;
  listen [::]:80 default_server;
  server_name _;
  return 301 https://$host$request_uri;
}
server {
  listen 443 ssl;
  access_log /var/log/nginx-access.log;
  server_name hydra.nixcloud.io;
  ssl_certificate /root/ssl/hydra.crt;
  ssl_certificate_key /root/ssl/hydra.key;
  ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  ssl_ciphers HIGH:!aNULL:!MD5;
  location / {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Port 443;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Request-Base "https://hydra.nixcloud.io";;
proxy_pass http://localhost:3000/;
  }
}
  }
'';
};



___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nixos-rebuild using $TMPDIR

2016-12-14 Thread Joachim Schiele
On 13.12.2016 16:14, Azul wrote:
> Hey gang,
> 
> Trying to do a nixos-rebuild where I added libreoffice to my list of
> packages failing due to lack of disk space.
> My /tmp is on tmpfs, so limited in disk space.
> 
> I tried to set NIX_REMOTE="" and TMPDIR=/var/tmp/ but no joy,
> nixos-rebuild just tells me to sod off and does its own thing.
> 
> is there a way to tell nixos-rebuild to use my TMPDIR settings ?
> 
> azul


man nix-build

lets to:

   TMPDIR
   Use the specified directory to store temporary files. In
particular, this includes temporary build directories; these can take up
substantial amounts of disk space. The default is /tmp.

so:

TMPDIR=/foo nix-build -A whatever

should do the trick

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 1f811a: rustcNightlyBin.rustc: revision bump 2016-11-26 to...

2016-12-12 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1f811a67274e340d9e13987801fe726308e748ab
  
https://github.com/NixOS/nixpkgs/commit/1f811a67274e340d9e13987801fe726308e748ab
  Author: Joachim Schiele 
  Date:   2016-12-12 (Mon, 12 Dec 2016)

  Changed paths:
M pkgs/development/compilers/rust/nightlyBin.nix

  Log Message:
  ---
  rustcNightlyBin.rustc: revision bump 2016-11-26 to 2016-12-05 with fix to 
contain components as libcore


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 880634: rust: Updates & rename `rustUnstable` to `rustNigh...

2016-11-29 Thread joachim schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 88063446186da227a995d8d9432b5bda10f3dc3a
  
https://github.com/NixOS/nixpkgs/commit/88063446186da227a995d8d9432b5bda10f3dc3a
  Author: joachim schiele 
  Date:   2016-11-29 (Tue, 29 Nov 2016)

  Changed paths:
M pkgs/development/compilers/rust/beta.nix
M pkgs/development/compilers/rust/default.nix
R pkgs/development/compilers/rust/head.nix
A pkgs/development/compilers/rust/nightly.nix
M pkgs/development/compilers/rust/nightlyBin.nix
A pkgs/development/compilers/rust/patches/disable-lockfile-check-beta.patch
A 
pkgs/development/compilers/rust/patches/disable-lockfile-check-nightly.patch
A 
pkgs/development/compilers/rust/patches/disable-lockfile-check-stable.patch
R pkgs/development/compilers/rust/patches/disable-lockfile-check.patch
M pkgs/top-level/aliases.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  rust: Updates & rename `rustUnstable` to `rustNighly`.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] f67061: (rustc-nightly) init at 2016-11-26 - precompiled r...

2016-11-29 Thread joachim schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: f67061c1de847f310d1569cfabf98fef8fb09d4e
  
https://github.com/NixOS/nixpkgs/commit/f67061c1de847f310d1569cfabf98fef8fb09d4e
  Author: joachim schiele 
  Date:   2016-11-29 (Tue, 29 Nov 2016)

  Changed paths:
A pkgs/development/compilers/rust/nightlyBin.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  (rustc-nightly) init at 2016-11-26 - precompiled rustc nightly binary


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] assembly on 33C3

2016-11-14 Thread Joachim Schiele
On 31.10.2016 11:08, Joachim Schiele wrote:
> anyone else interested to have a dedicated NixOS/Nix assembly at the 33C3?
> 
> when there is interest, let me know:
> j...@lastlog.de

https://events.ccc.de/congress/2016/wiki/Assembly:NixOS


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 47d81e: leaps: 0.5.1 + add a service + test

2016-11-06 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 47d81ed3473f33cfb48f2be079f50cdfac60f1e7
  
https://github.com/NixOS/nixpkgs/commit/47d81ed3473f33cfb48f2be079f50cdfac60f1e7
  Author: Joachim Schiele 
  Date:   2016-11-06 (Sun, 06 Nov 2016)

  Changed paths:
M nixos/modules/misc/ids.nix
M nixos/modules/module-list.nix
A nixos/modules/services/misc/leaps.nix
M nixos/release.nix
A nixos/tests/leaps.nix
M pkgs/development/tools/leaps/default.nix
M pkgs/development/tools/leaps/deps.nix

  Log Message:
  ---
  leaps: 0.5.1 + add a service + test


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-dev] assembly on 33C3

2016-10-31 Thread Joachim Schiele
hey,

anyone else interested to have a dedicated NixOS/Nix assembly at the 33C3?

when there is interest, let me know:
j...@lastlog.de

regards,
joachim


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Great news for users of Node on NixOS

2016-10-14 Thread Joachim Schiele
On 11.10.2016 19:22, Colin Putney wrote:
> https://code.facebook.com/posts/1840075619545360

would love to see a comment on this from sander vander burg

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 8268f0: pgpdump: init at v0.31

2016-10-06 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8268f0a759597bfdf07f2cc48b265215040b5c5e
  
https://github.com/NixOS/nixpkgs/commit/8268f0a759597bfdf07f2cc48b265215040b5c5e
  Author: Michael Weiss 
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
M lib/maintainers.nix
A pkgs/tools/security/pgpdump/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  pgpdump: init at v0.31

Add the package "pgpdump" at version v0.31 under the category
"tools/security", add it to the top-level package collection and set
myself as the maintainer (I added myself to lib/maintainers.nix).

I have tested this package under NixOS and Gentoo+Nix.


  Commit: 5f64eacf6afc0bbe67116a1b9c2fa88e14e78358
  
https://github.com/NixOS/nixpkgs/commit/5f64eacf6afc0bbe67116a1b9c2fa88e14e78358
  Author: Joachim Schiele 
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
M lib/maintainers.nix
A pkgs/tools/security/pgpdump/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #19257 from primeos/pgpdump

pgpdump: init at v0.31


Compare: https://github.com/NixOS/nixpkgs/compare/6f836eb0d4df...5f64eacf6afc___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 3ed507: odroid xu4: kernel + uboot + platform (should also...

2016-10-03 Thread Joachim Schiele
  Branch: refs/heads/odroid-xu4
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3ed507ab2ef5208a2ab65793e18a3ff1c6b81ab3
  
https://github.com/NixOS/nixpkgs/commit/3ed507ab2ef5208a2ab65793e18a3ff1c6b81ab3
  Author: Joachim Schiele 
  Date:   2016-10-03 (Mon, 03 Oct 2016)

  Changed paths:
A pkgs/misc/uboot/MAX_TFTP_PATH_LEN-increase.patch
A pkgs/misc/uboot/odroid_xu4.nix
A pkgs/os-specific/linux/kernel/linux-odroid_xu4.nix
M pkgs/top-level/all-packages.nix
M pkgs/top-level/platforms.nix

  Log Message:
  ---
  odroid xu4: kernel + uboot + platform (should also work on xu3)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 739b05: Fix borgbackup dependency on lz4

2016-09-09 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 739b058779620bc0c8938b98b8c6172b59d8979b
  
https://github.com/NixOS/nixpkgs/commit/739b058779620bc0c8938b98b8c6172b59d8979b
  Author: Michael Alan Dorman 
  Date:   2016-09-09 (Fri, 09 Sep 2016)

  Changed paths:
M pkgs/tools/backup/borg/default.nix

  Log Message:
  ---
  Fix borgbackup dependency on lz4


  Commit: 41b1134680d1b0964eac5d6cd2afac3ab9181352
  
https://github.com/NixOS/nixpkgs/commit/41b1134680d1b0964eac5d6cd2afac3ab9181352
  Author: Joachim Schiele 
  Date:   2016-09-09 (Fri, 09 Sep 2016)

  Changed paths:
M pkgs/tools/backup/borg/default.nix

  Log Message:
  ---
  Merge pull request #18469 from mdorman/borgbackup-fix

Fix borgbackup dependency on lz4


Compare: https://github.com/NixOS/nixpkgs/compare/81b643edbe52...41b1134680d1___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] libvirt/nixops

2016-09-05 Thread Joachim Schiele
https://github.com/NixOS/nixops/issues/500

On 05.09.2016 10:24, Domen Kožar wrote:
> That hints the qemu didn't come up, can you paste the contents of files
> in /var/log/libvirt/qemu/ somewhere?
> 
> Maybe best to open an issue on nixops github and let's continue there!
> 
> On Sun, Sep 4, 2016 at 11:22 PM, Joachim Schiele  <mailto:j...@lastlog.de>> wrote:
> 
> it is empty, see
> 
> virsh -c qemu:///system net-dhcp-leases --network default
>  Expiry Time  MAC addressProtocol  IP
> addressHostnameClient ID or DUID
> 
> ---
> 
> 
> On 04.09.2016 22:51, Domen Kožar wrote:
>> What's the output of:
>>
>> $ virsh -c qemu:///system net-dhcp-leases --network default
>>
>> On Sun, Sep 4, 2016 at 10:13 PM, Vladimír Čunát > <mailto:vcu...@gmail.com>> wrote:
>>
>> On 09/04/2016 10:07 PM, Joachim Schiele wrote:
>> > i'm using nixos 16.03.1271.546618c (Emu) with nixops 1.4 and
>> i wanted to
>> > deploy to libvirtd.
>>
>> Do you know about
>> https://github.com/NixOS/nixops/issues/499
>> <https://github.com/NixOS/nixops/issues/499>
>>
>> --Vladimir
>>
>>
>>
>> ___
>> nix-dev mailing list
>>     nix-dev@lists.science.uu.nl <mailto:nix-dev@lists.science.uu.nl>
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>> <http://lists.science.uu.nl/mailman/listinfo/nix-dev>
>>
>>
> 
> -- 
> Joachim Schiele
> 
> blog: http://lastlog.de/blog
> wiki: http://lastlog.de/wiki
> signal: 0160 7576 242
> GPG: 6D8F75EE (key here: https://lastlog.de/blog/about.html 
> <https://lastlog.de/blog/about.html>)
> 
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] libvirt/nixops

2016-09-05 Thread Joachim Schiele
it is empty, see

virsh -c qemu:///system net-dhcp-leases --network default
 Expiry Time  MAC addressProtocol  IP
addressHostnameClient ID or DUID
---


On 04.09.2016 22:51, Domen Kožar wrote:
> What's the output of:
>
> $ virsh -c qemu:///system net-dhcp-leases --network default
>
> On Sun, Sep 4, 2016 at 10:13 PM, Vladimír Čunát  <mailto:vcu...@gmail.com>> wrote:
>
>     On 09/04/2016 10:07 PM, Joachim Schiele wrote:
> > i'm using nixos 16.03.1271.546618c (Emu) with nixops 1.4 and i
> wanted to
> > deploy to libvirtd.
>
> Do you know about
> https://github.com/NixOS/nixops/issues/499
> <https://github.com/NixOS/nixops/issues/499>
>
> --Vladimir
>
>
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl <mailto:nix-dev@lists.science.uu.nl>
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> <http://lists.science.uu.nl/mailman/listinfo/nix-dev>
>
>

-- 
Joachim Schiele

blog: http://lastlog.de/blog
wiki: http://lastlog.de/wiki
signal: 0160 7576 242
GPG: 6D8F75EE (key here: https://lastlog.de/blog/about.html)



signature.asc
Description: OpenPGP digital signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] libvirt/nixops

2016-09-04 Thread Joachim Schiele
dear developers,

i'm using nixos 16.03.1271.546618c (Emu) with nixops 1.4 and i wanted to
deploy to libvirtd. according to
https://nixos.org/nixops/manual/#idm140737319108016 this should be working.

my problem is, i can't manage to get a IPv4 via dhcpcd from a
kvm/libvirtd-client.

i see this:

nixops deploy ...
...
mailserver> waiting for IP address to appear in DHCP
leases.
.


this dottet line never finishes. i've also used virt-manager to deploy a
nixos based guest and using static ip-addresses i can access the
internet from the guest. using dhcpcd from that guest never terminates
successfully either. i see the requests using tcpdump -i virbr0 (on the
host).

this is my host configuration:

  ...
  virtualisation.libvirtd.enable = true;
  networking = {
firewall = {
  allowedTCPPorts = [ 22 80 443 ];
  allowPing = true;
  checkReversePath = false;
};
  };

i'm quite lost now, what could i try to fix this?

best wishes,
joachim

# host networking

ip a

3: virbr0:  mtu 1500 qdisc noqueue
state UP group default qlen 1000
link/ether 52:54:00:50:21:e8 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 scope global virbr0
   valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe50:21e8/64 scope link
   valid_lft forever preferred_lft forever
4: virbr0-nic:  mtu 1500 qdisc pfifo_fast master
virbr0 state DOWN group default qlen 1000
link/ether 52:54:00:50:21:e8 brd ff:ff:ff:ff:ff:ff
21: vnet0:  mtu 1500 qdisc pfifo_fast
master virbr0 state UNKNOWN group default qlen 1000
link/ether fe:54:00:15:84:41 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc54:ff:fe15:8441/64 scope link
   valid_lft forever preferred_lft forever


# my deployment

[root@nixcloud0001:~/nixops]# nixops deploy -d mailserver
mailserver> these derivations will be built:
mailserver>
/nix/store/8c2mkqamyxccjsz7fpid15wifc5b7rm3-libvirtd-ssh-image.drv
mailserver> building path(s)
‘/nix/store/rzrx0yj7j6s78407r6jj8b18jgn8ap2n-libvirtd-ssh-image’
mailserver> Formatting
'/nix/store/rzrx0yj7j6s78407r6jj8b18jgn8ap2n-libvirtd-ssh-image/image',
fmt=qcow2 size=10737418240 backing_fi
le=/nix/store/r3kls90m6zg6zvgzvwm0mdz78f1lqn9b-libvirtd-image/disk.qcow2
encryption=off cluster_size=65536 lazy_refcounts=off refcou
nt_bits=16
mailserver> loading kernel modules...
mailserver> mounting Nix store...
mailserver> mounting host's temporary directory...
mailserver> starting stage 2
(/nix/store/849ih13ch5vylrzii4j7yx8xdkinf28l-vm-run-stage2)
mailserver> [1.407943] reboot: Power down
mailserver> Formatting
'/var/lib/libvirt/images/nixops-b489ee3d-727b-11e6-9f02-08606e445f1d-mailserver.img',
fmt=qcow2 size=10737418
240
backing_file=/nix/store/rzrx0yj7j6s78407r6jj8b18jgn8ap2n-libvirtd-ssh-image/disk.qcow2
encryption=off cluster_size=65536 lazy_re
fcounts=off refcount_bits=16
mailserver> starting...
mailserver> Domain
nixops-b489ee3d-727b-11e6-9f02-08606e445f1d-mailserver created from
/tmp/nixops-tmpnx7Gix/mailserver-domain.xml
mailserver>
mailserver> waiting for IP address to appear in DHCP
leases.


.^Cerror:
interrupted

# ps aux | grep dnsmasq

nobody1096  0.0  0.0  25220  2156 ?SAug16   0:00
/nix/store/nic8g0523qxlixk7lvwmfk5qzkj4dbyd-dnsmasq-2.76/bin/dnsmasq
--conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro
--dhcp-script=/nix/store/qnb5j957gba9sfa5lg8rshfb5yqnxd05-libvirt-1.3.5/libexec/libvirt_leaseshelper
root  1097  0.0  0.0  25088   232 ?SAug16   0:00
/nix/store/nic8g0523qxlixk7lvwmfk5qzkj4dbyd-dnsmasq-2.76/bin/dnsmasq
--conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro
--dhcp-script=/nix/store/qnb5j957gba9sfa5lg8rshfb5yqnxd05-libvirt-1.3.5/libexec/libvirt_leaseshelper
...
nobody   29079  0.0  0.0  25220  2232 ?SSep02   0:00
/nix/store/2bgcngjm8jny1n5wm0w4s8i8xyw7r615-dnsmasq-2.76/bin/dnsmasq
--conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro
--dhcp-script=/nix/store/nda7mns66zflv1mk1zavad3dmbx3amcd-libvirt-1.3.5/libexec/libvirt_leaseshelper
root 29080  0.0  0.0  25088   236 ?SSep02   0:00
/nix/store/2bgcngjm8jny1n5wm0w4s8i8xyw7r615-dnsmasq-2.76/bin/dnsmasq
--conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro
--dhcp-script=/nix/store/nda7mns66zflv1mk1zavad3dmbx3amcd-libvirt-1.3.5/libexec/libvirt_leaseshelper


___
nix-dev mailing list
nix-dev@lis

[Nix-commits] [NixOS/nixpkgs] b766e2: xmlmirror: move README.md to better place

2016-09-02 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b766e26aac4361245c0829848569f23afcccdff6
  
https://github.com/NixOS/nixpkgs/commit/b766e26aac4361245c0829848569f23afcccdff6
  Author: Michiel Leenaars 
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
M pkgs/top-level/emscripten-packages.nix

  Log Message:
  ---
  xmlmirror: move README.md to better place


  Commit: 9e5f33a4e04bd820836987ce3e17ca743149bc76
  
https://github.com/NixOS/nixpkgs/commit/9e5f33a4e04bd820836987ce3e17ca743149bc76
  Author: Joachim Schiele 
  Date:   2016-09-02 (Fri, 02 Sep 2016)

  Changed paths:
M pkgs/top-level/emscripten-packages.nix

  Log Message:
  ---
  Merge pull request #18226 from leenaars/xmlmirror

xmlmirror: move README.md to better place


Compare: https://github.com/NixOS/nixpkgs/compare/d95a29a01aa5...9e5f33a4e04b___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] af15e0: leaps v0.5.0 init

2016-08-20 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: af15e057f48e25b22fb5c12bc48ec900e22fc706
  
https://github.com/NixOS/nixpkgs/commit/af15e057f48e25b22fb5c12bc48ec900e22fc706
  Author: Joachim Schiele 
  Date:   2016-08-20 (Sat, 20 Aug 2016)

  Changed paths:
A pkgs/development/tools/leaps/default.nix
A pkgs/development/tools/leaps/deps.json
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  leaps v0.5.0 init


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] e9b971: selenium: 2.44 to 2.52 (2.53 tested but not workin...

2016-07-22 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e9b9710e0f8fae0a4cff48d7ef70fedd4da118e7
  
https://github.com/NixOS/nixpkgs/commit/e9b9710e0f8fae0a4cff48d7ef70fedd4da118e7
  Author: Joachim Schiele 
  Date:   2016-07-23 (Sat, 23 Jul 2016)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  selenium: 2.44 to 2.52 (2.53 tested but not working well; 2.44 fails because 
of firefox 36 extension signing enforcement (#15982)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] 1000 EUR for a week of work with Nix and NixOps

2016-07-22 Thread Joachim Schiele
we are interested. that is:
paul and me, we run nixcloud.io, do lots of deployment and can help you.

if you are interested, just let us know.

On 22.07.2016 08:30, Arseniy Seroka wrote:
> Fellow nixers,
> 
> I'm Arseniy Seroka, founder of Serokell.
> We already use Nix on a daily basis while working on our projects. For
> one such
> project, rscoin[1], we need to come up with a way of deploying and
> running it
> on a multitude of cloud services. Naturally, we're looking at NixOps to
> do that.
> We have a pretty tight deadline — we need to get it done by July 29th,
> hence we're seeking for aid in this goal.
> We want to hire a nixer with a good background in NixOps for the next
> week and
> we intend to pay up to 1000 EUR for forty hours of work.
> We're also open for some follow-up contracts with nixers, such as
> contributing
> to our long-running Haskell Overlay initiative or setting up elaborate
> Hydra-based CI infrastructure. RSCoin is a great project that uses
> Haskell and
> PureScript, we think you'll have fun contributing to its usability and
> deployability!
> 
> [1] https://github.com/input-output-hk/rscoin-haskell
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 7f4d52: Build libjack2 for supercollider with same GCC

2016-07-07 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7f4d52e27ec9ea9d06c3f992bfee96a9d7ae58d5
  
https://github.com/NixOS/nixpkgs/commit/7f4d52e27ec9ea9d06c3f992bfee96a9d7ae58d5
  Author: Matthias Beyer 
  Date:   2016-07-07 (Thu, 07 Jul 2016)

  Changed paths:
M pkgs/development/interpreters/supercollider/default.nix
M pkgs/misc/jackaudio/default.nix

  Log Message:
  ---
  Build libjack2 for supercollider with same GCC

Also remove trailing whitespace


  Commit: 9054f3f83eb4d461f57135a013a4d741ee66a065
  
https://github.com/NixOS/nixpkgs/commit/9054f3f83eb4d461f57135a013a4d741ee66a065
  Author: Joachim Schiele 
  Date:   2016-07-07 (Thu, 07 Jul 2016)

  Changed paths:
M pkgs/development/interpreters/supercollider/default.nix
M pkgs/misc/jackaudio/default.nix

  Log Message:
  ---
  Merge pull request #16344 from matthiasbeyer/fix-supercollider

Fix supercollider


Compare: https://github.com/NixOS/nixpkgs/compare/01c9933275b7...9054f3f83eb4___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] c51469: adds support to build emscripten packages using ni...

2016-07-04 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: c514693eb62539545745b71cb0ac52733a9966ad
  
https://github.com/NixOS/nixpkgs/commit/c514693eb62539545745b71cb0ac52733a9966ad
  Author: Joachim Schiele 
  Date:   2016-07-04 (Mon, 04 Jul 2016)

  Changed paths:
A pkgs/development/em-modules/generic/default.nix
M pkgs/top-level/all-packages.nix
A pkgs/top-level/emscripten-packages.nix

  Log Message:
  ---
  adds support to build emscripten packages using nix:

example usage:

- nix-env -I nixpkgs=../somewhere/nixpkgs -f default.nix -iA 
emscriptenPackages.libxml2
- nix-env -I nixpkgs=../somewhere/nixpkgs -f default.nix -iA 
emscriptenPackages.json_c
- nix-env -I nixpkgs=../somewhere/nixpkgs -f default.nix -iA 
emscriptenPackages.zlib
- nix-env -I nixpkgs=../somewhere/nixpkgs -f default.nix -iA 
emscriptenPackages.xmlmirror


  Commit: 4c4a63f55d01918afb63f7e332b6c54abc4b4082
  
https://github.com/NixOS/nixpkgs/commit/4c4a63f55d01918afb63f7e332b6c54abc4b4082
  Author: Joachim Schiele 
  Date:   2016-07-04 (Mon, 04 Jul 2016)

  Changed paths:
A pkgs/development/em-modules/generic/default.nix
M pkgs/top-level/all-packages.nix
A pkgs/top-level/emscripten-packages.nix

  Log Message:
  ---
  Merge pull request #16208 from qknight/emscripten_toolchain

emscripten toolchain *katsching*


Compare: https://github.com/NixOS/nixpkgs/compare/5efa4f801dfe...4c4a63f55d01___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 56664c: modules/users-groups: add shell example

2016-06-25 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 56664c5fc65ee7e474e1c096e0d6c0dd04b52852
  
https://github.com/NixOS/nixpkgs/commit/56664c5fc65ee7e474e1c096e0d6c0dd04b52852
  Author: Profpatsch 
  Date:   2016-06-25 (Sat, 25 Jun 2016)

  Changed paths:
M nixos/modules/config/users-groups.nix

  Log Message:
  ---
  modules/users-groups: add shell example


  Commit: 9844eb0d98d993735b7695b8bacce49e9e6af175
  
https://github.com/NixOS/nixpkgs/commit/9844eb0d98d993735b7695b8bacce49e9e6af175
  Author: Joachim Schiele 
  Date:   2016-06-25 (Sat, 25 Jun 2016)

  Changed paths:
M nixos/modules/config/users-groups.nix

  Log Message:
  ---
  Merge pull request #13765 from Profpatsch/user-shell-example

modules/users-groups: add shell example


Compare: https://github.com/NixOS/nixpkgs/compare/1e2d8bdb790e...9844eb0d98d9___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] Broken nix database/store.

2016-06-13 Thread Joachim Schiele

On 10.06.2016 12:32, Guillaume Maudoux (Layus) wrote:
>
> Le 10/06/16 à 12:09, Joachim Schiele a écrit :
>> On 09.06.2016 19:21, Layus wrote:
>>> Hi,
>>>
>>> Due to a wrong manipulation when activating dir_index on my root
>>> partition, I have now plenty of live orphaned paths in my store (about
>>> 5G) like this one:
>>>
>>> |$ nix-store -q --referrers-closure
>>> /nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2
>>> /nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2
>>> $ nix-store --delete
>>> /nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2
>>> finding garbage collector roots... error: cannot delete path
>>> ‘/nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2’ 
>>> since
>>> it is still alive 0 store paths deleted, 0.00 MiB freed $ nix-store
>>> --delete --ignore-liveness
>>> /nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2
>>> error: you are not allowed to ignore liveness 0 store paths deleted,
>>> 0.00 MiB freed $ sudo nix-store --delete
>>> /nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2
>>> finding garbage collector roots... error: cannot delete path
>>> ‘/nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2’ 
>>> since
>>> it is still alive 0 store paths deleted, 0.00 MiB freed $ sudo nix-store
>>> --delete --ignore-liveness
>>> /nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2
>>> finding garbage collector roots... deleting
>>> ‘/nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2’ 
>>> deleting
>>> ‘/nix/store/trash’ deleting unused links... note: currently hard linking
>>> saves 1754.97 MiB 1 store paths deleted, 0.27 MiB freed |
>>>
>>> Is there some repair command to update liveness of paths ?
>> what you could do:
>> 1. create a backup of all files
>> 2. remove most stuff in / except /home/, /etc/nixos/, /etc/nix,
>> /nix/store (among some paths i just didn't think about)
>>
>> 3. boot a rescue nixos live-stick
>> 4. do a nixos-install with the config you already have
>>
>> this basically makes sure that your store sqlite database gets properly
>> repopulated.
>>
>> after you booted into your new system, consider:
>>   nix-collect-garbage -d
>>
>> to get rid of unused /nix/store paths
> Thanks Joachim,
>
> I did something very similar (with a chroot in archlinux), just to
> discover that the files were still present.
> It turns out that they are "live" in the nix store because of the
> options "gc-keep-outputs" and "gc-keep-derivations" that are enabled in
> my config.
>
> for the record, `nix-collect-garbage -d --option gc-keep-outputs false
> --option gc-keep-derivations false` does the job... :-).
good to know!

-- 
Joachim Schiele

blog: http://lastlog.de/blog
wiki: http://lastlog.de/wiki
jabber: j...@jabber.ccc.de
GPG: 6D8F75EE (key here: https://lastlog.de/blog/about.html)



signature.asc
Description: OpenPGP digital signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] emscripten toolchain on nixos

2016-06-13 Thread Joachim Schiele
hey,

paul & me, authors of nixcloud.io/tour, lately were doing a project for
nl-net. one outcome was a nice 'hack' in order to get emscripten to work
on nixos.

the details are here:
https://github.com/NixOS/nixpkgs/issues/15636

this kind of gives us finaly the opportunity to create a emscripten
based toolchain abstraction as we have it for c/c++/perl/python/... already.

there is some example code how to use nix-shell to hack on projects
using a simple Makefile featuring two environments:
- nativeEnv
- emEnv

both environments are basically using the same code-base but one
compiles native code, so when you are on x86 you can directly execute
the c-program there. the emEnv will also use the c-program but compile
it into javascript which only can be executed by a browser (or nodejs).

interestingly this already works for jscon-c, xml.js and libz used as
buildInputs. just see
https://github.com/NixOS/nixpkgs/issues/15636#issuecomment-222681446

the logical next step will be a emscripten based toolchain. who is in?
please contact us.

if anyone reading this also attends tuebix,
http://www.tuebix.org/2016/programm_raumplan/ , we could arrange some
hacking in the evening.

regards,
joachim
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Wrapping single python executable in pulseaudio /bin

2016-06-11 Thread Joachim Schiele
On 11.06.2016 20:51, Profpatsch wrote:
> pulseaudio contains a python script called qpaeq which is not
> correctly packaged yet.
> 
> First, the shebang needs to be patched. I managed to achieve that
> by call wrapPythonPrograms in postInstall.
> 
> Second, the scripts has a dependency on pythonPackages.pyqt4. I
> tried inserting that into every *buildDepends, but to no avail,
> the script isn’t aware of the library.
> 
> What can I do about that?

i have bad news for your:

in order to package pyqt4 properly you have to invest quite some time.
please read:

https://github.com/NixOS/nixpkgs/issues/4904

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Broken nix database/store.

2016-06-10 Thread Joachim Schiele
On 09.06.2016 19:21, Layus wrote:
> Hi,
> 
> Due to a wrong manipulation when activating dir_index on my root
> partition, I have now plenty of live orphaned paths in my store (about
> 5G) like this one:
> 
> |$ nix-store -q --referrers-closure
> /nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2
> /nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2
> $ nix-store --delete
> /nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2
> finding garbage collector roots... error: cannot delete path
> ‘/nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2’ 
> since
> it is still alive 0 store paths deleted, 0.00 MiB freed $ nix-store
> --delete --ignore-liveness
> /nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2
> error: you are not allowed to ignore liveness 0 store paths deleted,
> 0.00 MiB freed $ sudo nix-store --delete
> /nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2
> finding garbage collector roots... error: cannot delete path
> ‘/nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2’ 
> since
> it is still alive 0 store paths deleted, 0.00 MiB freed $ sudo nix-store
> --delete --ignore-liveness
> /nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2
> finding garbage collector roots... deleting
> ‘/nix/store/4zhkw0g564g3ljdpnn8j5krrsvcxildn-libXcomposite-0.4.4.tar.bz2’ 
> deleting
> ‘/nix/store/trash’ deleting unused links... note: currently hard linking
> saves 1754.97 MiB 1 store paths deleted, 0.27 MiB freed |
> 
> Is there some repair command to update liveness of paths ?

what you could do:
1. create a backup of all files
2. remove most stuff in / except /home/, /etc/nixos/, /etc/nix,
/nix/store (among some paths i just didn't think about)

3. boot a rescue nixos live-stick
4. do a nixos-install with the config you already have

this basically makes sure that your store sqlite database gets properly
repopulated.

after you booted into your new system, consider:
  nix-collect-garbage -d

to get rid of unused /nix/store paths


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] wordpress

2016-06-10 Thread Joachim Schiele
On 10.06.2016 02:11, stewart mackenzie wrote:
> It would seem it's very centered around deploying stock releases not
> amenable for developing on wordpress. But I didn't get that far.

your observation is correct.

> Is there a faster route?

you can also deploy wordpress manually as you probably did on your
ubuntu machine. that said:

 services.httpd = {
enable = true;
logPerVirtualHost = true;
adminAddr="j...@lastlog.de";
hostName = "lastlog.de";
extraModules = [
  { name = "php5"; path = "${pkgs.php}/modules/libphp5.so"; }
  { name = "deflate"; path =
"${pkgs.apacheHttpd}/modules/mod_deflate.so"; }
  { name = "proxy_wstunnel"; path =
"${pkgs.apacheHttpd}/modules/mod_proxy_wstunnel.so"; }
];
  virtualHosts =
  [
# webservice5 (http)
{
  hostName = "webservice5";
  serverAliases = [ "webservice5"];
  documentRoot = "/www/webservice5";
  extraConfig = ''


# subdirectory
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule
^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]



# both cases needed

  DirectoryIndex index.php index.htm index.html

  '';
}
];
  };

then extract the wordpress file to /www/webservice5 and also deploy your
plugins/themes as on other platforms. if you are curious what commands
to use in order to deploy, you can cheat a little by looking into
wordpress.nix

your request made me thinking, we need an intermediate platform where
such webapps are placed into. this means, the environment must also be a
installable attribute which could then, similar to nix-shell
environments for c/c++/python/perl, be used to run php scripts.

i would like to create such a nix-abstraction/platform. if you are
interested, please let me know.

regards,
joachim


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] How to install RubyOnRails on nixos?

2016-06-09 Thread Joachim Schiele
On 06.06.2016 10:51, Nicolas Petton wrote:
> hi,
> 
> I'm trying to properly install rails on nixos.  I'm not interested in
> packaging an existing rails app, but rather to do rails development.
> 
> I guess using rubygems is not the nixos way (and installing the rails
> gem globally won't work anyway).
> 
> Any pointers?

have a look at the gitlab service in nixpkgs.


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] wordpress

2016-06-09 Thread Joachim Schiele
On 09.06.2016 12:06, stewart mackenzie wrote:
> Ah I see this: https://nixos.org/wiki/Wordpress
> 
> I'll need to override the src of wordpress with my own version of wordpress.
> 
got it working?

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 61b4f1: owncloud-client: Fix "libocsync.so.0 not found" er...

2016-06-02 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 61b4f1463ca74536cad898f3d352f70402231697
  
https://github.com/NixOS/nixpkgs/commit/61b4f1463ca74536cad898f3d352f70402231697
  Author: Mayeu - Cast 
  Date:   2016-06-02 (Thu, 02 Jun 2016)

  Changed paths:
M pkgs/applications/networking/owncloud-client/default.nix

  Log Message:
  ---
  owncloud-client: Fix "libocsync.so.0 not found" error

Close #15130


  Commit: 1f3b0391f4a6b3052a50bbf0f4536ce8f4dedcae
  
https://github.com/NixOS/nixpkgs/commit/1f3b0391f4a6b3052a50bbf0f4536ce8f4dedcae
  Author: Joachim Schiele 
  Date:   2016-06-02 (Thu, 02 Jun 2016)

  Changed paths:
M pkgs/applications/networking/owncloud-client/default.nix

  Log Message:
  ---
  Merge pull request #15406 from Mayeu/patch-5

owncloud-client: Fix "libocsync.so.0 not found" error


Compare: https://github.com/NixOS/nixpkgs/compare/4a1f41d31c3a...1f3b0391f4a6___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] d078fe: Fix hash issue in emscripten.

2016-05-27 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d078fe1e9c826a63ad078ca4d5364c967984f393
  
https://github.com/NixOS/nixpkgs/commit/d078fe1e9c826a63ad078ca4d5364c967984f393
  Author: Matthew Bauer 
  Date:   2016-05-26 (Thu, 26 May 2016)

  Changed paths:
M pkgs/development/compilers/emscripten-fastcomp/default.nix
M pkgs/development/compilers/emscripten/default.nix

  Log Message:
  ---
  Fix hash issue in emscripten.

Just use "fetchFromGitHub" because that seems to be more
reliable. Still unclear what the actual issue was but
I'm thinking this will fix it. At least, this will
put it more in line with other packages.


  Commit: f646b9295ea7a2332667f5ffeb5bd871e76982e9
  
https://github.com/NixOS/nixpkgs/commit/f646b9295ea7a2332667f5ffeb5bd871e76982e9
  Author: Matthew Bauer 
  Date:   2016-05-26 (Thu, 26 May 2016)

  Changed paths:
M pkgs/development/compilers/emscripten-fastcomp/default.nix
M pkgs/development/compilers/emscripten/default.nix

  Log Message:
  ---
  Add myself as maintainer for emscripten, emscripten-fastcomp.


  Commit: e5ac7103ff2e5f8f5e697dc97b8b7b585dbfcaa0
  
https://github.com/NixOS/nixpkgs/commit/e5ac7103ff2e5f8f5e697dc97b8b7b585dbfcaa0
  Author: Joachim Schiele 
  Date:   2016-05-27 (Fri, 27 May 2016)

  Changed paths:
M pkgs/development/compilers/emscripten-fastcomp/default.nix
M pkgs/development/compilers/emscripten/default.nix

  Log Message:
  ---
  Merge pull request #15738 from matthewbauer/emscripten-fix

looks promising. let's see what hydra thinks about it. thanks


Compare: https://github.com/NixOS/nixpkgs/compare/d231cdf51fd0...e5ac7103ff2e___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 4d2619: emscripten: revision bump from 1.35.4 to 1.36.4, w...

2016-05-25 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 4d261909b988e8d7f649a8657cb3794ff6d9b27e
  
https://github.com/NixOS/nixpkgs/commit/4d261909b988e8d7f649a8657cb3794ff6d9b27e
  Author: Joachim Schiele 
  Date:   2016-05-25 (Wed, 25 May 2016)

  Changed paths:
M pkgs/development/compilers/emscripten-fastcomp/default.nix
M pkgs/development/compilers/emscripten/default.nix

  Log Message:
  ---
  emscripten: revision bump from 1.35.4 to 1.36.4, was tested with compiling 
xml.js


  Commit: 5f42ed51254b9ed7944114f481bebdb9d9954189
  
https://github.com/NixOS/nixpkgs/commit/5f42ed51254b9ed7944114f481bebdb9d9954189
  Author: Joachim Schiele 
  Date:   2016-05-25 (Wed, 25 May 2016)

  Changed paths:
M pkgs/development/compilers/emscripten-fastcomp/default.nix
M pkgs/development/compilers/emscripten/default.nix

  Log Message:
  ---
  Merge pull request #15684 from qknight/emscripten_1.36.4

emscripten: revision bump from 1.35.4 to 1.36.4, was tested with comp…


Compare: https://github.com/NixOS/nixpkgs/compare/1908c90412b2...5f42ed51254b___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] a021b6: youtube-dl: version bump to 2016.04.19

2016-05-20 Thread Joachim Schiele
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: a021b6a61734f43e14e4c3d76099c36333d3287e
  
https://github.com/NixOS/nixpkgs/commit/a021b6a61734f43e14e4c3d76099c36333d3287e
  Author: Joachim Schiele 
  Date:   2016-05-20 (Fri, 20 May 2016)

  Changed paths:
M pkgs/tools/misc/youtube-dl/default.nix

  Log Message:
  ---
  youtube-dl: version bump to 2016.04.19


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] Funding campaign for "Get rid of the Perl dependency" in Nix

2016-01-14 Thread Joachim Schiele
you have to feed the funding through the nixos foundation and then it is
tax deducable (at leasat in germany IIRC if the foundation is charitable
aka. non-profit).
at least this is the case in germany if you give money to a
'gemeinnütziger verein (non-profit club/society)' and they relay the
money to whatever you want to sponsor.

@rob/@eelco: could you do that money relay for christian theune?

On 13.01.2016 12:55, Domen Kožar wrote:
> We funded (almost) half of the $3500 in one day. Thank you all for
> donations <3
> 
> I'd like to ask anyone who didn't donate yet to take a chance to give
> back the community and help us improve Nix, which is the most low-level
> part of our infrastructure.
> 
> If you know someone or a company using Nix, give them a small nudge to
> help make this happen.
> 
> 
> 
> On Mon, Jan 11, 2016 at 1:57 PM, Domen Kožar  > wrote:
> 
> That's a shame, is that for EU or also US? We could handle the
> donation directly to Shea if someone wants a usable receipt.
> 
> On Mon, Jan 11, 2016 at 1:55 PM, Christian Theune
> mailto:c...@flyingcircus.io>> wrote:
> 
> Hi,
> 
> a quick note: as a corporate sponsor, gofundme seems not to
> provide usable receipts. :(
> 
> Cheers,
> Christian
> 
>> On 11 Jan 2016, at 11:47, Domen Kožar > > wrote:
>>
>> Hi all,
>>
>> I'm really excited to announce a (proper!) funding campaign
>> for this issue. Shea Levy stepped up as the implementer, he's
>> familiar with the codebase and currently top 2 contributor to
>> Nix code base.
>>
>> I'd like to invite everyone that is excited about this work
>> (if not, see the link for why you should be) to donate funds
>> at https://www.gofundme.com/htuafwrg/.
>>
>> Contact me if you have any questions, this is a huge step
>> forward for cross-platform support.
>>
>> Thank you Shea Levy and everyone that is going contribute!
>>
>> Domen
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl 
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 
> -- 
> Christian Theune · c...@flyingcircus.io
>  · +49 345 219401 0
> Flying Circus Internet Operations GmbH · http://flyingcircus.io
> Forsterstraße 29 · 06112 Halle (Saale) · Deutschland
> HR Stendal HRB 21169 · Geschäftsführer: Christian. Theune,
> Christian. Zagrodnick
> 
> 
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] execute LXC guest as none root user

2016-01-06 Thread Joachim Schiele
On 06.01.2016 12:03, Joachim Schiele wrote:
> hey,
> 
> we got lxc with NixOS as guest on NixOS as host working but we can only
> execute it using the 'root' users.
> 
> however, for security reasons it seems to be a good thing to use the
> kernel 'user namespaces' but i deliberately fail to get this running.
> 
> we are using nix-rehash from offlinehacker:
>   https://github.com/nixcloud/nix-rehash
> 
> 
> the latest issue when using:
>   /etc/subuid
>   /etc/subgid
> 
> 
> lxc-start -d -n "CONTAINERNAME" \
>   -f "container.conf" \
>   -s lxc.rootfs=$CONTAINER_ROOT \
>   -F
>   "/nix/store/05sy0bz81426798qzrj66m64ncb3pymd-nixos-15.09.756.88765a/init"
> Using /var/lib/containers/CONTAINERNAME as rootfs
> lxc-start: cgmanager.c: lxc_cgmanager_enter: 698 call to
> cgmanager_move_pid_sync failed: invalid request
> lxc-start: start.c: __lxc_start: 1172 failed to spawn 'CONTAINERNAME'
> lxc-start: lxc_start.c: main: 344 The container failed to start.
> lxc-start: lxc_start.c: main: 348 Additional information can be obtained
> by setting the --logfile and --logpriority options.
> 
> 
> cgmanager --debug:
> Connection from private client
> ListControllers: Client fd is: 6 (pid=5956, uid=1000, gid=100)
> Disconnected from private client
> Connection from private client
> Disconnected from private client
> Connection from private client
> Disconnected from private client
> Connection from private client
> ListControllers: Client fd is: 6 (pid=5958, uid=1000, gid=100)
> Disconnected from private client
> Connection from private client
> Disconnected from private client
> Connection from private client
> Create: Client fd is: 6 (pid=5956, uid=1000, gid=100)
> Created /run/cgmanager/fs/blkio/Me/lxc/CONTAINERNAME for 5956 (1000:100)
> Created /run/cgmanager/fs/cpu/Me/lxc/CONTAINERNAME for 5956 (1000:100)
> Created /run/cgmanager/fs/cpuset/Me/lxc/CONTAINERNAME for 5956 (1000:100)
> Created /run/cgmanager/fs/devices/Me/lxc/CONTAINERNAME for 5956 (1000:100)
> Created /run/cgmanager/fs/freezer/Me/lxc/CONTAINERNAME for 5956 (1000:100)
> Created /run/cgmanager/fs/memory/Me/lxc/CONTAINERNAME for 5956 (1000:100)
> Created /run/cgmanager/fs/net_cls/Me/lxc/CONTAINERNAME for 5956 (1000:100)
> cgmanager:do_create_main: pid 5956 (uid 1000 gid 100) may not create
> under
> /run/cgmanager/fs/none,name=systemd/user.slice/user-1000.slice/session-1.scope
> cgmanager_create: returning 0; existed is -1
> Disconnected from private client
> Connection from private client
> Disconnected from private client
> Connection from private client
> MovePid: Client fd is: 6 (pid=5956, uid=1000, gid=100)
> 5964 moved to blkio:lxc/CONTAINERNAME by 5956's request
> MovePid: Client fd is: 6 (pid=5956, uid=1000, gid=100)
> 5964 moved to cpu:lxc/CONTAINERNAME by 5956's request
> MovePid: Client fd is: 6 (pid=5956, uid=1000, gid=100)
> 5964 moved to cpuset:lxc/CONTAINERNAME by 5956's request
> MovePid: Client fd is: 6 (pid=5956, uid=1000, gid=100)
> 5964 moved to devices:lxc/CONTAINERNAME by 5956's request
> MovePid: Client fd is: 6 (pid=5956, uid=1000, gid=100)
> 5964 moved to freezer:lxc/CONTAINERNAME by 5956's request
> MovePid: Client fd is: 6 (pid=5956, uid=1000, gid=100)
> 5964 moved to memory:lxc/CONTAINERNAME by 5956's request
> MovePid: Client fd is: 6 (pid=5956, uid=1000, gid=100)
> 5964 moved to net_cls:lxc/CONTAINERNAME by 5956's request
> MovePid: Client fd is: 6 (pid=5956, uid=1000, gid=100)
> cgmanager: Invalid path
> /run/cgmanager/fs/none,name=systemd/user.slice/user-1000.slice/session-1.scope/lxc/CONTAINERNAME
> cgmanager:per_ctrl_move_pid_main: Invalid path
> /run/cgmanager/fs/none,name=systemd/user.slice/user-1000.slice/session-1.scope/lxc/CONTAINERNAME
> Disconnected from private client
> Connection from private client
> Remove: Client fd is: 6 (pid=5956, uid=1000, gid=100)
> Removed /run/cgmanager/fs/blkio/Me/lxc/CONTAINERNAME for 5956 (1000:100)
> Removed /run/cgmanager/fs/cpu/Me/lxc/CONTAINERNAME for 5956 (1000:100)
> Removed /run/cgmanager/fs/cpuset/Me/lxc/CONTAINERNAME for 5956 (1000:100)
> Removed /run/cgmanager/fs/devices/Me/lxc/CONTAINERNAME for 5956 (1000:100)
> Removed /run/cgmanager/fs/freezer/Me/lxc/CONTAINERNAME for 5956 (1000:100)
> Removed /run/cgmanager/fs/memory/Me/lxc/CONTAINERNAME for 5956 (1000:100)
> Removed /run/cgmanager/fs/net_cls/Me/lxc/CONTAINERNAME for 5956 (1000:100)
> Disconnected from private client
> 
> 
> 
> 
> The config I'm using:
> 
> lxc.utsname = CONTAINERNAME
> lxc.arch = "x86_64"
> 
> lxc.cgroup.devices.deny = a # Deny all access to devices
> lxc.tty = 4
> 

[Nix-dev] execute LXC guest as none root user

2016-01-06 Thread Joachim Schiele
hey,

we got lxc with NixOS as guest on NixOS as host working but we can only
execute it using the 'root' users.

however, for security reasons it seems to be a good thing to use the
kernel 'user namespaces' but i deliberately fail to get this running.

we are using nix-rehash from offlinehacker:
  https://github.com/nixcloud/nix-rehash


the latest issue when using:
  /etc/subuid
  /etc/subgid


lxc-start -d -n "CONTAINERNAME" \
  -f "container.conf" \
  -s lxc.rootfs=$CONTAINER_ROOT \
  -F
  "/nix/store/05sy0bz81426798qzrj66m64ncb3pymd-nixos-15.09.756.88765a/init"
Using /var/lib/containers/CONTAINERNAME as rootfs
lxc-start: cgmanager.c: lxc_cgmanager_enter: 698 call to
cgmanager_move_pid_sync failed: invalid request
lxc-start: start.c: __lxc_start: 1172 failed to spawn 'CONTAINERNAME'
lxc-start: lxc_start.c: main: 344 The container failed to start.
lxc-start: lxc_start.c: main: 348 Additional information can be obtained
by setting the --logfile and --logpriority options.


cgmanager --debug:
Connection from private client
ListControllers: Client fd is: 6 (pid=5956, uid=1000, gid=100)
Disconnected from private client
Connection from private client
Disconnected from private client
Connection from private client
Disconnected from private client
Connection from private client
ListControllers: Client fd is: 6 (pid=5958, uid=1000, gid=100)
Disconnected from private client
Connection from private client
Disconnected from private client
Connection from private client
Create: Client fd is: 6 (pid=5956, uid=1000, gid=100)
Created /run/cgmanager/fs/blkio/Me/lxc/CONTAINERNAME for 5956 (1000:100)
Created /run/cgmanager/fs/cpu/Me/lxc/CONTAINERNAME for 5956 (1000:100)
Created /run/cgmanager/fs/cpuset/Me/lxc/CONTAINERNAME for 5956 (1000:100)
Created /run/cgmanager/fs/devices/Me/lxc/CONTAINERNAME for 5956 (1000:100)
Created /run/cgmanager/fs/freezer/Me/lxc/CONTAINERNAME for 5956 (1000:100)
Created /run/cgmanager/fs/memory/Me/lxc/CONTAINERNAME for 5956 (1000:100)
Created /run/cgmanager/fs/net_cls/Me/lxc/CONTAINERNAME for 5956 (1000:100)
cgmanager:do_create_main: pid 5956 (uid 1000 gid 100) may not create
under
/run/cgmanager/fs/none,name=systemd/user.slice/user-1000.slice/session-1.scope
cgmanager_create: returning 0; existed is -1
Disconnected from private client
Connection from private client
Disconnected from private client
Connection from private client
MovePid: Client fd is: 6 (pid=5956, uid=1000, gid=100)
5964 moved to blkio:lxc/CONTAINERNAME by 5956's request
MovePid: Client fd is: 6 (pid=5956, uid=1000, gid=100)
5964 moved to cpu:lxc/CONTAINERNAME by 5956's request
MovePid: Client fd is: 6 (pid=5956, uid=1000, gid=100)
5964 moved to cpuset:lxc/CONTAINERNAME by 5956's request
MovePid: Client fd is: 6 (pid=5956, uid=1000, gid=100)
5964 moved to devices:lxc/CONTAINERNAME by 5956's request
MovePid: Client fd is: 6 (pid=5956, uid=1000, gid=100)
5964 moved to freezer:lxc/CONTAINERNAME by 5956's request
MovePid: Client fd is: 6 (pid=5956, uid=1000, gid=100)
5964 moved to memory:lxc/CONTAINERNAME by 5956's request
MovePid: Client fd is: 6 (pid=5956, uid=1000, gid=100)
5964 moved to net_cls:lxc/CONTAINERNAME by 5956's request
MovePid: Client fd is: 6 (pid=5956, uid=1000, gid=100)
cgmanager: Invalid path
/run/cgmanager/fs/none,name=systemd/user.slice/user-1000.slice/session-1.scope/lxc/CONTAINERNAME
cgmanager:per_ctrl_move_pid_main: Invalid path
/run/cgmanager/fs/none,name=systemd/user.slice/user-1000.slice/session-1.scope/lxc/CONTAINERNAME
Disconnected from private client
Connection from private client
Remove: Client fd is: 6 (pid=5956, uid=1000, gid=100)
Removed /run/cgmanager/fs/blkio/Me/lxc/CONTAINERNAME for 5956 (1000:100)
Removed /run/cgmanager/fs/cpu/Me/lxc/CONTAINERNAME for 5956 (1000:100)
Removed /run/cgmanager/fs/cpuset/Me/lxc/CONTAINERNAME for 5956 (1000:100)
Removed /run/cgmanager/fs/devices/Me/lxc/CONTAINERNAME for 5956 (1000:100)
Removed /run/cgmanager/fs/freezer/Me/lxc/CONTAINERNAME for 5956 (1000:100)
Removed /run/cgmanager/fs/memory/Me/lxc/CONTAINERNAME for 5956 (1000:100)
Removed /run/cgmanager/fs/net_cls/Me/lxc/CONTAINERNAME for 5956 (1000:100)
Disconnected from private client




The config I'm using:

lxc.utsname = CONTAINERNAME
lxc.arch = "x86_64"

lxc.cgroup.devices.deny = a # Deny all access to devices
lxc.tty = 4
lxc.pts = 1024

## Capabilities
lxc.cap.drop = audit_control audit_write mac_admin mac_override
mknod setfcap
lxc.cap.drop = sys_boot sys_module sys_pacct sys_rawio sys_time

## Devices
lxc.cgroup.devices.deny = a # Deny access to all devices

# Allow to mknod all devices (but not using them)
lxc.cgroup.devices.allow = c *:* m
lxc.cgroup.devices.allow = b *:* m
# /dev/null
lxc.cgroup.devices.allow = c 1:3 rwm
lxc.cgroup.devices.allow = c 1:5 rwm
#consoles / tty
lxc.cgroup.devices.allow = c 4:0 rwm
lxc.cgroup.devices.allow = c 4:1 rwm
#lxc.cgroup.devices.allow = c 4:2 rwm
#lxc.cgroup.devices.allow = c 4:3 rwm

[Nix-dev] virt-manager and KVM networking

2016-01-03 Thread Joachim Schiele
hey,

i've added this adapter (among others) to a KVM guest:
---
a Virtual Network 'default': NAT
---

however, KVM guests can't get a DHCP lease as the ports are filtered. do
i have to add rules to the firewall manually to make this work? i've
checked this by disabling the firewall on the host. after the the guests
do get leases.

what would be the best way of extending the nixos firewall?


 ip a on the host: =
4: virbr1:  mtu 1500 qdisc noqueue
state DOWN group default
link/ether 52:54:00:2c:e7:37 brd ff:ff:ff:ff:ff:ff
inet 192.168.100.1/24 brd 192.168.100.255 scope global virbr1
   valid_lft forever preferred_lft forever
inet6 fc00::1/64 scope global tentative
   valid_lft forever preferred_lft forever
5: virbr1-nic:  mtu 1500 qdisc pfifo_fast master
virbr1 state DOWN group default qlen 500
link/ether 52:54:00:2c:e7:37 brd ff:ff:ff:ff:ff:ff
6: virbr0:  mtu 1500 qdisc noqueue
state UP group default
link/ether 52:54:00:cb:3e:ff brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
   valid_lft forever preferred_lft forever
7: virbr0-nic:  mtu 1500 qdisc pfifo_fast master
virbr0 state DOWN group default qlen 500
link/ether 52:54:00:cb:3e:ff brd ff:ff:ff:ff:ff:ff
=

thanks,
joachim




___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] USB disks with LVM on boot

2016-01-01 Thread Joachim Schiele
On 29.12.2015 20:53, Alex Brandt wrote:
> Hey,
> 
> I'm trying to setup a three disk software RAID1 with LVM on USB drives.  I 
> get 
> everything working great and add the filesystems to my nix configuration.  
> Upon reboot I get the following:
> 
> Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Job dev-disk-
> by\x2duuid-8db66416\x2d4a8a\x2d4f89\x2db828\x2d55cb2b2ded50.device/start 
> timed 
> out.
> Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Timed out waiting for device 
> dev-disk-by\x2duuid-8db66416\x2d4a8a\x2d4f89\x2db828\x2d55cb2b2ded50.device.
> Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Dependency failed for 
> /var/db/postgresql.
> Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Dependency failed for Local 
> File Systems.
> Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Triggering OnFailure= 
> dependencies of local-fs.target.
> Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Job dev-disk-
> by\x2duuid-8ecf60d1\x2d8450\x2d46c7\x2db171\x2db7eb5c4b2ade.device/start 
> timed 
> out.
> Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Timed out waiting for device 
> dev-disk-by\x2duuid-8ecf60d1\x2d8450\x2d46c7\x2db171\x2db7eb5c4b2ade.device.
> Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Dependency failed for 
> /var/backups.
> Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Dependency failed for 
> /var/backups/laptops.
> Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Job dev-disk-by\x2duuid-
> add90682\x2dac74\x2d40cd\x2db541\x2d7d19bc579c77.device/start timed out..
> Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Timed out waiting for device 
> dev-disk-by\x2duuid-add90682\x2dac74\x2d40cd\x2db541\x2d7d19bc579c77.device.
> Dec 29 02:35:18 mycroft.alunduil.com systemd[1]: Starting Create Volatile 
> Files and Directories...
> 
> Which simply triggers a shutdown of systemd.  I'm guessing that it's either 
> LVM not activating the volume group or that the disks don't come up when they 
> need to.  Is there anyway to resolve these issues by upping a timeout or 
> forcing LVM to enable the volumes?  If not my only strategy will be to go 
> with 
> physical partitions (not a big deal but am very curiuos about this use)..
> 

you need this:
  boot.initrd.kernelModules = [ "usb_storage" ];

to make initrd look into usb!

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Disabling patchelf on ARM

2015-12-29 Thread Joachim Schiele
On 26.12.2015 12:55, Jookia wrote:
> Hey there,
> 
> I've been working for a few months on getting a Novena port of NixOS running.
> The overall Nix infrastructure works, though I still have a ton of issues to
> solve before publishing any patches required on a git repository (they 
> probably
> won't be merged in to nixpkgs anyway.)

if they are good patches we will merge them!

> A problem I've been dealing with is mysterious segmentation faults affecting 
> the
> system along with bugs that aren't present in Debian on the same system.
> patchelf has been the culprit for quite a few of them and upstream doesn't 
> seem
> to be working on fixing this.

patchelf is used to deploy the initial bootstrap-tools. later one there
is only minimal use, as you already said, for binary only applications.

please provide an exaple, where patchelf is doing something wrong with
some paste from the shell.

thank you

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] [call for] Release manager for Hydra

2015-12-11 Thread Joachim Schiele
nice to hear that you want to do this.

i've added a documentation about the setup process in the wiki, it can
be found here:

https://nixos.org/wiki/Installing_hydra_as_nixos_module

On 11.12.2015 12:05, Christian Theune wrote:
> Hi,
> 
> ok. I can start with turning this into a checklist in the wiki. After
> that I’d like walk through those things with someone.
> 
> Things can take a while currently, as I’m on parental leave. :)
> 
> Christian
> 
>> On 08 Dec 2015, at 13:07, Domen Kožar > > wrote:
>>
>> Hey Christian,
>>
>> thanks. I had following in mind.
>>
>> Before the release:
>>
>> - check changelog is really up to date
>> - mark any backwards incompatible changes
>> - make sure all hydra tests pass
>> - make sure the upgrade procedure works from previous release
>> - test that setting up hydra from scratch works by following
>> installation guide (this could be automated with NixOS test)
>>
>> At release time:
>>
>> - create a git (annotated) tag
>> - mark the release date in changelog, etc
>> - post a mail to nix-dev
>>
>> After release:
>>
>> - bump the package in nixpkgs
>>
>> I'm sure I forgot something, but we should document the process and
>> improve it as we go.
>>
>> PS: we have a similar issue opened for
>> NixOS: https://github.com/NixOS/nixpkgs/issues/4442
>> PS: Eelco might know if there is something else that needs to be taken
>> care of
>>
>> Domen
>>
>> Domen
>>
>> On Tue, Dec 8, 2015 at 12:54 PM, Christian Theune > > wrote:
>>
>> Hi,
>>
>> I *might* be able to. But I’m not sure I’m qualified enough. We’re
>> using it at the company and rely on it, so this would be a good
>> place to contribute back.
>>
>> Anyone willing to detail what is expected regarding QA in a bit
>> more detail?
>>
>> Cheers,
>> Christian
>>
>>> On 08 Dec 2015, at 12:06, Domen Kožar >> > wrote:
>>>
>>> So no one is willing to step up? This would benefit the whole
>>> community and it's not a lot of work, mostly small housekeeping.
>>>
>>> On Wed, Nov 18, 2015 at 2:26 PM, Matthias Beyer
>>> mailto:m...@beyermatthias.de>> wrote:
>>>
>>> On 18-11-2015 12:23:30, Peter Simons wrote:
>>> > Domen Kožar writes:
>>> >
>>> >  > We need someone to volunteer to be a release manager. They 
>>> would be
>>> >  > doing QA that the release works and make sure changelog, docs, 
>>> etc
>>> >  > are updated.
>>> >
>>> > Also, we need a Hydra module for NixOS so that NixOS users can 
>>> set-up
>>> > Hydra easily through their configuration.nix file. Hydra provides 
>>> such a
>>> > module, of course, but the fact that it's living in a separate 
>>> repository
>>> > complicates matters a bit, particularly for newbies who are just 
>>> getting
>>> > started and who might try out NixOS mostly because of Hydra. We 
>>> cannot
>>> > expect them to mess with imports and fetchgit and channels and 
>>> whatnot on
>>> > their first day.
>>> >
>>>
>>> Big +1 on this. I'd love to run my own hydra, but the lack of
>>> a simple
>>>
>>> services.hydra.enable = true;
>>>
>>> -ish configuration keeps me away from this.
>>>
>>> --
>>> Mit freundlichen Grüßen,
>>> Kind regards,
>>> Matthias Beyer
>>>
>>> Proudly sent with mutt.
>>> Happily signed with gnupg.
>>>
>>> ___
>>> nix-dev mailing list
>>> nix-dev@lists.science.uu.nl 
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>>
>>>
>>> ___
>>> nix-dev mailing list
>>> nix-dev@lists.science.uu.nl 
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>> -- 
>> Christian Theune · c...@flyingcircus.io
>>  · +49 345 219401 0
>> Flying Circus Internet Operations GmbH · http://flyingcircus.io
>> 
>> Forsterstraße 29 · 06112 Halle (Saale) · Deutschland
>> HR Stendal HRB 21169 · Geschäftsführer: Christian. Theune,
>> Christian. Zagrodnick
>>
>>
> 
> -- 
> Christian Theune · c...@flyingcircus.io  · +49
> 345 219401 0
> Flying Circus Internet Operations GmbH · http://flyingcircus.io
> Forsterstraße 29 · 06112 Halle (Saale) · Deutschland
> HR Stendal HRB 21169 · Geschäftsführer: Christian. Theune, Christian.
> Zagrodnick
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Real documentation, aka "Let's kill the wiki"

2015-12-02 Thread Joachim Schiele
glad to hear that! ;-)

On 28.11.2015 02:07, Anand Patil wrote:
> I did, and it's a terrific resource for learning the Nix language. In my
> experience, the pills were helpful at an earlier stage. Before writing
> any Nix myself beyond copying & pasting into my configuration.nix, I
> needed to develop a basic understanding of how NixOS works & how to use it.
> 
> On Sat, Nov 28, 2015 at 12:12 AM Joachim Schiele  <mailto:j...@lastlog.de>> wrote:
> 
> did you have a look at https://nixcloud.io/tour/?id=1 already?
> 
> On 27.11.2015 22:40, Anand Patil wrote:
> > Hi everyone,
> >
> > I've been learning NixOS over the last few days, and Luca Bruno's
> NixOS
> > pills
> > series,
> 
> http://lethalman.blogspot.com/2014/07/nix-pill-1-why-you-should-give-it-try.html
> ,
> > have helped me progress much more quickly than I would have done
> without
> > them.
> >
> > It took me a surprisingly long time to find them, though. When I
> google
> > 'NixOS tutorial', they don't even make the first page. I would like to
> > suggest blessing them as an official tutorial, or increasing their
> > visibility to beginners by other means.
> >
> > Anand
> >
> >
> >
> > On Wed, Nov 25, 2015 at 3:28 PM Vladimír Čunát  <mailto:vcu...@gmail.com>
> > <mailto:vcu...@gmail.com <mailto:vcu...@gmail.com>>> wrote:
> >
> > On 11/25/2015 02:48 PM, Rok Garbas wrote:
> > > word! we need more content not more tools.
> >
> > Better not in MS Word, but I should be able to convert even
> that ;-)
> >
> >
> > ___
> > nix-dev mailing list
> > nix-dev@lists.science.uu.nl
> <mailto:nix-dev@lists.science.uu.nl>
> <mailto:nix-dev@lists.science.uu.nl
> <mailto:nix-dev@lists.science.uu.nl>>
> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
> >
> >
> >
> > ___
> > nix-dev mailing list
>     > nix-dev@lists.science.uu.nl <mailto:nix-dev@lists.science.uu.nl>
> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
> >
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl <mailto:nix-dev@lists.science.uu.nl>
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


-- 
Joachim Schiele

blog: http://blog.lastlog.de
wiki: http://lastlog.de
jabber: j...@jabber.ccc.de
GPG: C6AC8770



signature.asc
Description: OpenPGP digital signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Real documentation, aka "Let's kill the wiki"

2015-11-27 Thread Joachim Schiele
did you have a look at https://nixcloud.io/tour/?id=1 already?

On 27.11.2015 22:40, Anand Patil wrote:
> Hi everyone,
> 
> I've been learning NixOS over the last few days, and Luca Bruno's NixOS
> pills
> series, 
> http://lethalman.blogspot.com/2014/07/nix-pill-1-why-you-should-give-it-try.html
>  ,
> have helped me progress much more quickly than I would have done without
> them.
> 
> It took me a surprisingly long time to find them, though. When I google
> 'NixOS tutorial', they don't even make the first page. I would like to
> suggest blessing them as an official tutorial, or increasing their
> visibility to beginners by other means.
> 
> Anand 
> 
> 
> 
> On Wed, Nov 25, 2015 at 3:28 PM Vladimír Čunát  > wrote:
> 
> On 11/25/2015 02:48 PM, Rok Garbas wrote:
> > word! we need more content not more tools.
> 
> Better not in MS Word, but I should be able to convert even that ;-)
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl 
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] [RFC] Generating documentation from nixpkgs (markdown files) with pandoc (Was: Real documentation, aka "Let's kill the wiki")

2015-11-23 Thread Joachim Schiele
On 18.11.2015 18:51, Domen Kožar wrote:
> I've once experimented and ported nixpkgs manual
> to http://static.domenkozar.com/nixpkgs-manual-sphinx-exp/

this is really impressive!


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Building portable linux binaries on NixOS

2015-10-09 Thread Joachim Schiele
On 09.10.2015 07:50, Bryan Gardiner wrote:
> On Thu, 8 Oct 2015 00:03:23 +0200
> Kamil Chmielewski  wrote:
> 
>> 2015-10-07 20:44 GMT+02:00 Bryan Gardiner :
>>
 your shell does not find "./go-app".
 What does ls -l say?
>>>
>>
>> The file path is right and exists for sure.
>>
>>
>>> Most likely Kamil is in the right directory, and this is just a known
>>> quirk: bash tries to exec the program, the exec fails because the
>>> binary's interpreter is set incorrectly, and bash incorrectly
>>> interprets the failure as the program not existing.  See
>>> https://nixos.org/patchelf.html (although, there is an open bug about
>>> patchelf not working on Go binaries, see
>>> https://github.com/NixOS/patchelf/issues/66).
>>
>> Looks like the issue. Any ideas what to do?
> 
> I'm not sure if you've tried patchelf and hit that bug, or if you
> haven't...  If you haven't, then try something like the following:
> 
> $ patchelf --set-interpreter /lib/ld-linux.so.2 go-app
> $ patchelf --set-rpath /lib:/usr/lib:/usr/local/lib go-app
> $ ./go-app  # (on Ubuntu)
> 
> You should consult /etc/ld.so.conf on Ubuntu for the correct library
> directories (not on Ubuntu here, so I can't see what how it does
> things).
> 
> I think though, wouldn't the correct thing to do (after setting the
> interpreter) actually be to *remove* the RPATH from the binary to have
> it work on non-NixOS, using the normal system library lookup?  I don't
> see a --remove-rpath option on patchelf though.  I can't recall
> whether RPATH inhibits normal lookup directories, if not then you
> wouldn't need to change it, or you could just set it to be empty...

$ patchelf --set-rpath /lib:/usr/lib:/usr/local/lib go-app

will 'replace' all previously set RPATHs so there is no need for
--remove-rpath

> See ld.so(8).
> 
> Cheers,
> Bryan
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Running nix-shell commands as cron jobs

2015-10-08 Thread Joachim Schiele
write a wrapper-script like this below:

#!/run/current-system/sw/bin/bash
source /etc/profile

nix-shell --pure -p python3 -p python3Packages.requests2 --run
./my-script.py


two options from here:
* but as domen already said, maybe you generate your own 'program' as a
store entry
* or you make the nix-shell persistent, see what is written here
https://nixos.org/wiki/Development_Environments#Making_a_Persistent_nix-shell_Environment

warning: if you use nix-shell as you are doing right now, everytime you
do a "nix-channel --upgrade" you might run into a situation where
nix-shell breaks for some weird reason as packages got renamed and such.
so either create your own package or make the nix-shell persistent

On 07.10.2015 22:06, Anders Lundstedt wrote:
> A python script I have depends on the requests2 package. I can run the
> script using
> 
> nix-shell --pure -p python3 -p python3Packages.requests2 --run ./my-script.py
> 
> 
> However when putting this line as a cron job I get the cron output:
> 
> error: Nix database directory ‘/nix/var/nix/db’ is not writable:
> Permission denied
> 
> 
> What solutions are there to run a simple script with dependencies as a
> cron job, other than to add the script as a package?
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Providing Debian, Arch etc. packages counterproductive?

2015-09-26 Thread Joachim Schiele
i couldn't have found better words! this is so true and basically the
idea which drives nix in the first place.

On 23.09.2015 10:20, Adrien Devresse wrote:
> An other point to consider is the integration aspect.
> 
> Nix requires a system install in a shared environment. The daemon needs
> to be setup properly, group created, etc
> In most companies, the sysadmin will simply refuse to install on any
> existing  shared system anything which is not packaged properly, and for
> very good reasons.
> 
> Not providing platform specific packages will very likely slow down the
> adoption of Nix in professional environment for such reasons.
> I agree the platform specific packages have their own issues, but from
> an administration point of view, they are needed.
> 
> 
> Adrien
> 
> 
> 
> Le 23/09/2015 00:50, Thomas Hunger a écrit :
>> The deb can be inspected with "dpkg -c". It contains all the nix-*
>> commands, man pages, some perl, headers and some basic nix library
>> functions. What's missing is a postinst script that setting up the
>> things according to [1] (probably needs updating).
>>
>> On reflection platform specific packages would be useful to work
>> around issues like [2] which one of my friends hit today. And as
>> Vladimir says for the multi-user setup with the daemon. I'm not sure I
>> have the energy to go around and fix all the packages but maybe debian
>> and arch would be a good start.
>>
>> ~
>>
>> [1]
>> https://nixos.org/wiki/Installing_Nix_on_Debian
>>
>> [2]
>> https://github.com/NixOS/nix/issues/599
>>
>>
>> On 22 September 2015 at 22:31, Vladimír Čunát > > wrote:
>>
>> On 09/22/2015 10:03 PM, zimbatm wrote:
>> > On the other end, it would be nice if installing nix was just a
>> > matter of running `curl -L
>> > https://nixos.org/nix-current/$(uname)-$(arch).tar.bz2
>>  |
>> tar xa -C
>> > /nix && ln -s /nix/bin/nix-env /usr/local/bin` and then setup the
>> > profile.
>>
>> I think the nix daemon complicates things a bit, as you need to
>> plug it
>> into the host OS services.
>>
>> Vladimir
>>
>>
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl 
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>>
>>
>>
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] What license does the content of the nixos wiki and the manuals have?

2015-09-25 Thread Joachim Schiele
hi rob,

we need your help. can you please provide matthias beyer with all the
email addresses from the wiki?

you can run these commands:
mysql -p
or
mysql

show databases;
use lastlogwiki;
select user_name,user_real_name,user_email from user;

mysql> select user_name,user_real_name,user_email from user;
+-+++
| user_name   | user_real_name | user_email |
+-+++
| WikiSysop   |||
| Joachim Schiele || j...@lastlog.de  |
| foo bar || f...@bar.com   |
+-+++

we need that in order to write about the license change of the wiki, see
the recent discussion on the mailinglist.

thanks in advance,
joachim


On 25.09.2015 12:59, Matthias Beyer wrote:
> On 24-09-2015 17:48:17, Edward Tjörnhammar wrote:
>> On Thu, Sep 24, 2015 at 05:24:58PM +0200, Domen Kožar wrote:
>>>I'm all for permissive creative commons license.
>>
>> +1
> 
> +1
> 
> 
> We would need to contact these people:
> 
> 
> https://nixos.org/w/index.php?title=Special%3AListUsers&username=&group=&editsOnly=1&limit=500
> 
> I don't know how to get a list of email adresses out of the wiki, can
> someone do this, actually?
> 
> We really should do this soon.
> 
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] What license does the content of the nixos wiki and the manuals have?

2015-09-25 Thread Joachim Schiele
two problems i see here:
- text can't be covered by GPL thus they created CC
- some edits in the wiki are anonymous (whom to ask?)

i like that we are adressing this issue now. it is very important.

i'd go for CC BY SA 3.0
https://creativecommons.org/licenses/by-sa/3.0/
as IMHO this fits the other licenses pretty well

On 25.09.2015 03:48, stewart mackenzie wrote:
> According to my understanding:
> 
> * 1st agree on a license for the wiki.
> * we need to get all wiki contributors to agree on said license.
> * we'll need a written statement from all wiki contributors, could be
> something simple like "I agree to publish my contributions to the nixos
> wiki under the X license" these statements could be on a new mailing
> list thread. It'll be mundane receiving these mails but it's needed..
> 
> (longerterm strategy)
> * The Nixos Foundation could use selected parts of the C4.1(
> http://rfc.zeromq.org/spec:22) particularly the licensing bits to create
> a nixos contributors 'contract'. It /should/ be difficult but not
> impossible to change the license of wiki, nix{pkgs,os,} as this prevents
> vendor lockins / foundation / consortium clusterfuck takeovers where
> dishonest agents could for example purchase the copyright to a codebase.
> i.e. what happened to Berkeleydb and oracle.
> * so far all the contribution copyrights to nix{os,pkgs} belong to the
> contributors and not the nixos foundation. It is preferable (IMHO) that
> copyright remain in the contributors hands and not the nixos foundation.
> Foundations can be corrupted, this prevents sillybuggers happening in
> foundations.
> 
> Personally, i'd prefer the whole nix{os,pkgs} to be a license like gpl3
> or mpl2. These licenses create prevent an org like redhat form forking
> and sublicensing.
> 
> I am not a lawyer.
> 
> There are treasures of untold wealth in nixos let's at least properly
> protect them.
> 
> On 25 Sep 2015 01:52, "Vladimír Čunát"  > wrote:
> 
> On 09/24/2015 05:24 PM, Domen Kožar wrote:
> > I'm all for permissive creative commons license.
> 
> It might be good to have the same license for wiki and nix{pkgs,os,}
> docs, allowing us to move content around freely.
> 
> I'm no lawyer, too, but I think there's also the issue of the copyright
> holder, which might be the foundation, for example. And the question of
> "asking everyone" seems rather difficult; moreover, I'm not sure what
> kind of approval is needed (I'm afraid a paper-written one in some
> jurisdictions).
> 
> 
> Vladimir
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl 
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Tablet stylus stopped working

2015-09-21 Thread Joachim Schiele
*smiles*

On 21.09.2015 20:57, Jeffrey David Johnson wrote:
> Solution in case someone has the same issue in the future: it's nothing
> to do with NixOS. Alexei was correct. Got a new stylus (HP instead of a
> knock-off this time) and it works again.
> Jeff
> 
> On Sun, 13 Sep 2015 18:37:39 -0700
> Jeffrey David Johnson  wrote:
> 
>> Yeah I think you're right. Unfortunately this computer also has issues
>> booting from anything but the internal HDD so that's a lot of work.
>> Will probably just give up on using it for the current round of
>> presentations and figure it out later.
>> Jeff
>>
>> On Mon, 14 Sep 2015 08:59:41 +1000
>> Alexei Robyn  wrote:
>>
>>> There might be, but if you've rebooted into known-working configurations
>>> and it's still not functional, you're probably better off moving
>>> straight on to testing on a different distro and computer to confirm
>>> whether or not it's the stylus.
>>>
>>> - Alexei
>>>
>>> On Mon, Sep 14, 2015, at 08:57 AM, Jeffrey David Johnson wrote:
 My wacom stylus recently stopped working. I wasn't doing anything
 nix-related at the time (just working in Inkscape) and booting into
 older generations doesn't fix it. The eraser tip and side button keep
 working but nothing from the main tip. I can't get it to show up in xev
 or kde_wacom_tabletfinder. Is there anywhere else to look before
 assuming it's a hardware failure? This is the tablet section of my
 configuration.nix:

 # ...
 environment.systemPackages = [
   libwacom
   xf86_input_wacom
 ];
 services = {
   xserver = {
 wacom.enable = true;
 synaptics = {
   enable = true;
   twoFingerScroll = true;
 };
   };
 };
 # ...

 Thanks
 Jeff
 ___
 nix-dev mailing list
 nix-dev@lists.science.uu.nl
 http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>> ___
>>> nix-dev mailing list
>>> nix-dev@lists.science.uu.nl
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] I want nice things (apache compression)

2015-09-12 Thread Joachim Schiele
compression is really important and i would like to have this as a nix
option as well! but eelco might be right as this should be a per vhost
option but i'm not sure about that.

+1

On 12.09.2015 11:05, Wout Mertens wrote:
> Hi all,
> 
> see 
> https://github.com/NixOS/nixpkgs/commit/9d82f7e53e66e5594b0c8b82f6c415a0a386b580
>  which
> reverts a site-wide optional compression feature I added. The discussion
> and lack of answering can be found
> at https://github..com/NixOS/nixpkgs/pull/9407#issuecomment-134523359
> .
> 
> IMHO, configuring Apache is annoying and not easy to get right, so I
> would love to have an enableCompression flag. Data point: nixos.org
>  doesn't use compression, for no good reason.
> 
> I'm not happy that the commit got reverted without answering my
> question, but that's what happens in a benevolent dictatorship I guess.
> 
> So I would like to know what would be an acceptable configuration. I'm
> guessing:
> 
>   * Configurable site-wide and per virtualhost
>   * Only compress known-compressible files: html, css, json, svg, txt, md
> 
> Right?
> 
> Wout.
> 
> PS: Alternatively, there could be a sort of plugin system for
> configurations which allows implementing this sort of configuration
> sugar without going into nixpkgs and with minimal end-user effort to
> keep up-to-date. I don't know what such a system would look like.
> 
> -- 
> 
> Wout.
> (typed on mobile, excuse terseness)
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Nix on Windows

2015-09-12 Thread Joachim Schiele
good work.

since windows seems to not use RPATH or absolut path names to libraries
i thought you could hash the libraries and then pass the hash as a name.

we got hash in kademlia (DHT), we now got it in the nix-store and now
just go on and use them as library names. so instead of libabc.dll your
library will be called: 39v2039w093v9348304.dll

i would put this things into the hash:
- hash of the library
- hash of the libraries name

would be interesting to see an implementation of that.

regardless of this small detail, i really enjoyed to read this report
and it seems that the MS platform still got a lot of work ahead in
making Nix a permanent contribution to it.

the other thing, making Nix a native target instead of using a unix like
wrapper, is a very good idea IMHO. if you want to go on you have to get
rid of fork and similar but you also have to get rid of the build-system.

see this posting where i've replaced autotools by cmake:
http://blog.lastlog.de/posts/replacing_automake_by_cmake/

note: this port to cmake still has a few issues yet

anyway, using cmake could be a good start as it does not require a unix
like shell.

regards,
joachim

On 08.09.2015 13:14, Florian Friesdorf wrote:
> 
> Hi,
> 
> We got around to publish the technical report we were preparing as part
> of our work on porting nix and nixpkgs to cywin:
> 
> http://ternaris.com/lab/nix-on-windows.html
> 
> As a next task https://nixos.org/wiki/Nix_on_Windows should probably be
> updated based on this.
> 
> Is anybody using Nix on cygwin and could help with that?
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Logo improvement ideas

2015-09-09 Thread Joachim Schiele
On 09.09.2015 13:19, Oliver Charles wrote:
> I'm in favour of the logo change, I think all the presented ones are
> great candidates for a new logo, and also really like the half-hex
> version. A poll sounds good, maybe we could use one of those online poll
> services, and have NixOS tweet a link/have a blog post appear in the planet?

sounds great, who does it?

> On Wed, Sep 9, 2015 at 8:37 AM Rob Vermaas  > wrote:
> 
> Perhaps someone can set up a poll or something and engage people to
> vote for it, to see if people prefer to stay with the old logo, or if
> a new logo is preferred.
> 
> Personally, I like the old logo better, but that's just my opinion :)
> (The new logo also looks nice btw)
> 
> Cheers,
> Rob
> 
> On Tue, Sep 8, 2015 at 8:21 PM, Nicolas Pierron
> mailto:nicolas.b.pier...@gmail.com>>
> wrote:
> > On Fri, Sep 4, 2015 at 9:44 AM, Guillaume Maudoux (Layus)
> > mailto:layus...@gmail.com>> wrote:
> >> Tim has invested some time in making great logos, and everybody
> seems to like the hex-half version.
> >> It would be too sad to loose his job, so what is the next step ?
> >> Who is authorized to do such a modification ?
> >
> > I don't think there is any precedent. The last time was when we
> > settled on the first logo:
> > 
>  http://lists.science.uu.nl/pipermail/nix-dev/2009-October/003231.html
> > (and replies)
> > 
>  http://lists.science.uu.nl/pipermail/nix-dev/2009-November/003326.html
> > (and replies)
> >
> > I think the board of the NixOS foundation might have the last word,
> > based on the community choices.
> >
> > --
> > Nicolas Pierron
> > http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/
> > ___
> > nix-dev mailing list
> > nix-dev@lists.science.uu.nl 
> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 
> 
> 
> --
> Rob Vermaas
> 
> [email] rob.verm...@gmail.com 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl 
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] What is the end game?

2015-08-27 Thread Joachim Schiele
please see this discussions:

https://github.com/NixOS/nixpkgs/issues/7504
https://github.com/NixOS/hydra/issues/197

i also would like the service in nixpkgs but eelco certainly knows what
he is doing! on the other hand installing hydra is a real pain and many
many will simply give up quite soonish.

On 25.08.2015 17:42, Daniel Peebles wrote:
> Hi all,
> 
> Let's say for a moment that Nix has taken over the world, and every open
> source project now includes a default.nix or release.nix in its repo root.
> 
> What does nixpkgs look like in this world? Does it duplicate the
> individual package .nix files in their respective repositories? Does it
> only duplicate minimal information (dependencies and meta) from the
> remote repositories?
> 
> We're already running into (a small amount of) pain because Hydra
> already fits the description
> above: https://github.com/NixOS/nixpkgs/issues/7504#issuecomment-95547176.
> Based on expectations set by most packages in nixpkgs/nixos, we expect
> to find services and packages in nixpkgs, and Hydra breaks that
> expectation. I'm not necessarily saying we should move its expressions
> into nixpkgs, but I am looking for someone to paint a picture of what
> Nix(OS) life will look like when we achieve world domination :)
> 
> Thanks
> Dan
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Logo improvement ideas

2015-08-24 Thread Joachim Schiele
looks great!


On 24.08.2015 05:14, Tim Cuthbertson wrote:
> Hello all,
> 
> I'm a big fan of Nix / NixOS, but I've long felt that the logo could
> do with a bit of work. So I toyed about a bit with inkscape, and came
> up with a few ideas:
> 
> https://github.com/gfxmonk/nixos-logo-ideas/tree/master/exports
> 
> They mostly keep to the existing logo structure, but with some changes:
> 
>  - Make the lines wider, and remove the rounded caps. The existing
> logo feels too thin, as if it's made of lines rather than shapes. This
> feels fragile, particularly when scaled down.
> 
>  - Made the lambda structure more obvious. To be honest, it wasn't
> until fairly recently that I noticed that the logo was made of
> lambdas. I've added gaps between each one so they don't run into a
> single shape as much. I've also added some subtle gradients at the top
> of each, to turn it into more of a woven structure, rather than a
> snowflake.
> 
>  - Rotated the shape so that there's an upright lambda, and the shape
> fits better into a restricted-height context (e.g a header bar).
> 
> # Shape variants:
> 
> "straight": More or less equivalent to the current logo, but with
> straight (not rounded) edges
> 
> "hex": Blockier in general, and gives the short foot of the lambda a
> triangular edge. This aligns all outer points to a hexagon shape,
> mirroring the inner hexagon.
> 
> "slant": The lambdas in this one have a fatter head and thinner feet.
> This makes the overall structure look more dynamic and organic, but
> de-emphasizes the clean lambda shape somewhat. The shapes on this one
> may need some tweaking, as the outer shape (made by the feet) still
> seems a little disorganized still.
> 
> # Highlight variants:
> 
> "none": every lambda has the same shading
> 
> "half": every second shape is darker (as in the current logo)
> 
> "feature": the right-way-up lambda is the only darker shape. This
> makes the repeating lambda structure more obvious, but obviously
> affects symmetry.
> 
> I haven't done too much experimentation with the colours, but feel
> free to crack open the svgs (in the parent directory) and try whatever
> you like.
> 
> Let me know what you think!
> 
> Cheers,
>  - Tim.
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Problem with grub2

2015-07-29 Thread Joachim Schiele
the default boot loader ist grub2:

https://github.com/NixOS/nixpkgs/blob/release-14.12/nixos/modules/system/boot/loader/grub/grub.nix

version = mkOption {
default = 2;
example = 1;
type = types.int;
description = ''
  The version of GRUB to use: 1 for GRUB
  Legacy (versions 0.9x), or 2 (the
  default) for GRUB 2.
'';
  };

and you can use the devices attribute, show here:

  devices = mkOption {
default = [];
example = [ "/dev/hda" ];
type = types.listOf types.str;
description = ''
  The devices on which the boot loader, GRUB, will be
  installed. Can be used instead of device to
  install grub into multiple devices (e.g., if as softraid
arrays holding /boot).
'';
  };

with an argument like that:
/dev/disk/by-uuid/4172ace9-f813-44dd-addf-77303526d768

  boot.loader.grub = {
# Use grub 2 as boot loader.
enable = true;
version = 2;

# Define on which hard drive you want to install Grub.
 device = "/dev/disk/by-uuid/4172ace9-f813-44dd-addf-77303526d768";
  };


you can just ignore the disk labels with using uuid.

hope this helps you!
hf

On 29.07.2015 08:04, Fabian Boucsein wrote:
> Hello Nix hackers,
> 
> when i try to install NixOS 14.12 with the minimal configuration
> provided by nixos-generate-config everything is fine until the
> installation of grub2. Grub tells me that there are multiple disk labels
> assigned to the device. When i look into /dev/disk/by-label i find one
> label for a partition. Is there a way to get rid of this disk labels? I
> tried it with parted but that brought no help. Is there a configuration
> option to to just use device names? I have not found a Nix configuration
> which tells nix to use devices instead of labels. By the way choosing
> grub1 is working fine. Choosing grub1 is working for me right now but i
> would like to use grub2 as my boot manager. Is there a way to get it
> running?
> 
> Looking forward for any help.
> 
> Yours sincerely,
> Fabian
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] funding nixos documentation

2015-07-26 Thread Joachim Schiele
added the source code to my github repo:
  https://github.com/qknight/wiki.nixos.org-scraper

hf

On 23.07.2015 11:48, Joachim Schiele wrote:
> no, the export isn't very helpful and i'm alreadyusing AllPages but not
> all pages show up there, for instance talk pages.
> 
> i forgot to mention that assistant offers a full text search on all
> articles which is very nice!
> 
> On 23.07.2015 11:28, Kirill Elagin wrote:
>> nix-assistant looks nice!
>>
>> By the way, there is https://en.wikipedia.org/wiki/Help:Export
>> (e.g. https://nixos.org/wiki/Special:Export/Creating_a_NixOS_live_CD
>> and https://nixos.org/wiki/Special:AllPages).
>>
>> On Thu, Jul 23, 2015 at 5:03 AM Joachim Schiele > <mailto:j...@lastlog.de>> wrote:
>>
>> hey,
>>
>> sorry that i didn't write back right away, but i felt it wasn't the
>> right time to do so.
>>
>> i got some news, that is: nix-assistant!
>>
>> see details here:
>>   http://blog.lastlog.de/posts/nix-assistant/
>>
>> if you find this stuff cool, you can use the donation option at the end
>> of the article (link above).
>>
>> seems writing documentation for nix isn't such a good way to get funding
>> for nix, because the project itself is still finding a proper stand. the
>> nixos foundation is a good start and therefore the nix project is
>> heading in the right direction!
>>
>> hf,
>> qknight
>>
>> On 04.06.2015 03:35, Patrick Wheeler wrote:
>> >> Yeah I would do that too. When I said I couldn't I thought we were
>> > talking about job-level money.
>> >
>> > I do not know how far that much money goes, but I figure if an
>> issue is
>> > important I can just add money to it month after month.
>> >
>> > It only takes a few people doing that to a few topics to build up a
>> > reasonable number of hours a month a work.
>> >
>> > Patrick
>> >
>> > On Wed, Jun 3, 2015 at 7:44 PM, Jeffrey David Johnson
>> mailto:jef...@gmail.com>
>> > <mailto:jef...@gmail.com <mailto:jef...@gmail.com>>> wrote:
>> >
>> > Yeah I would do that too. When I said I couldn't I thought we were
>> > talking about job-level money. And
>> https://www.bountysource.com/ looks
>> > like a great setup. They even take bitcoin! (May not matter to
>> > anyone else...)
>> > Jeff
>> >
>> > On Wed, 3 Jun 2015 18:51:14 -0500
>> > Patrick Wheeler > <mailto:patrick.john.whee...@gmail.com>
>> > <mailto:patrick.john.whee...@gmail.com
>> <mailto:patrick.john.whee...@gmail.com>>> wrote:
>> >
>> > > I have thought about opening small bounties for nixos.  Probably
>> > only 20-50
>> > > dollars a month though.  Not clear how far that would go though.
>> > >
>> > > On Wed, Jun 3, 2015 at 2:37 PM, Tomasz Kontusz
>> >     mailto:tomasz.kont...@gmail.com>
>> <mailto:tomasz.kont...@gmail.com <mailto:tomasz.kont...@gmail.com>>>
>> > > wrote:
>> > >
>> > > >
>> > > > On 06/03/2015 08:21 PM, Jeffrey David Johnson wrote:
>> > > > > Oops, replying to the whole list now..
>> > > > >
>> > > > > Begin forwarded message:
>> > > > >
>> > > > > Date: Wed, 3 Jun 2015 11:20:10 -0700
>> > > > > From: Jeffrey David Johnson > <mailto:jef...@gmail.com>
>> > <mailto:jef...@gmail.com <mailto:jef...@gmail.com>>>
>> > > > > To: Joachim Schiele > <mailto:j...@lastlog.de> <mailto:j...@lastlog.de 
>> <mailto:j...@lastlog.de>>>
>> > > > > Subject: Re: [Nix-dev] funding nixos documentation
>> > > > >
>> > > > >
>> > > > > I like the idea but can't personally pay for it :(
>> > > > >
>> > > > > I see you have a paper on
>> <http://nixos.org/docs/papers.html>
>> > > > > comparing Nix to other package managers. I think that
>> 

Re: [Nix-dev] Sprint in Halle in September

2015-07-24 Thread Joachim Schiele
you could add the sprint to the wiki btw, see:
https://nixos.org/wiki/Main_Page#Events

On 21.07.2015 15:18, Christian Theune wrote:
> Hi!
> 
> last year we had a great sprint[1] where we started looking deeper into
> NixOS. Although our own adoption at the Flying Circus is moving quite
> slowly we’re making some progress.
> 
> This year we’d like to invite everyone again - we’ll have a enough
> space, internet, food and drinks for a total of 50 people and we’ll have
> a great party on Friday afternoon.
> 
> The overall style of the event is to meet with fellow technical people
> to actually work on stuff: not in a competitive way that Hackathons
> usually are but in a friendly open-source oriented way of getting stuff
> done. :)
> 
> My personal interests will be around employing NixOS in a decentralised
> way of managing fleets of self-updating machines. 
> 
> If you’d like to join, sign up on the
> meetup: http://www.meetup.com/DevOps-Sprint/events/223910698/
> 
> Cheers and hope to see you in September!
> 
> Christian
> 
> [1] http://blog.gocept.com/2014/08/04/september-18th-20th-devops-sprint/
> 
> —
> Christian Theune · c...@flyingcircus.io  · +49
> 345 219401 0
> Flying Circus Internet Operations GmbH · http://flyingcircus.io
> Forsterstraße 29 · 06112 Halle (Saale) · Deutschland
> HR Stendal HRB 21169 · Geschäftsführer: Christian. Theune, Christian.
> Zagrodnick
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Network boot (installer or regular or something)

2015-07-24 Thread Joachim Schiele
this sounds like a cool setup. if you manage to get it running please
document it in the wiki!

On 24.07.2015 11:12, Christian Theune wrote:
> Hi,
> 
> I’ve seen an open ticket and but haven’t found much else, so here the 
> questions:
> 
> Is anyone booting NixOS from network?
> How do you manage the boot environment?
> Which combination do you use? (PXE+NFS+ISOs?)
> 
> I can see that this should be generally a nicely manageable thing as we 
> should be able to create this like we create virtual machine images.
> 
> Background: I’m currently PXE-booting Gentoo installers that break and keep 
> breaking due to impurity and creeping inconsistencies, and I’m really 
> frustrated, so looking forward to work on this - I wonder how for this 
> actually is. Currently I boot via PXE+NFS and disassemble that ISOs that 
> Gentoo provides. :(
> 
> Cheers,
> Christian
> 
> —
> Christian Theune · c...@flyingcircus.io · +49 345 219401 0
> Flying Circus Internet Operations GmbH · http://flyingcircus.io
> Forsterstraße 29 · 06112 Halle (Saale) · Deutschland
> HR Stendal HRB 21169 · Geschäftsführer: Christian. Theune, Christian. 
> Zagrodnick
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] funding nixos documentation

2015-07-23 Thread Joachim Schiele
no, the export isn't very helpful and i'm alreadyusing AllPages but not
all pages show up there, for instance talk pages.

i forgot to mention that assistant offers a full text search on all
articles which is very nice!

On 23.07.2015 11:28, Kirill Elagin wrote:
> nix-assistant looks nice!
> 
> By the way, there is https://en.wikipedia.org/wiki/Help:Export
> (e.g. https://nixos.org/wiki/Special:Export/Creating_a_NixOS_live_CD
> and https://nixos.org/wiki/Special:AllPages).
> 
> On Thu, Jul 23, 2015 at 5:03 AM Joachim Schiele  <mailto:j...@lastlog.de>> wrote:
> 
> hey,
> 
> sorry that i didn't write back right away, but i felt it wasn't the
> right time to do so.
> 
> i got some news, that is: nix-assistant!
> 
> see details here:
>   http://blog.lastlog.de/posts/nix-assistant/
> 
> if you find this stuff cool, you can use the donation option at the end
> of the article (link above).
> 
> seems writing documentation for nix isn't such a good way to get funding
> for nix, because the project itself is still finding a proper stand. the
> nixos foundation is a good start and therefore the nix project is
> heading in the right direction!
> 
> hf,
> qknight
> 
> On 04.06.2015 03:35, Patrick Wheeler wrote:
> >> Yeah I would do that too. When I said I couldn't I thought we were
> > talking about job-level money.
> >
> > I do not know how far that much money goes, but I figure if an
> issue is
> > important I can just add money to it month after month.
> >
> > It only takes a few people doing that to a few topics to build up a
> > reasonable number of hours a month a work.
> >
> > Patrick
> >
> > On Wed, Jun 3, 2015 at 7:44 PM, Jeffrey David Johnson
> mailto:jef...@gmail.com>
> > <mailto:jef...@gmail.com <mailto:jef...@gmail.com>>> wrote:
> >
> > Yeah I would do that too. When I said I couldn't I thought we were
> > talking about job-level money. And
> https://www.bountysource.com/ looks
> > like a great setup. They even take bitcoin! (May not matter to
> > anyone else...)
> > Jeff
> >
> > On Wed, 3 Jun 2015 18:51:14 -0500
> > Patrick Wheeler  <mailto:patrick.john.whee...@gmail.com>
> > <mailto:patrick.john.whee...@gmail.com
> <mailto:patrick.john.whee...@gmail.com>>> wrote:
> >
> > > I have thought about opening small bounties for nixos.  Probably
> > only 20-50
> > > dollars a month though.  Not clear how far that would go though.
> > >
> > > On Wed, Jun 3, 2015 at 2:37 PM, Tomasz Kontusz
> > mailto:tomasz.kont...@gmail.com>
> <mailto:tomasz.kont...@gmail.com <mailto:tomasz.kont...@gmail.com>>>
> > > wrote:
> > >
> > > >
> > > > On 06/03/2015 08:21 PM, Jeffrey David Johnson wrote:
> > > > > Oops, replying to the whole list now..
> > > > >
> > > > > Begin forwarded message:
> > > > >
> > > > > Date: Wed, 3 Jun 2015 11:20:10 -0700
> > > > > From: Jeffrey David Johnson  <mailto:jef...@gmail.com>
> > <mailto:jef...@gmail.com <mailto:jef...@gmail.com>>>
> > > > > To: Joachim Schiele  <mailto:j...@lastlog.de> <mailto:j...@lastlog.de 
> <mailto:j...@lastlog.de>>>
> > > > > Subject: Re: [Nix-dev] funding nixos documentation
> > > > >
> > > > >
> > > > > I like the idea but can't personally pay for it :(
> > > > >
> > > > > I see you have a paper on
> <http://nixos.org/docs/papers.html>
> > > > > comparing Nix to other package managers. I think that
> would be
> > a great
> > > > > topic for documentation! Maybe a series of short
> tutorials for
> > people
> > > > > coming from Debian, Arch, Gentoo, brew on OSX, etc.
> > > > >
> > > > > Also, long shot idea: we could put together a list of
>     > bounties. Pledge
> > > > > amounts toward particular fixes/goals and then when someone
> > > > > accomplishes them

Re: [Nix-dev] funding nixos documentation

2015-07-22 Thread Joachim Schiele
hey,

sorry that i didn't write back right away, but i felt it wasn't the
right time to do so.

i got some news, that is: nix-assistant!

see details here:
  http://blog.lastlog.de/posts/nix-assistant/

if you find this stuff cool, you can use the donation option at the end
of the article (link above).

seems writing documentation for nix isn't such a good way to get funding
for nix, because the project itself is still finding a proper stand. the
nixos foundation is a good start and therefore the nix project is
heading in the right direction!

hf,
qknight

On 04.06.2015 03:35, Patrick Wheeler wrote:
>> Yeah I would do that too. When I said I couldn't I thought we were
> talking about job-level money. 
> 
> I do not know how far that much money goes, but I figure if an issue is
> important I can just add money to it month after month.
> 
> It only takes a few people doing that to a few topics to build up a
> reasonable number of hours a month a work.
> 
> Patrick
> 
> On Wed, Jun 3, 2015 at 7:44 PM, Jeffrey David Johnson  <mailto:jef...@gmail.com>> wrote:
> 
> Yeah I would do that too. When I said I couldn't I thought we were
> talking about job-level money. And https://www.bountysource.com/ looks
> like a great setup. They even take bitcoin! (May not matter to
> anyone else...)
> Jeff
> 
> On Wed, 3 Jun 2015 18:51:14 -0500
> Patrick Wheeler  <mailto:patrick.john.whee...@gmail.com>> wrote:
> 
> > I have thought about opening small bounties for nixos.  Probably
> only 20-50
> > dollars a month though.  Not clear how far that would go though.
> >
> > On Wed, Jun 3, 2015 at 2:37 PM, Tomasz Kontusz
> mailto:tomasz.kont...@gmail.com>>
> > wrote:
> >
> > >
> > > On 06/03/2015 08:21 PM, Jeffrey David Johnson wrote:
> > > > Oops, replying to the whole list now.
> > > >
> > > > Begin forwarded message:
> > > >
> > > > Date: Wed, 3 Jun 2015 11:20:10 -0700
> > > > From: Jeffrey David Johnson  <mailto:jef...@gmail.com>>
> > > > To: Joachim Schiele mailto:j...@lastlog.de>>
> > > > Subject: Re: [Nix-dev] funding nixos documentation
> > > >
> > > >
> > > > I like the idea but can't personally pay for it :(
> > > >
> > > > I see you have a paper on <http://nixos.org/docs/papers.html>
> > > > comparing Nix to other package managers. I think that would be
> a great
> > > > topic for documentation! Maybe a series of short tutorials for
> people
> > > > coming from Debian, Arch, Gentoo, brew on OSX, etc.
> > > >
> > > > Also, long shot idea: we could put together a list of
> bounties. Pledge
> > > > amounts toward particular fixes/goals and then when someone
> > > > accomplishes them they post a paypal/bitcoin address to get
> paid. I'm
> > > > not sure how to make it binding or pay up front or resolve
> disputes
> > > > though.
> > > Actually there are already systems for bounties
> > > (https://www.bountysource.com/ is one) - do people here have any
> > > experience with those?
> > > Would it make sense to have one of such platforms endorsed by
> nixos.org <http://nixos.org>?
> > >
> > > > Jeff
> > > >
> > > > On Wed, 03 Jun 2015 16:43:07 +0200
> > > > Joachim Schiele mailto:j...@lastlog.de>> wrote:
> > > >
> > > >> hey,
> > > >>
>     > > >> if someone is willing to pay me for nixos documentation
> updates i would
> > > >> love to do some contribution(s)/rework.
> > > >>
> > > >> just let me know if you are interested.
> > > >>
> > > >> goals i consider importatnt:
> > > >> - nix/nixpkgs documentation
> > > >> - nix-shell examples
> > > >> - create a nix tutorial
> > > >> - create an offline version of the wiki
> > > >> - create an offline version of package/option search
> > > >>
> > > >> please contact me if you have interest in paying me for such
> things.
> > > >>
> > > >> regards,
> > > >> joachim schiele
> > > >>
> > &

Re: [Nix-dev] [(private) Meetup] I'm traveling through Europe, maybe I can meet some nixers?

2015-07-12 Thread Joachim Schiele
if you come near tübingen (where i live) or balingen let me know.

would be nice meeting you

On 07.07.2015 20:57, Matthias Beyer wrote:
> Hi Nixers!
> 
> So, it happens that I will travel through Europe in August and
> September. Actually, I will travel by bike from Donau-Eschingen (where
> the Donau originates) to the Black Sea, if I get so far.
> 
> Maybe I can meet some nixers while traveling? Would be a pleasure to
> meet some of you for a drink or something, if we can arrange that!
> 
> Contact me!
> 
> Besides: I'd love to attend at a nixos meetp, NixConn anyone? :-P
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] camp 2015 nixos event! 13. - 17. August 2015

2015-07-12 Thread Joachim Schiele
On 13.07.2015 00:24, Moritz Ulrich wrote:
> Joachim Schiele  writes:
> 
>> we will have a nixos booth at the camp (details on the camp, see [1] and
>> [2]) from 13. - 17. August 2015. updates will be posted at [3].
> 
> Awesome! I'll be there too, and I'm sure I'll find some time to help out
> too :)
> 
>> hope to see you there and please feel free to contact me for further
>> questions.
> 
> Any idea how much room the village will have for tents? (My first time
> at the Camp, so I'm quite clueless)

i hope it is enough ;-)

> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] camp 2015 nixos event! 13. - 17. August 2015

2015-07-12 Thread Joachim Schiele
sure! cool thing ;-)

On 12.07.2015 22:32, Pascal Wittmann wrote:
> On 07/12/2015 03:44 PM, Joachim Schiele wrote:
>> hope to see you there and please feel free to contact me for further
>> questions.
> 
> Maybe I can join as well. I will only know on a short term basis if I
> can come, but I hope it works out.
> 
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] camp 2015 nixos event! 13. - 17. August 2015

2015-07-12 Thread Joachim Schiele
On 12.07.2015 17:25, Alexander Flatter wrote:
> That’s great to hear - it currently looks like I’m going to be there too!
> Very interested in the talks/workshops. Where does Nix-related planning 
> happen?

here:
https://nixos.org/wiki/NixOS_Chaos_Communication_Camp_2015

> Best,
> Alex
> 
>> On 12 Jul 2015, at 15:44, Joachim Schiele  wrote:
>>
>> dear nixos devs & newcomers,
>>
>> we will have a nixos booth at the camp (details on the camp, see [1] and
>> [2]) from 13. - 17. August 2015. updates will be posted at [3].
>>
>> we will hold several workshops at the camp at our village and maybe we
>> will also have a dedicated place for a hydra workshop. workshops are
>> announced at the nixos wiki at [3].
>>
>> hope to see you there and please feel free to contact me for further
>> questions.
>>
>> best wishes,
>> joachim (aka qknight)
>>
>> * [1] https://events.ccc.de/camp/2015/wiki/Main_Page
>> * [2] http://events.ccc.de/tag/chaos-communication-camp/
>> * [3] https://nixos.org/wiki/NixOS_Chaos_Communication_Camp_2015
>>
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] camp 2015 nixos event! 13. - 17. August 2015

2015-07-12 Thread Joachim Schiele
dear nixos devs & newcomers,

we will have a nixos booth at the camp (details on the camp, see [1] and
[2]) from 13. - 17. August 2015. updates will be posted at [3].

we will hold several workshops at the camp at our village and maybe we
will also have a dedicated place for a hydra workshop. workshops are
announced at the nixos wiki at [3].

hope to see you there and please feel free to contact me for further
questions.

best wishes,
joachim (aka qknight)

* [1] https://events.ccc.de/camp/2015/wiki/Main_Page
* [2] http://events.ccc.de/tag/chaos-communication-camp/
* [3] https://nixos.org/wiki/NixOS_Chaos_Communication_Camp_2015

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] NixOS Foundation

2015-07-10 Thread Joachim Schiele
has it's own foundation:
- krita
- blender

why shouldn't we? also what apache does is not our focus i guess.

On 10.07.2015 16:05, Nathan Bijnens wrote:
> Just curious, was it ever considered to join an existing Foundation,
> like the Apache Software Foundation? 
> 
> Anyway congratulations to the NixOS Foundation! 
> 
> N.
> 
> On Fri, Jul 10, 2015 at 4:02 PM Joachim Schiele  <mailto:j...@lastlog.de>> wrote:
> 
> hey,
> 
> this is good news and very much appreciated. i've been thinking about a
> nixos foundation a lot lately.
> 
> thanks for creating it!
> 
> best wishes,
> joachim
> 
> On 08.07.2015 11:22, Rob Vermaas wrote:
> > Hi,
> >
> > Last month, the NixOS Foundation came to life. The foundation was
> > started to support the NixOS related projects and its infrastructure,
> > and improve continuity for this.
> >
> > One of the main reasons we needed to create a foundation, is to start
> > up fundraising for extending and maintaining the current
> > infrastructure. Until now, we have been greatly supported by
> > institutions and companies, such as Delft University of Technology,
> > LogicBlox and Rackspace. They will continue to do so, however, we need
> > to start raising funds if we want to extend our infrastructure and
> > keep the current infrastructure running.
> >
> > Previously people and companies have asked if there is a way for them
> > to contribute hardware or donate money, to allow the infrastructure to
> > be extended, e.g. by adding build machines in the hydra.nixos.org
> <http://hydra.nixos.org>
> > buildfarm. This was difficult, as there was no entity available to
> > receive such donations, except for private persons, which causes
> > issues with tax regulations and ownership. The foundation solves this
> > problem. Also, because the foundation will now take ownership of
> > maintaining the infrastructure, it will be easier for people to roll
> > on and off with regards to running and maintaining the infrastructure,
> > which should improve continuity.
> >
> > Currently there are 3 board members for the foundation:
> >
> >  - Eelco Dolstra, Chairman
> >  - Armijn Hemel, Secretary
> >  - Rob Vermaas, Treasurer
> >
> > Note that the board members are doing this on a strictly voluntary
> > basis, which means they will not get paid by the foundation. In the
> > next year, we will try to add 1 or 2 more members from the NixOS
> > community.
> >
> > More information on the can be found at:
> http://nixos.org/nixos/foundation.html
> >
> > So now the begging starts :-) We would like people to start supporting
> > the NixOS foundation (financially, your commits/work have already been
> > awesome!). We have set up some PayPal buttons which can be used to do
> > a one-time donation to the foundation, or set up a monthly donation
> > (even better!) . Bank transfer is also available. We will list all
> > people/companies who have donated, if they wish to be listed, on the
> > foundation webpage.
> >
> > Your donation would be very much appreciated! To give a good example,
> > I have personally donated 100 euro to the foundation.
> >
> > The information on donations can be found here:
> > http://nixos.org/nixos/foundation.html
> >
> > We will try to be as transparent as possible with regards to the
> > spending of donations to the foundation. We will extend the foundation
> > webpage with reports of donations received, and with reports about the
> > spending.
> >
> > If you have any questions, please let us know. We are still in the
> > phase of starting up everything, so please bear with us!
> >
> > Cheers,
> >
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl <mailto:nix-dev@lists.science.uu.nl>
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] NixOS Foundation

2015-07-10 Thread Joachim Schiele
hey,

this is good news and very much appreciated. i've been thinking about a
nixos foundation a lot lately.

thanks for creating it!

best wishes,
joachim

On 08.07.2015 11:22, Rob Vermaas wrote:
> Hi,
> 
> Last month, the NixOS Foundation came to life. The foundation was
> started to support the NixOS related projects and its infrastructure,
> and improve continuity for this.
> 
> One of the main reasons we needed to create a foundation, is to start
> up fundraising for extending and maintaining the current
> infrastructure. Until now, we have been greatly supported by
> institutions and companies, such as Delft University of Technology,
> LogicBlox and Rackspace. They will continue to do so, however, we need
> to start raising funds if we want to extend our infrastructure and
> keep the current infrastructure running.
> 
> Previously people and companies have asked if there is a way for them
> to contribute hardware or donate money, to allow the infrastructure to
> be extended, e.g. by adding build machines in the hydra.nixos.org
> buildfarm. This was difficult, as there was no entity available to
> receive such donations, except for private persons, which causes
> issues with tax regulations and ownership. The foundation solves this
> problem. Also, because the foundation will now take ownership of
> maintaining the infrastructure, it will be easier for people to roll
> on and off with regards to running and maintaining the infrastructure,
> which should improve continuity.
> 
> Currently there are 3 board members for the foundation:
> 
>  - Eelco Dolstra, Chairman
>  - Armijn Hemel, Secretary
>  - Rob Vermaas, Treasurer
> 
> Note that the board members are doing this on a strictly voluntary
> basis, which means they will not get paid by the foundation. In the
> next year, we will try to add 1 or 2 more members from the NixOS
> community.
> 
> More information on the can be found at: 
> http://nixos.org/nixos/foundation.html
> 
> So now the begging starts :-) We would like people to start supporting
> the NixOS foundation (financially, your commits/work have already been
> awesome!). We have set up some PayPal buttons which can be used to do
> a one-time donation to the foundation, or set up a monthly donation
> (even better!) . Bank transfer is also available. We will list all
> people/companies who have donated, if they wish to be listed, on the
> foundation webpage.
> 
> Your donation would be very much appreciated! To give a good example,
> I have personally donated 100 euro to the foundation.
> 
> The information on donations can be found here:
> http://nixos.org/nixos/foundation.html
> 
> We will try to be as transparent as possible with regards to the
> spending of donations to the foundation. We will extend the foundation
> webpage with reports of donations received, and with reports about the
> spending.
> 
> If you have any questions, please let us know. We are still in the
> phase of starting up everything, so please bear with us!
> 
> Cheers,
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] "/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found" trying to install on RHEL 6.5

2015-06-25 Thread Joachim Schiele
On 25.06.2015 22:35, Alex Vorobiev wrote:
> Hi,
> I am trying to install Nix on RHEL 6.5 in a single user mode. The
> installation fails when nix-store can't load libstdc++ (see below). Is
> there any way to fix the problem?
> 
> Thanks,
> Alex
> 
> $ bash <(curl https://nixos.org/nix/install)
> <...>
> initialising Nix database...
> /nix/store/l598bgyrflylmfxr7c889jcs5amflrsp-nix-1.9/bin/nix-store: 
> /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required 
> by /nix/store/l598bgyrflylmfxr7c889jcs5amflrsp-nix-1.9/bin/nix-store)
> <...>
> nix-binary-tarball-unpack/nix-1.9-x86_64-linux/install: failed to 
> initialize the Nix database

this is a fresh installation right? if not build and install the
software again.



___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] How to package a ruby gem? Can someone show me?

2015-06-25 Thread Joachim Schiele
maybe you should have a look at the gitlab example:
https://github.com/NixOS/nixpkgs/blob/0761f81da71fc6a940c7f51129b6c7717db78e87/nixos/modules/services/misc/gitlab.nix

On 21.06.2015 13:23, Matthias Beyer wrote:
> Hi,
> 
> I want to package taskwarrior-web[0], but I don't know how to package
> ruby gems. Can someone please provide me a simple example of a ruby
> package which fits the complexity of taskwarrior-web (in means of
> packaging effort)?
> 
> [0]: https://github.com/theunraveler/taskwarrior-web
> 
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Can't start kde

2015-06-16 Thread Joachim Schiele
please test other window managers also.

this is my configuration:

  services.xserver.desktopManager.kde4.enable = true;
  services.xserver.displayManager.kdm.enable = true;

  # Add XServer (default if you have used a graphical iso)
  services.xserver = {
enable = true;
videoDrivers = [ "intel" ];
layout = "us";
xkbOptions = "eurosign:e";
#monitorSection = ''
#  Modeline "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050
1053 1059 1089 -hsync +vsync
#'';
#deviceSection = ''
#  Option "ModeValidation" "AllowNonEdidModes"
#'';

config = ''
  Section "InputClass"
Identifier "Logitech"
MatchProduct "Logitech USB Laser Mouse"
MatchIsPointer "true"
MatchDevicePath "/dev/input/event*"
# mapped den MMB nach links wo zwei buttons sind, vor und zurueck.
# der wo weiter weg vom daumen ist heisst 9 und der zum daumen 8
Option "ButtonMapping" "1 8 3 4 5 6 7 2"
  EndSection
  Section "InputClass"
Identifier "TPPS/2 IBM TrackPoint"
MatchProduct "TPPS/2 IBM TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Evdev Wheel Emulation Timeout" "200"
  EndSection
'';
  };




  environment.systemPackages = with pkgs; [
linuxPackages.virtualbox
kde4.kdemultimedia
kde4.networkmanagement
kde4.kdegraphics
kde4.kdeutils
kde4.applications
kde4.kdegames
kde4.kdeedu
kde4.kdebindings
kde4.kdeaccessibility
kde4.kde_baseapps
kde4.kactivities
kde4.kdeadmin
kde4.kdeartwork
kde4.kde_base_artwork
kde4.kdenetwork
kde4.kdepim
kde4.kdepimlibs
kde4.kdeplasma_addons
kde4.kdesdk
kde4.kdetoys
kde4.kde_wallpapers
kde4.kdewebdev
kde4.oxygen_icons
kde4.kdebase_workspace
kde4.kdelibs
kde4.kdevelop
kde4.kdevplatform
kde4.ksshaskpass
kde4.kdiff3
...


hope this helps you.

On 14.06.2015 13:11, Arseniy Seroka wrote:
> Hello!
> I have in my configuration.nix:
> ```
> dbus.enable = true;
> kdm.enable = true;
> kde5.enable = true;
> ```
> 
> I start my display-manager.service, logging in and I'm
> back to my display-manager. Kde can't be started.
> I my kdm.log there are lines:
> ```
> klauncher(12476) kdemain: No DBUS session-bus found. Check if you have
> started the DBUS server.
> kdeinit4: Communication error with launcher. Exiting!
> kdmgreet(12468)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned
> initialize() D-Bus call failed:  "Not connected to D-Bus server"
> kdmgreet(12468)/kdecore (K*TimeZone*): No time zone information obtained
> from ktimezoned
> ```
> 
> What's the problem and how to start kde5?
> 
> (If I enable gdm and gnome3 -> I can't start gnome too,
> but I have no logs for that now).
> 
> -- 
> Sincerely,
> Arseniy Seroka
> 
> 
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] tests with meta section

2015-06-03 Thread Joachim Schiele
On 03.06.2015 12:24, Jascha Geerds wrote:
> Great idea!

i'm ready to contribute this:
@niksnut: you are mentioned pretty often, is this ok if i add you? any
advice how we can implement this on hydra?

best wishes,
qknight




#!/run/current-system/sw/bin/bash
list=$(cat ../../lib/maintainers.nix | grep @)
for i in `ls`; do
  echo "- $i -";
  contribs=$(git log --format="%aE" $i | sort | uniq)
  for c in $contribs; do
m=$(cat ../../lib/maintainers.nix | grep @ | grep $c | awk '{print
$1}' | sort | uniq)
#echo $m
array+=$m
con+=$m
con+=" "
  done
  echo "  meta = with stdenv.lib; {"
  echo -n "maintainers = with maintainers; [ "
  echo -n $con
  echo " ];"
  echo "platforms = platforms.linux;"
  echo "  };"
  con=""
done




- avahi.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ eelco chaoflow wizeman ];
platforms = platforms.linux;
  };
- bittorrent.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ iElectric eelco chaoflow rob
wkennington ];
platforms = platforms.linux;
  };
- blivet.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ aszlig ];
platforms = platforms.linux;
  };
- boot.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ bobvanderlinden ];
platforms = platforms.linux;
  };
- cadvisor.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ offline ];
platforms = platforms.linux;
  };
- check-filesystems.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ eelco chaoflow ];
platforms = platforms.linux;
  };
- chromium.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ aszlig ];
platforms = platforms.linux;
  };
- cjdns.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ emery ];
platforms = platforms.linux;
  };
- common -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ iElectric eelco ];
platforms = platforms.linux;
  };
- containers.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ aristid aszlig eelco chaoflow ];
platforms = platforms.linux;
  };
- convert.sh -
  meta = with stdenv.lib; {
maintainers = with maintainers; [  ];
platforms = platforms.linux;
  };
- docker.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ offline ];
platforms = platforms.linux;
  };
- docker-registry.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ offline ];
platforms = platforms.linux;
  };
- etcd.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ offline ];
platforms = platforms.linux;
  };
- firefox.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ eelco chaoflow shlevy ];
platforms = platforms.linux;
  };
- firewall.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ eelco chaoflow ];
platforms = platforms.linux;
  };
- fleet.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ offline ];
platforms = platforms.linux;
  };
- gitlab.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ iElectric offline ];
platforms = platforms.linux;
  };
- gnome3.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ iElectric eelco chaoflow lethalman ];
platforms = platforms.linux;
  };
- i3wm.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ aszlig ];
platforms = platforms.linux;
  };
- influxdb.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ chaoflow offline ];
platforms = platforms.linux;
  };
- installer.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ raskin aszlig iElectric eelco
chaoflow wizeman shlevy wkennington ];
platforms = platforms.linux;
  };
- ipv6.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ eelco chaoflow ];
platforms = platforms.linux;
  };
- jenkins.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ bjornfor coconnor iElectric eelco
chaoflow ];
platforms = platforms.linux;
  };
- kde4.nix -
  meta = with stdenv.lib; {
maintainers = with maintainers; [ iElectric eelco chaoflow ];
platforms = platforms.linux;
  };
- kexec.nix -
  meta = with stdenv.lib; {
main

[Nix-dev] funding nixos documentation

2015-06-03 Thread Joachim Schiele
hey,

if someone is willing to pay me for nixos documentation updates i would
love to do some contribution(s)/rework.

just let me know if you are interested.

goals i consider importatnt:
- nix/nixpkgs documentation
- nix-shell examples
- create a nix tutorial
- create an offline version of the wiki
- create an offline version of package/option search

please contact me if you have interest in paying me for such things.

regards,
joachim schiele

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


  1   2   >