[Nix-dev] Contributing to nixpkgs and maintainers burden

2016-04-09 Thread Ruben Astudillo
Hi nixers.

I have a couple of packages (hakuneko, haskell-related) on my local copy
of the repo. Time to time I've thought of contributing back. But I think
on the maintainers of nixpkgs and don't know if I am really making them
favor.

On the "commit access" thread I learned that nixpkgs on github is kind of
a mess. I don't really want to put extra burden on somebody (who already
are doing a wonderful job) with just a PR and want to actively work on
updating my packages. Is there a hierarchy of people assigned different
level of pkgs/ (so I can work with less full people) or is still the
global "give commit acess" still around? What are the plans?

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


Re: [Nix-dev] User-oriented nixpkgs documentation

2016-04-09 Thread Nikolay Amiantov
Somewhat unrelated questions: how often does our documentation on the
website[1] update? It is tied now to the unstable releases, if I
understand correctly. What about NixOS documentation? Do we have
documentation for stable releases online?

[1]: https://nixos.org/nixpkgs/manual/

-- 
Nikolay.

On 04/08/2016 03:12 PM, Vladimír Čunát wrote:
> On 04/08/2016 12:36 PM, Nikolay Amiantov wrote:
>> 3. nixpkgs manual: oriented at developers and packagers (as it itself
>> points out).
> 
> There is some user documentation in the nixpkgs manual already, e.g.
> about installing Haskell and TeX Live packages. Currently we don't have
> any better place, I believe. I also recently changed the introduction of
> the manual to indicate it isn't only for devs.
> 
> --Vladimir
> 
> 
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] User-oriented nixpkgs documentation

2016-04-09 Thread Nikolay Amiantov
I haven't read this handbook before unfortunately -- can you please
summarize how does it differ from our NixOS manual?

-- 
Nikolay.

On 04/09/2016 10:10 PM, Anderson Torres wrote:
> I prefer to start a documentation project, like the FreeBSD
> Handbook[1]. It could contain some in-project documentation for every
> module too.
> 
> 
> [1] https://www.freebsd.org/doc/handbook/
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] ioquake3 on nixos

2016-04-09 Thread Nikolay Amiantov
Try to rename `nixpkgs-small` to just `nixpkgs` (using the same URL) --
if I understand correctly what's going on, it should help. I don't
remember how exactly to do it -- you can remove `nixpkgs-small` and add
`nixpkgs` if everything else betrays.

-- 
Nikolay.

On 04/09/2016 10:41 PM, Máté Kovács wrote:
> It seems like I'm unable to use some expressions that have seemingly
> been added a long time ago, it's not just quake3wrapper.
> 
>> nix-instantiate --eval '' -A lib.nixpkgsVersion
> "15.09.1056.9a7b24a"
> 
>> nix-channel --list
> nixpkgs-small http://nixos.org/channels/nixpkgs-unstable-small
> 
>> sudo nix-channel --list
> nixos https://nixos.org/channels/nixos-15.09
> 
> Do you see anything suspicious here? I've been suspecting for a while
> now that there's something fishy with my nixpkgs, but I have trouble
> figuring it out. I really appreciate your help! :)
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] few questions before migrating from Debian…

2016-04-09 Thread Saša Janiška
Jakob Gillich  writes:

> GNOME 3 works pretty well, but like many other things on NixOS it has
> a few quirks. For example, it does not auto-detect new apps until you
> restart GNOME shell.

OK, that’s not a big deal.

> I wouldn't recommend NixOS to non-developers, our stable releases are
> still a lot less stable than Debian testing.

In which sense is that ’less stability’ manifested?


Sincerely,
Gour

-- 
From wherever the mind wanders due to its flickering and unsteady
nature, one must certainly withdraw it and bring it back under
the control of the self.

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


Re: [Nix-dev] ioquake3 on nixos

2016-04-09 Thread Máté Kovács
It seems like I'm unable to use some expressions that have seemingly been
added a long time ago, it's not just quake3wrapper.

> nix-instantiate --eval '' -A lib.nixpkgsVersion
"15.09.1056.9a7b24a"

> nix-channel --list
nixpkgs-small http://nixos.org/channels/nixpkgs-unstable-small

> sudo nix-channel --list
nixos https://nixos.org/channels/nixos-15.09

Do you see anything suspicious here? I've been suspecting for a while now
that there's something fishy with my nixpkgs, but I have trouble figuring
it out. I really appreciate your help! :)

On Sat, Apr 9, 2016 at 3:06 AM Nikolay Amiantov  wrote:

