[Nix-dev] Launching custom xsession

2015-07-25 Thread Ruben Astudillo
like this on NixOS. On IRC somebody mentioned using systemd units but I can't find further info on the wiki. Currently I am using a pure xmonad setup by using services.xserver.windowManager.xmonad.enable = true; As said on man configuration.nix. Still would appreciate feedback. -- Ruben

[Nix-dev] Unetbootin boot through Grub2 console

2015-07-13 Thread Ruben Astudillo
which are many on the store. Ideally I would like to avoid all this if I could boot directly from a unetbootin drive but I am open to other suggestions. Thanks in advance -- Ruben Astudillo OpenPGP: 0x3C332311 Crear un haiku, en diecisiete silabas, es complica

[Nix-dev] ipython/jupyter no notebook command available

2015-09-27 Thread Ruben Astudillo
Hi all I was trying to play a little with ihaskell. So I launched a nix-shell like this nix-shell -p pypyPackages.ipython \ pypyPackages.ipython_genutils \ pypyPackages.jupyter_client \ pypyPackages.jupyter_core \ haskellPackages.ihaskell To set up the correct

[Nix-dev] cabal2nix, nix-shell and persistence trick

2016-06-16 Thread Ruben Astudillo
nce on this?. How do you set-up persistent environment with cabal2nix? [1]: https://nixos.org/wiki/Development_Environments#Making_a_Persistent_nix-shell_Environment -- -- Ruben Astudillo ___ nix-dev mailing list nix-dev@lists.science.uu.nl h

[Nix-dev] Contributing to nixpkgs and maintainers burden

2016-04-09 Thread Ruben Astudillo
r 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

[Nix-dev] bare XMonads environment and KDE5 programs

2016-05-02 Thread Ruben Astudillo
enview by clicking. Is there something obvious missing from my setup? -- -- Ruben Astudillo ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Intermittent Blank Screen upon Opening Laptop Lid

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

[Nix-dev] texlive.scheme-full and texdoc

2016-09-09 Thread Ruben Astudillo
Hi all Asking on freenode #latex somebody told me that texdoc geometry ought to show the official documentation for the geometry package. On nixos with the scheme-full package that is not the case. What can I do to have official documentation locally? -- Ruben Astudillo

[Nix-dev] nix-shell and persistent environment

2016-09-30 Thread Ruben Astudillo
hi nix-shell is great, but when I update the nixpkgs or nix-collect-garbage I lose the cache of those packages. I've thinking on do a special profile that I could switch to per shell instance with nix-{shell,env}, but I also found references to a deprecated buildEnv function for this. What is

Re: [Nix-dev] Remove Python 2.6 and 3.3

2016-09-26 Thread Ruben Astudillo
On 26/09/16 08:43, Kevin Cox wrote: > On 26/09/16 12:29, Matthias Beyer wrote: >> I have 702 paths in /nix/store which contain the string "python2" >> >> Can you tell me how to check properly whether I need python2 >> support/packages? I'm not so familiar with the python infrastructure. > I

Re: [Nix-dev] nix-shell and persistent environment

2016-10-01 Thread Ruben Astudillo
On 01/10/16 04:03, Daniel Hlynskyi wrote: > To complete previous answer. > > I create a separate directory .nix-gc-roots, because nix-shell produces > many roots. You do this for keep things in order or because it buys you functionality? > Also, I haven't found yet a way to get nix root for

Re: [Nix-dev] DBus and XMonad

2016-11-08 Thread Ruben Astudillo
On 08/11/16 16:40, Profpatsch wrote: > I stopped using taffybar for that reason, and actually quite like my > fullscreen-by-default system as it is now. How do you know if you have a hogging process then?. Do you have a open htop? (I am tempted about having a xmonad fullscreen-by-default). --

Re: [Nix-dev] Install texlive on 16.09

2016-11-05 Thread Ruben Astudillo
On 05/11/16 12:20, laverne wrote: > How do I install LaTeX on NixOS 16.09? The other replies answered that, I want to address how to deal with "subhierarchies" in nixpkgs. You could clone the nixpkgs repo and search from there, but it is easy to get lost. The alternative I like is getting

Re: [Nix-dev] DBus and XMonad

2016-10-19 Thread Ruben Astudillo
On 19/10/16 08:19, Michael Alan Dorman wrote: > Rodney Lorrimar writes: >> >> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-jp8hFEY1dV,guid=c6e01dc144bda2ae4ca47c84580747a5;unix:abstract=/tmp/dbus-BjlHWWC2xz,guid=3733c1a431ad4cb309cc622a580747a5 >> >> I'm not quite sure

Re: [Nix-dev] buildFHSUserEnv and matlab impure install

2016-10-20 Thread Ruben Astudillo
On 20/10/16 09:31, Roger Qiu wrote: > That error looks like it has to do with setuid, is matlab meant to be > launched with root privileges? At least the install script does. I haven't really checkout why (probably because it populated /opt, but I intended to change that). -- Ruben

[Nix-dev] buildFHSUserEnv and matlab impure install

2016-10-20 Thread Ruben Astudillo
Hello Nix'ers I recently got a copy of (unix) matlab. The usual method of install includes running as root a install script, this will launch a popup dialog which you can "next next" until the installation is finished. Matlab assumes in various part a FHS structure, so I've meant to not bother

Re: [Nix-dev] truly persistent nix-shell

2016-11-20 Thread Ruben Astudillo
On 20/11/16 10:41, Andreas Herrmann wrote: > It is possible to avoid this issue by creating a gc-root for every package that the nix-shell pulls in: > > $ nix-store -r $(nix-store --query --references $PWD/shell.drv) \ > --indirect --add-root $PWD/shell.dep > > Best, Andreas > > > [1]:

Re: [Nix-dev] truly persistent nix-shell

2016-11-20 Thread Ruben Astudillo
On 20/11/16 16:30, Andreas Herrmann wrote: > Is there any reason why it is not mentioned in the man-page, yet? Probably because is a combination of two independent tricks that don't only concern nix-shell. For protection against updates in the nix-channel, you have to craft a

[Nix-dev] nix.buildCores and determinism

2016-10-10 Thread Ruben Astudillo
On reading `nixos-option nix.buildCores`, it says that this option can affect the determinism of the build. I don't understand how is important as the hash of the package depends on the default.nix file, not the build process. What does it mean to be non-deterministic in this case? -- Ruben

Re: [Nix-dev] How do I know I can enableParallelBuilding?

2016-10-16 Thread Ruben Astudillo
On 15/10/16 18:21, Vladimír Čunát wrote: > For example, I personally think we could have `build-cores = 0` by > default, as we only leave enableParallelBuilding = true for packages > that don't fail because of it. btw, do you have that option set up? If so, what is your general experience with

[Nix-dev] X11 rtkit.service and failing nixos-rebuild

2016-11-29 Thread Ruben Astudillo
Hi all On nixos-16.09, in two different machines, the nixos-rebuild test command fails with the following error cannot open `/nix/store/cjj8nc08bc799w4c6a4lw7r2z25q2jya-xorg-server-1.18.3/share/X11/xkb/compiled/systemd-private-0bc0e7c988b74d5ba0c9927a95747999-rtkit-daemon.service-iJMQaO':

Re: [Nix-dev] nvidia proprietary / i7 notebook - does not start

2017-05-09 Thread Ruben Astudillo
On 09/05/17 20:29, Marc Weber wrote: > Desktop: Everything is fine, the way it should > > Laptop: > lspci: 03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] > (rev a2) > => Ubuntu -> fine > => Nixos -> black -> then blinking cursor, no (EE) lines in X log I know own a