> quake3wrapper was added somewhere in December, so you should have it if
> you use NixOS unstable. Can you run this:
>
> > nix-instantiate --eval '' -A lib.nixpkgsVersion
>
> to make sure that  resolves to something recent enough? Also run:
>
> > nix-channel --list
> > sudo nix-channel --list
>
> --
> Nikolay.
>
> On 04/09/2016 10:48 AM, Máté Kovács wrote:
> > Hi all,
> >
> > Building Nikolay's script fails on my NixOS with:
> > error: attribute ‘quake3wrapper’ missing, at
> /home/mate/q3/default.nix:11:4
> >
> > Is quake3wrapper not available yet?
> > (I have the nixos-unstable-small channel added.)
> >
> > Thanks,
> > Mate
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] few questions before migrating from Debian…

2016-04-09 Thread Jakob Gillich
GNOME 3 works pretty well, but like many other things on NixOS it has a
few quirks. For example, it does not auto-detect new apps until you
restart GNOME shell. I wouldn't recommend NixOS to non-developers, our
stable releases are still a lot less stable than Debian testing.

On Sat, Apr 9, 2016, at 09:07 PM, Saša Janiška wrote:
> Hello,
> 
> for some time I’m considering which Linux distro to use to have
> relatively fresh packages as well as not to waste too much time for
> admin work.
> 
> Morever, it would be ideal to have same distro for the machine of my
> relative’s to make it easier during trouble.shooting session. So, in
> order to fulfill those two requirements I did consider to stay with
> Debian (Sid) on my desktop and netbook machines, but put Debian Stable
> on the machines of my relatives.
> 
> However, after checking about NixOS which I tried many years ago, I’ve
> concluded it’s the best option at the moment since I learnt that
> nixos-stable might be good-enough for other’s machine requiring not much
> admin time, while I can use nixos-unstable if stable channel is not
> fresh–enough for my own needs.
> 
> So, before jumping to install on real hardware - today I did install
> under vbox, I’ve few questions…
> 
> My desktop is i7 2.8G/16G machine having 1xTB+1x2TB disks which are
> assembled in btrfs raid1 with / and /home as btrfs subvolumes (the
> remaining 1TB is used for daily backups.)
> 
> I’m delighted that NixOS provides ZFS as filesytem option since it was
> one of the reasons why I was evaluating Free/PC-BSD option in the past.
> 
> a) do you, in general, recommend using ZFS over Btrfs for NixOS desktop
> machine?
> 
> b) is ZFS good option even for single-disk netbook machine with 4G of
> memory?
> 
> c) can one use ZFS on root *without* usage of separate /boot partition?
> I use same disk layout on Debian, but with btrfs and do not have any
> experience with ZoL, although I’ve found that there is
> ’boot.loader.grub.zfsSupport’ option?
> 
> Any doc/tutorial explaining how to do such install?
> 
> I’ve found: https://gist.github.com/vizanto/7374277 but wonder if it is
> still relevant?
> 
> There are of course few packages I do miss in NixOS, but everything else
> is so great, so that I’m very enthusiastic to put NixOS on all my
> relative’s  machines very soon.
> 
> On all machines, I plan to use GNOME3, so wonder if there are some
> gotchas in regard - someone on #nixoes mentioned that GTK does not like
> custom paths as used by Nix and recommended i3 instead which is, atm,
> not option considering that other family members also use my machine and
> relatives are not savvy-enough for that tiling wm.
> 
> 
> Sincerely,
> Gour
> 
> -- 
> Therefore, without being attached to the fruits of activities,
> one should act as a matter of duty, for by working without
> attachment one attains the Supreme.
> 
> ___
> 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] few questions before migrating from Debian…

2016-04-09 Thread Saša Janiška
Hello,

for some time I’m considering which Linux distro to use to have
relatively fresh packages as well as not to waste too much time for
admin work.

Morever, it would be ideal to have same distro for the machine of my
relative’s to make it easier during trouble.shooting session. So, in
order to fulfill those two requirements I did consider to stay with
Debian (Sid) on my desktop and netbook machines, but put Debian Stable
on the machines of my relatives.

However, after checking about NixOS which I tried many years ago, I’ve
concluded it’s the best option at the moment since I learnt that
nixos-stable might be good-enough for other’s machine requiring not much
admin time, while I can use nixos-unstable if stable channel is not
fresh–enough for my own needs.

So, before jumping to install on real hardware - today I did install
under vbox, I’ve few questions…

My desktop is i7 2.8G/16G machine having 1xTB+1x2TB disks which are
assembled in btrfs raid1 with / and /home as btrfs subvolumes (the
remaining 1TB is used for daily backups.)

I’m delighted that NixOS provides ZFS as filesytem option since it was
one of the reasons why I was evaluating Free/PC-BSD option in the past.

a) do you, in general, recommend using ZFS over Btrfs for NixOS desktop
machine?

b) is ZFS good option even for single-disk netbook machine with 4G of
memory?

c) can one use ZFS on root *without* usage of separate /boot partition?
I use same disk layout on Debian, but with btrfs and do not have any
experience with ZoL, although I’ve found that there is
’boot.loader.grub.zfsSupport’ option?

Any doc/tutorial explaining how to do such install?

I’ve found: https://gist.github.com/vizanto/7374277 but wonder if it is
still relevant?

There are of course few packages I do miss in NixOS, but everything else
is so great, so that I’m very enthusiastic to put NixOS on all my
relative’s  machines very soon.

On all machines, I plan to use GNOME3, so wonder if there are some
gotchas in regard - someone on #nixoes mentioned that GTK does not like
custom paths as used by Nix and recommended i3 instead which is, atm,
not option considering that other family members also use my machine and
relatives are not savvy-enough for that tiling wm.


Sincerely,
Gour

-- 
Therefore, without being attached to the fruits of activities,
one should act as a matter of duty, for by working without
attachment one attains the Supreme.

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


Re: [Nix-dev] User-oriented nixpkgs documentation (was: ioquake3 on nixos)

2016-04-09 Thread Anderson Torres
I prefer to start a documentation project, like the FreeBSD
Handbook[1]. It could contain some in-project documentation for every
module too.


[1] https://www.freebsd.org/doc/handbook/

2016-04-09 12:48 GMT-03:00 zimbatm :
> Good question. The wiki seems like the right place to me but it's read-only
> now.
>
> On Fri, 8 Apr 2016 at 11:36 Nikolay Amiantov  wrote:
>>
>> Hi,
>>
>> I want to add some documentation on how to use our ioquake3 derivation.
>> This brings me to question on _where_ should I actually add it. Right
>> now we have:
>>
>> 1. Nix manual: completely unrelated to my topic;
>> 2. NixOS manual: primarily describes services and not packages and is
>> NixOS-oriented, while my article can be of interest to Quake-playing Nix
>> users in general;
>> 3. nixpkgs manual: oriented at developers and packagers (as it itself
>> points out).
>>
>> I would have added my article to the wiki, but AFAIK it's generally
>> decided to get rid of it. So, where should I place articles like this? I
>> would describe the general class of such documentation as "user-oriented
>> nixpkgs manual".
>>
>> I have some other documentation articles in mind that I would like to
>> write later (e.g. on steam-run), which go to the same category (I don't
>> mean "games" ^_^).
>>
>> On 04/08/2016 12:28 PM, Nikolay Amiantov wrote:
>> > I play ioquake3 successfully. It needs the following to work:
>> >
>> > 1. Extract pak0.pk3 file from the original Quake 3 Arena.
>> > 2. Use Nix script like this:
>> >
>> > { nixpkgs ? import  { } }:
>> >
>> > let
>> >   paks = nixpkgs.stdenv.mkDerivation {
>> > name = "quake3-arena";
>> > pak0 = ./baseq3/pak0.pk3; # Replace this with path to your file
>> > buildCommand = ''
>> >   install -D -m644 $pak0 $out/baseq3/pak0.pk3;
>> > '';
>> >   };
>> > in nixpkgs.quake3wrapper {
>> >   paks = [ paks nixpkgs.quake3pointrelease ];
>> > }
>> >
>> > 3. Run `nix-build` on it: `nix-build script.nix`
>> > 4. `result/bin/quake3` would run the game.
>> >
>> > This probably needs to be added to our manual and/or improved somehow.
>>
>> --
>> Nikolay.
>> ___
>> 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] User-oriented nixpkgs documentation (was: ioquake3 on nixos)

2016-04-09 Thread zimbatm
Good question. The wiki seems like the right place to me but it's read-only
now.

On Fri, 8 Apr 2016 at 11:36 Nikolay Amiantov  wrote:

> Hi,
>
> I want to add some documentation on how to use our ioquake3 derivation.
> This brings me to question on _where_ should I actually add it. Right
> now we have:
>
> 1. Nix manual: completely unrelated to my topic;
> 2. NixOS manual: primarily describes services and not packages and is
> NixOS-oriented, while my article can be of interest to Quake-playing Nix
> users in general;
> 3. nixpkgs manual: oriented at developers and packagers (as it itself
> points out).
>
> I would have added my article to the wiki, but AFAIK it's generally
> decided to get rid of it. So, where should I place articles like this? I
> would describe the general class of such documentation as "user-oriented
> nixpkgs manual".
>
> I have some other documentation articles in mind that I would like to
> write later (e.g. on steam-run), which go to the same category (I don't
> mean "games" ^_^).
>
> On 04/08/2016 12:28 PM, Nikolay Amiantov wrote:
> > I play ioquake3 successfully. It needs the following to work:
> >
> > 1. Extract pak0.pk3 file from the original Quake 3 Arena.
> > 2. Use Nix script like this:
> >
> > { nixpkgs ? import  { } }:
> >
> > let
> >   paks = nixpkgs.stdenv.mkDerivation {
> > name = "quake3-arena";
> > pak0 = ./baseq3/pak0.pk3; # Replace this with path to your file
> > buildCommand = ''
> >   install -D -m644 $pak0 $out/baseq3/pak0.pk3;
> > '';
> >   };
> > in nixpkgs.quake3wrapper {
> >   paks = [ paks nixpkgs.quake3pointrelease ];
> > }
> >
> > 3. Run `nix-build` on it: `nix-build script.nix`
> > 4. `result/bin/quake3` would run the game.
> >
> > This probably needs to be added to our manual and/or improved somehow.
>
> --
> Nikolay.
> ___
> 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] ioquake3 on nixos

2016-04-09 Thread Nikolay Amiantov
quake3wrapper was added somewhere in December, so you should have it if
you use NixOS unstable. Can you run this:

> nix-instantiate --eval '' -A lib.nixpkgsVersion

to make sure that  resolves to something recent enough? Also run:

> nix-channel --list
> sudo nix-channel --list

-- 
Nikolay.

On 04/09/2016 10:48 AM, Máté Kovács wrote:
> Hi all,
> 
> Building Nikolay's script fails on my NixOS with:
> error: attribute ‘quake3wrapper’ missing, at /home/mate/q3/default.nix:11:4
> 
> Is quake3wrapper not available yet?
> (I have the nixos-unstable-small channel added.)
> 
> Thanks,
> Mate
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] ioquake3 on nixos

2016-04-09 Thread Máté Kovács
Hi all,

Building Nikolay's script fails on my NixOS with:
error: attribute ‘quake3wrapper’ missing, at /home/mate/q3/default.nix:11:4

Is quake3wrapper not available yet?
(I have the nixos-unstable-small channel added.)

Thanks,
Mate

On Fri, Apr 8, 2016 at 2:29 AM Nikolay Amiantov  wrote:

> I play ioquake3 successfully. It needs the following to work:
>
> 1. Extract pak0.pk3 file from the original Quake 3 Arena.
> 2. Use Nix script like this:
>
> { nixpkgs ? import  { } }:
>
> let
>   paks = nixpkgs.stdenv.mkDerivation {
> name = "quake3-arena";
> pak0 = ./baseq3/pak0.pk3; # Replace this with path to your file
> buildCommand = ''
>   install -D -m644 $pak0 $out/baseq3/pak0.pk3;
> '';
>   };
> in nixpkgs.quake3wrapper {
>   paks = [ paks nixpkgs.quake3pointrelease ];
> }
>
> 3. Run `nix-build` on it: `nix-build script.nix`
> 4. `result/bin/quake3` would run the game.
>
> This probably needs to be added to our manual and/or improved somehow.
>
> For the development, however, you can just run `nix-shell` as advised by
> Emery -- it would get you all the game dependencies, so you can use
> conventional tools (make/cmake/gcc/whatever ioquake3 wants) inside the
> shell.
>
> On 04/08/2016 11:17 AM, Emery wrote:
> > If you could get ioquake working well, I and I'm sure a few others
> > would be grateful.
> >
> > If ioquake is an engine, I would recommend keeping the engine in one
> > package. If you can find game data that can be downloaded easily, that
> > can be a second package that depends on ioquake, so you could install a
> > wrapper script that combines the nix path of the engine with the nix
> > path of the game data. Just make sure you attach the proper license to
> > the data.
> >
> > As for developing, you can clone the ioquake sources and get a shell
> > that contains the dependencies from the package with:
> >   nix-shell ' >
> > If you want to use a locally modified ioquake package, use:
> >   nix-shell /path/to/local/nixpkgs -A ioquake
> >
> >
> > Good luck,
> > Emery
> >
> >
> > On Fri, Apr 08, 2016 at 05:27:04AM +, Máté Kovács wrote:
> >> Hi Nixers,
> >>
> >> I'd like to play (and develop) ioquake3 on NixOS.
> >>
> >> I see that it should be available in nixpkgs, based on
> >>
> https://github.com/NixOS/nixpkgs/commit/7fc7502db516a54d8104656401f0c2abf90cf781
> >> .
> >>
> >> I have ioquake3 installed, but I don't know where to go from here.
> >> I know that I need to copy the original game data to some location to be
> >> able to play the game.
> >> What do I need to do next?
> >>
> >> Thanks,
> >> Mate
>
> --
> Nikolay.
> ___
> 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