[Nix-commits] [NixOS/nixpkgs] bb3c8a: lib: Include darwin in isUnix

2017-07-03 Thread David McFarland
Branch: refs/heads/staging Home: https://github.com/NixOS/nixpkgs Commit: bb3c8a164c037a5c5697bb411c5b965c7e01d1a7 https://github.com/NixOS/nixpkgs/commit/bb3c8a164c037a5c5697bb411c5b965c7e01d1a7 Author: David McFarland <corng...@gmail.com> Date: 2017-07-03 (Mon, 03 Ju

Re: [Nix-dev] 5 somewhat related questions

2017-06-22 Thread David Izquierdo
I'll try to answer what I think I know... On 22/06/17 20:40, Klaas van Schelven wrote: Hello Nixians, I've installed NixOs a number of days ago. So far I really like it! I've read the documentation I could find, but I'm left with a number of questions; not so much "how to do X" but rather of

Re: [Nix-dev] Trying to install the SailfishOS SDK

2017-06-19 Thread David Costa
On Sun, 18 Jun 2017 12:11:59 +0200 David Izquierdo <theco...@gmail.com> wrote: > I'll ask a more general question: Is there any other piece of > softrware in nixpkgs that's based on a QtInstallerFramework? Is the installer only a way to avoid packaging the SDK for one thousand distr

Re: [Nix-dev] Trying to install the SailfishOS SDK

2017-06-18 Thread David Izquierdo
), I'd prefer to properly package it. I suspect the secret sauce will be, unsurprisingly, in the AUR. I'll have a go in the following weeks at replicating the PKGBUILD in nix and see how it works out. https://aur.archlinux.org/packages/sailfishos-sdk-bin/ On 17/06/17 22:26, David wrote: On Thu

Re: [Nix-dev] Trying to install the SailfishOS SDK

2017-06-17 Thread David
On Thu, 19 Jan 2017 21:13:55 +0100 Christoph-Simon Senjak wrote: > I am trying to write a package for the SailfishOS SDK. I am sorry for the necrobump but... is there any news on this? ___ nix-dev mailing list

[Nix-commits] [NixOS/nixpkgs] f03ee2: gfortran7: added by wrapping gcc7 (#26535)

2017-06-13 Thread David Guibert
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: f03ee2475406a24c3162f8d137aae8f6f5440cda https://github.com/NixOS/nixpkgs/commit/f03ee2475406a24c3162f8d137aae8f6f5440cda Author: David Guibert <david.guib...@gmail.com> Date: 2017-06-13 (Tue, 13 Ju

[Nix-commits] [NixOS/nixpkgs] bb6cf3: bind service: add listen-on options (#26430)

2017-06-10 Thread David Tulig
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: bb6cf349ffd5c15e364d551bcabec20c9e675bdc https://github.com/NixOS/nixpkgs/commit/bb6cf349ffd5c15e364d551bcabec20c9e675bdc Author: David Tulig <david.tu...@gmail.com> Date: 2017-06-10 (Sat, 10 Ju

[Nix-commits] [NixOS/nixpkgs] f7c081: apvlv: copy main_menubar.glade to out dir

2017-06-04 Thread David Asabina
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: f7c081b7e6edd0e77694ee2b3f3ef57a82e82696 https://github.com/NixOS/nixpkgs/commit/f7c081b7e6edd0e77694ee2b3f3ef57a82e82696 Author: David Asabina <v...@bina.me> Date: 2017-06-04 (Sun, 04 Ju

Re: [Nix-dev] PulseAudio

2017-05-09 Thread David Izquierdo
: David, On Tue, May 9, 2017 at 2:59 PM, David Izquierdo <theco...@gmail.com> wrote: If you run `pulseaudio -k`, does it kill it? ​No:​ $ pulseaudio -k E: [pulseaudio] main.c: Failed to kill daemon: No such process ​But the daemon is running as me: $ ps aux | grep pulseaudio ​user

Re: [Nix-dev] PulseAudio

2017-05-09 Thread David Izquierdo
If you run `pulseaudio -k`, does it kill it? Once dead, what does it log if you run `pulseaudio` and then try to use pavucontrol or other program? On 09/05/17 20:58, Mark Gardner wrote: On Tue, May 9, 2017 at 2:32 PM, Sergiu Ivanov wrote: I suppose you tried rebooting

[Nix-commits] [NixOS/nixpkgs] 7deb42: nixos: use pkgsi686Linux for pkgs_i686 (#24772)

2017-04-26 Thread David McFarland
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 7deb425286c74837946917888ed74a23de1f9f68 https://github.com/NixOS/nixpkgs/commit/7deb425286c74837946917888ed74a23de1f9f68 Author: David McFarland <mcfarl...@hotmail.com> Date: 2017-04-26 (Wed, 26 Ap

Re: [Nix-dev] Can't install NixOS on an NVME drive

2017-04-19 Thread David Izquierdo
If that was indeed the problem, the way to "keep" windows working is to reinstall it in AHCI mode. Its recovery tools may or may not be able to fix that too. On 19/04/17 09:55, Julien Tanguy wrote: Hello Liam, For NixOS to work, you have to change the SSD controller from RAID ON to AHCI.

Re: [Nix-dev] Managing /home during system activation

2017-04-16 Thread David Izquierdo
That's stupid genius in my eyes. What I'd been doing is to find a way to make software look in /etc/xdg before ~/.config, with... varying degrees of success. Is there anywhere we could read your implementation? On 15/04/17 19:36, Peter Jones wrote: I'd like to manage files in my home

[Nix-commits] [NixOS/nixpkgs] 12a394: mesa: patch vulkan manifests when any driver is en...

2017-04-09 Thread David McFarland
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 12a39478fd79ee514a76e593f40345f319d9f5a1 https://github.com/NixOS/nixpkgs/commit/12a39478fd79ee514a76e593f40345f319d9f5a1 Author: David McFarland <corng...@gmail.com> Date: 2017-04-09 (Sun,

[Nix-commits] [NixOS/nixpkgs] f2655d: mesa: patch vulkan manifests when any driver is en...

2017-04-09 Thread David McFarland
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: f2655dd0c7cf1b33700446f57cc5651bd29c1831 https://github.com/NixOS/nixpkgs/commit/f2655dd0c7cf1b33700446f57cc5651bd29c1831 Author: David McFarland <corng...@gmail.com> Date: 2017-04-10 (Mon, 10 Ap

Re: [Nix-dev] Editor for the configuration file

2017-04-04 Thread David Izquierdo
My WiFi module lives within networking.wireless. I don't have any reference to either wpa_supplicant or networkmanager. On 04/04/17 20:22, Andreas Meyer wrote: Hello! ah it is nano. I was trying vi and vim and emacs. One more question for now. To bring up WLAN do I have to enable

[Nix-commits] [NixOS/nixpkgs] f0ba17: zerotierone: 1.1.14 -> 1.2.2 (#24614)

2017-04-04 Thread David Guibert
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: f0ba178a3c13d851270db44a1ac741bcd7fab14e https://github.com/NixOS/nixpkgs/commit/f0ba178a3c13d851270db44a1ac741bcd7fab14e Author: David Guibert <david.guib...@gmail.com> Date: 2017-04-04 (Tue, 04 Ap

[Nix-commits] [NixOS/nixpkgs] 11e196: Revert "steam: use custom openssl"

2017-04-03 Thread David McFarland
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 11e196d28867d52edff59ea51f9ef1b6396acdc6 https://github.com/NixOS/nixpkgs/commit/11e196d28867d52edff59ea51f9ef1b6396acdc6 Author: David McFarland <corng...@gmail.com> Date: 2017-04-03 (Mon,

[Nix-commits] [NixOS/nixpkgs] 398823: Revert "steam: use custom openssl"

2017-04-03 Thread David McFarland
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 398823da6e8a98d92086606988a78fda7bbeca5b https://github.com/NixOS/nixpkgs/commit/398823da6e8a98d92086606988a78fda7bbeca5b Author: David McFarland <corng...@gmail.com> Date: 2017-04-03 (Mon, 03 Ap

Re: [Nix-dev] how to 'just run binaries' in nixos

2017-03-23 Thread David Izquierdo
I hereby propose the tool to be renamed and refactocopied to `ubuntu-run`, since it will end up being the target runtime anyway :P On 23/03/17 18:10, Moritz Ulrich wrote: Azul writes: thanks all, *steam-run* just works Maybe we should create an alias or a separate

Re: [Nix-dev] Google Summer of Code 2017

2017-03-15 Thread David Izquierdo
Oh dear, I had been thinking about 1 and 2 lately... On systemd, I don't think that it's worth it to even try to port dependent software. Nix is smart enough to warn about/fix dependencies. And "porting" the actual unit files sounds easy IMO, systemd has good documentation on unit files that

Re: [Nix-dev] Move NodeJS to separate overlay repository?

2017-03-11 Thread David Izquierdo
Couldn't this become a kind of dependency hell? I remember from Gentoo that having dependencies across overlays is not a fun problem to solve. However, Exherbo mostly solved this by having overlays be analogous to packages, they become a kind of dependency that must be explicitly user-solved

Re: [Nix-dev] 'nixos-stable' channel?

2017-03-08 Thread David Izquierdo
I think It could be worthwhile to look at openSUSE's Tumbleweed setup for rolling releases. They use openQA for automatic testing of every package in the distribution, and then release the binaries as snapshots for users to update. Pretty similar to how nixpkgs git -> Hydra -> cache works,

Re: [Nix-dev] 'nixos-stable' channel?

2017-03-05 Thread David Izquierdo
I think it would be handy though. After all, this is NixOS we're talking about. We already have system.stateVersion for protecting stateful data, and fixing the rest of the system is only a rollback away. Why not make the alias/symlink without making it the default? On 05/03/17 19:37, Nathan

Re: [Nix-dev] NixOS 16.09 and Firefox Nightly

2017-03-05 Thread David Izquierdo
AFAIK those restrictions were recently dropped, Debian's firefox is now branded Firefox instead of Iceweasel. It probably should be changed in nixpkgs too to prevent further confusion. On 05/03/17 16:16, Graham Christensen wrote: Hi Mark, As I understand it, what we ship in 16.09 is indeed

Re: [Nix-dev] Can't launch XFCE from SDDM?

2017-03-05 Thread David Izquierdo
SDDM is problematic to me with i3 too. Right now, if I try to login to i3 via SDDM I'm returned to SDDM (I don't have plasma enabled). Logs didn't look like anything was wrong to me. On 05/03/17 04:38, laverne wrote: Hi, I have the following lines in my /etc/nixos/configuration.nix

Re: [Nix-dev] Copy a closure to machine with no Nix installed on it

2017-03-02 Thread David Kleuker
Hello Volth, some days ago https://github.com/matthewbauer/nix-bundle was mentioned on the ML. I havn't tested it, so i can't say how mature and stable it is, but it should be exactly what you are looking for. When you have tested it, i would like to know if it works for you. kind regards

Re: [Nix-dev] Best Practices on Modularizing Configuration.nix?

2017-02-27 Thread David Izquierdo
My setup is also very similar. I have a configuration.nix with all the common setup, which imports hosts/current.nix, which is a (.gitignored) symlink to the appropiate host.nix. Then, the host.nix imports from modules/*.nix. I also have an etc with generic (not written in Nix) configuration

[Nix-commits] [NixOS/nixpkgs] 85fba5: Attempt to update RocksDB to 5.1.2.

2017-02-20 Thread David James
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 85fba54bc65ffcf93a2dbed2ececd97af1593ae9 https://github.com/NixOS/nixpkgs/commit/85fba54bc65ffcf93a2dbed2ececd97af1593ae9 Author: David James <davidcjames+...@gmail.com> Date: 2017-02-20 (Mon, 20 Fe

[Nix-commits] [NixOS/nixpkgs] 90d225: microsoft_gsl: init at 2017-02-13

2017-02-16 Thread David Terry
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 90d225db766baa997a2ded830de968d27432b9d8 https://github.com/NixOS/nixpkgs/commit/90d225db766baa997a2ded830de968d27432b9d8 Author: David Terry <davidte...@posteo.de> Date: 2017-02-17 (Fri, 17 Fe

[Nix-commits] [NixOS/nixpkgs] a35230: range-v3: init at 2017-01-30 (#22661)

2017-02-11 Thread David Terry
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: a3523022e704cfeda7c5c38166ff00343ed739ef https://github.com/NixOS/nixpkgs/commit/a3523022e704cfeda7c5c38166ff00343ed739ef Author: David Terry <xwvvv...@users.noreply.github.com> Date: 2017-02-11 (S

Re: [Nix-dev] How to ensure that a directory exists via configuration.nix

2017-02-10 Thread David Izquierdo
Is there any reason not to use `mkdir -p`, to spare yourself the if? On 10/02/17 17:06, Mark Gardner wrote: Once again, thanks Layus! For the benefit of others, here is what I put in my configuration.nix: system.activationScripts = { mnt = { text = ''if [ ! -d /mnt ] ;

Re: [Nix-dev] help with patch for screen locking

2017-02-07 Thread david
On 2017-02-07 19:50, Tomasz Czyż wrote: David, I assume you are not talking about https://github.com/NixOS/nixpkgs/issues/16485 [2]? In fact I'm talking about https://github.com/NixOS/nixpkgs/issues/16845 :-) my mistake Usually I'm using this kind of stuff as part of user session/desktop

Re: [Nix-dev] PCI Expresscard not working under NixOS

2017-02-07 Thread David Izquierdo
And while you're at it, you should probably check `lspci -k` on the working system to see what kernel module it uses, in case it's missing from NixOS. On 07/02/17 12:26, Tomasz Czyż wrote: What about doing quick check and running ubuntu from livecd/usb to confirm if card still is alive?

[Nix-dev] help with patch for screen locking

2017-02-06 Thread david
Hi! I am making a patch to fix issue #16485 but I have encountered an issue. I added an option called screenLock to services.xserver.desktopManager.xfce that can take only "xscreensaver" "xlockmore" "slock" "gnome-screensaver" as values but: - gnome-screensaver seems to not exist anymore, at

[Nix-commits] [NixOS/nixpkgs] 927617: sfml: 2.3 -> 2.4.1

2017-01-27 Thread David Terry
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 9276178e68d1f5b323a3236f457eafb94272a0fc https://github.com/NixOS/nixpkgs/commit/9276178e68d1f5b323a3236f457eafb94272a0fc Author: David Terry <davidte...@posteo.de> Date: 2017-01-27 (Fri, 27 Ja

[Nix-commits] [NixOS/nixpkgs] b2da3d: amdgpu-pro: 16.40 -> 16.50 (#21502)

2017-01-10 Thread David McFarland
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: b2da3d3050be079b57f9f5677c772efcf82b61f2 https://github.com/NixOS/nixpkgs/commit/b2da3d3050be079b57f9f5677c772efcf82b61f2 Author: David McFarland <mcfarl...@hotmail.com> Date: 2017-01-10 (Tue, 10 Ja

[Nix-commits] [NixOS/nixpkgs] 341447: urlscan: init at 0.8.3

2016-12-28 Thread David Pätzel
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 3414470d9d3ec273bfe255abef6c92febff308b3 https://github.com/NixOS/nixpkgs/commit/3414470d9d3ec273bfe255abef6c92febff308b3 Author: David Pätzel <david.a.paetzel+git...@gmail.com> Date: 2016-12-28 (W

[Nix-commits] [NixOS/nixpkgs] 35399f: vscode: 1.6.1 -> 1.7.2

2016-12-15 Thread David Terry
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 35399f93d6d379a01225fd3860582e915b0de45a https://github.com/NixOS/nixpkgs/commit/35399f93d6d379a01225fd3860582e915b0de45a Author: David Terry <xwvvv...@users.noreply.github.com> Date: 2016-12-15 (T

[Nix-commits] [NixOS/nixpkgs] f067bc: nixos: docs: note that channels are per user

2016-12-07 Thread David Terry
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: f067bca841e788cc744b285840b53d0610d57ddf https://github.com/NixOS/nixpkgs/commit/f067bca841e788cc744b285840b53d0610d57ddf Author: David Terry <xwvvv...@users.noreply.github.com> Date: 2016-12-07 (W

[Nix-commits] [NixOS/nixpkgs] ce8d2a: restore rclone

2016-10-02 Thread David Guibert
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: ce8d2aad27722480ace6ef9d6ffb9a6aae4a8a97 https://github.com/NixOS/nixpkgs/commit/ce8d2aad27722480ace6ef9d6ffb9a6aae4a8a97 Author: David Guibert <david.guib...@gmail.com> Date: 2016-10-02 (Sun, 02 Oc

Re: [Nix-dev] Unwanted, unannounced reboot

2016-08-30 Thread Jeffrey David Johnson
I have a probably-unrelated issue, but mentioning it just in case. Mine involves VirtualBox. When starting up I will log in and open my email or something, but in the background the vboxnet0 service will be failing to start via systemd. When it times out after 90 sec the X server is killed

[Nix-commits] [NixOS/nixpkgs] 21f2f3: virtualbox: 5.0.20 -> 5.0.26

2016-08-28 Thread David Guibert
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 21f2f3074063017a6580fc1c5889ee54094160ff https://github.com/NixOS/nixpkgs/commit/21f2f3074063017a6580fc1c5889ee54094160ff Author: David Guibert <david.guib...@gmail.com> Date: 2016-08-28 (Sun, 28 Au

[Nix-commits] [NixOS/nixpkgs] 1c1a03: hdf5: 1.8.16 -> 1.10.0-patch1

2016-08-28 Thread David Guibert
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 1c1a03f0d38606fd4a80e61a19ddfd3c463d99df https://github.com/NixOS/nixpkgs/commit/1c1a03f0d38606fd4a80e61a19ddfd3c463d99df Author: David Guibert <david.guib...@gmail.com> Date: 2016-08-28 (Sun, 28 Au

[Nix-commits] [NixOS/nixpkgs] ed4a06: NixOS manual: Add docs for Virtualbox guest (#1745...

2016-08-06 Thread David Reaver
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: ed4a061c34382f487b4da11fd4b8130ed215931a https://github.com/NixOS/nixpkgs/commit/ed4a061c34382f487b4da11fd4b8130ed215931a Author: David Reaver <johndrea...@gmail.com> Date: 2016-08-07 (Sun, 07 Au

[Nix-commits] [NixOS/nixpkgs] af2d60: wpsoffice: 10.1.0.5503 -> 10.1.0.5672 (#16630)

2016-06-30 Thread David Guibert
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: af2d6022577beb8290909b705254d05ea3ab07e5 https://github.com/NixOS/nixpkgs/commit/af2d6022577beb8290909b705254d05ea3ab07e5 Author: David Guibert <david.guib...@gmail.com> Date: 2016-06-30 (Thu, 30 Ju

Re: [Nix-dev] Raspberry-Pi NixOS

2016-06-15 Thread Jeffrey David Johnson
I tried a few months ago and wasn't able to get it working. It runs, but I wasn't able to upgrade Nix. May have been a temporary problem fixed in recent versions though. Jeff On Wed, 15 Jun 2016 15:19:19 +0200 Matthias Beyer wrote: > On 15-06-2016 14:52:22, Lluís Batlle i

Re: [Nix-dev] Latex package to handle unicode characters?

2016-06-06 Thread Jeffrey David Johnson
, Jeffrey David Johnson wrote: > > I get the following error when exporting some markdown to PDF with pandoc: > > > > An error occured: PDF creation failed: > > ! Package inputenc Error: Unicode char \u8:  not set up for use with > > LaTeX. > > &

[Nix-dev] python2nix requires old pip?

2016-06-06 Thread Jeffrey David Johnson
What's the current state of the py*2nix helpers? I just tried to run python2nix and got this: $ python2nix Traceback (most recent call last): File "/nix/store/mpzwan1fyraps3kmigpda76lzyj9r9qy-python2nix-20140927/bin/.python2nix-wrapped", line 8, in from python2nix import main File

[Nix-dev] Latex package to handle unicode characters?

2016-05-29 Thread Jeffrey David Johnson
I get the following error when exporting some markdown to PDF with pandoc: An error occured: PDF creation failed: ! Package inputenc Error: Unicode char \u8:  not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H for immediate help.

[Nix-commits] [NixOS/nixpkgs] 415a07: syncthing: 0.12.23 -> 0.12.25 (#15723)

2016-05-26 Thread David Tulig
Branch: refs/heads/release-16.03 Home: https://github.com/NixOS/nixpkgs Commit: 415a07e126aac89b67b933b0cffa237cb77c2161 https://github.com/NixOS/nixpkgs/commit/415a07e126aac89b67b933b0cffa237cb77c2161 Author: David Tulig <david.tu...@gmail.com> Date: 2016-05-26 (Thu,

[Nix-commits] [NixOS/nixpkgs] ddf264: syncthing: 0.12.23 -> 0.12.25 (#15723)

2016-05-26 Thread David Tulig
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: ddf264536cd418d2bdb6ceab41c7fa052ac5a809 https://github.com/NixOS/nixpkgs/commit/ddf264536cd418d2bdb6ceab41c7fa052ac5a809 Author: David Tulig <david.tu...@gmail.com> Date: 2016-05-26 (Thu, 26 Ma

[Nix-dev] cannot find -lgcc

2016-05-04 Thread David Craven
I'm getting the following error message when trying to cross compile using a custom toolchain. Am I missing a wrapCC or something like that? I checked that the libgcc.a has the correct file format. libgcc file format: /tmp/libgcc/_absvdi2.o: ELF 32-bit LSB relocatable, UCB RISC-V,

[Nix-dev] Wrap Debian packages with buildFHSUserEnv

2015-12-05 Thread Jeffrey David Johnson
I read this post by Anders J Papitto: http://anderspapitto.com/posts/2015-02-28-deb-installation-nixos.html and got excited. You can actually install Debian packages? Even complex ones like Steam? I started refactoring his example and surprisingly it wasn't hard to put in an automation-friendly

Re: [Nix-dev] error in unpack-bootstrap-tools.sh

2015-11-10 Thread Matei David
On Fri, 30 Oct 2015 08:56:29 -0700 "Ericson, John" wrote: > `unshare -urm` should do the trick if you have it. Also check if `man > 2 unshare` describes a CLONE_NEWUSR flag. `man 7 user_namespaces` is > also a good resource. Sorry for the delay. I looked into this, and

[Nix-dev] error in unpack-bootstrap-tools.sh

2015-10-28 Thread Matei David
Hi, I'm trying to install nix without root priviledges under my home dir. The host is Debian squeeze running on a cluster. I followed the wiki here: https://nixos.org/wiki/How_to_install_nix_in_home_(on_another_distribution) I tried the manual version because I want the binaries to run fast,

Re: [Nix-dev] error in unpack-bootstrap-tools.sh

2015-10-28 Thread Matei David
On Wed, 28 Oct 2015 12:35:18 -0400 Matei David <ma...@cs.toronto.edu> wrote: > Strangely, now I see one additional error, about "env" not being > understood: > > Unpacking the bootstrap tools... > Patching the bootstrap tools... > /some-dir/nix/store/...-unpac

Re: [Nix-dev] Tablet stylus stopped working

2015-09-21 Thread Jeffrey David Johnson
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 <jef...@gmail.com> wrote: > Yeah I thi

Re: [Nix-dev] Tablet stylus stopped working

2015-09-13 Thread Jeffrey David Johnson
gt; - 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 a

[Nix-dev] Tablet stylus stopped working

2015-09-13 Thread Jeffrey David Johnson
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

Re: [Nix-dev] How to debug 'error: getting status of ... no such file or directory'?

2015-09-02 Thread Jeffrey David Johnson
everything! Fixed by deleting /etc/nixos. Jeff On Tue, 1 Sep 2015 12:07:12 -0700 Jeffrey David Johnson <jef...@gmail.com> wrote: > I have what seems like a straightforward issue with paths, but am not > sure how to debug it. I run my usual "update everything" scri

[Nix-dev] How to debug 'error: getting status of ... no such file or directory'?

2015-09-01 Thread Jeffrey David Johnson
I have what seems like a straightforward issue with paths, but am not sure how to debug it. I run my usual "update everything" script, which looks like this and is located at /git/hub/nixcfg/install.sh: #!/usr/bin/env bash # Automates rebuilding nixos from my repos. # Takes the same args as

[Nix-dev] imported archive lacks a signature?

2015-08-28 Thread Jeffrey David Johnson
What does this error mean? $ nix-copy-closure --to jefdaj@server $(type -tP labwiki) copying 166 missing paths (1820.22 MiB) to ‘jefdaj@server’... exporting path ‘/nix/store/cgddwzz9hkdgprvbymphv8yprc66zxk7-ghc-7.10.1’ exporting path

Re: [Nix-dev] imported archive lacks a signature?

2015-08-28 Thread Jeffrey David Johnson
Thanks, that works! On Fri, 28 Aug 2015 10:45:06 +0200 Peter Simons sim...@cryp.to wrote: Hi Jeffrey, $ nix-copy-closure --to jefdaj@server $(type -tP labwiki) [...] error: imported archive of ‘/nix/store/cgddwzz9hkdgprvbymphv8yprc66zxk7-ghc-7.10.1’ lacks a signature to remedy

Re: [Nix-dev] Logo improvement ideas

2015-08-23 Thread Jeffrey David Johnson
I like logo-slant-half best. They're all good though! On Mon, 24 Aug 2015 03:20:20 + Luke Clifton ltclif...@gmail.com wrote: Hi Tim, Nice work, I quite like the look of the 'hex' variations. Regards, Luke On Mon, 24 Aug 2015 at 13:14 Tim Cuthbertson t...@gfxmonk.net wrote:

Re: [Nix-dev] Mark two packages incompatible, but with the same priority?

2015-08-18 Thread Jeffrey David Johnson
Nevermind, just noticed the same behavior with plain bitcoin vs bitcoind, so maybe it's OK as is? On Tue, 18 Aug 2015 11:11:40 -0700 Jeffrey David Johnson jef...@gmail.com wrote: I'm trying to add BitcoinXT support. Changes here: https://github.com/NixOS/nixpkgs/compare/master

[Nix-dev] Mark two packages incompatible, but with the same priority?

2015-08-18 Thread Jeffrey David Johnson
I'm trying to add BitcoinXT support. Changes here: https://github.com/NixOS/nixpkgs/compare/master...jefdaj:bitcoinxt-pullreq It works as long as you only install bitcoin or bitcoin-xt, but trying one after the other they collide. Is there a way to set it up so installing either one overrides

[Nix-dev] Nix-prefetch-git from branch?

2015-08-10 Thread Jeffrey David Johnson
How do I nix-prefetch-git from a branch other than master? I've tried the -m, -t, and -f flags but none of them seems to work with a commit id or branch name. I just get: error: hash ‘repourlhere’ has wrong length for hash type ‘sha256’ ___ nix-dev

[Nix-dev] How do I get the system crontab to work?

2015-07-12 Thread Jeffrey David Johnson
I see here that there are upstream issues with cron as far as setting user crontab entries: http://lists.science.uu.nl/pipermail/nix-dev/2014-September/014120.html But I'm having trouble setting the system ones as well. I think if they didn't work at all a lot of other things would fail, so I

Re: [Nix-dev] Garbled man pages/incomplete environment

2015-07-05 Thread Jeffrey David Johnson
Cook james.c...@utoronto.ca wrote: On 4 July 2015 at 09:24, Jeffrey David Johnson jef...@gmail.com wrote: I'm having the same issue described here on the Gentoo forums: https://forums.gentoo.org/viewtopic-t-670013.html Man pages are hard to read because they're full of control characters

Re: [Nix-dev] Garbled man pages/incomplete environment

2015-07-05 Thread Jeffrey David Johnson
infrastructure is supposed to take care of the // part for you. I think the infinite recursion happens because config.environment.variables is partly based on the value you define for environment.variables. James On 5 July 2015 at 10:51, Jeffrey David Johnson jef...@gmail.com wrote: Thanks, you're

Re: [Nix-dev] Garbled man pages/incomplete environment

2015-07-05 Thread Jeffrey David Johnson
wrote: Hi, On 04/07/15 18:24, Jeffrey David Johnson wrote: Man pages are hard to read because they're full of control characters. For example: NIXOS-REBUILD(8) NixOS Reference Pages NIXOS-REBUILD(8) ESC[1mNAMEESC[0m This can be a symptom

[Nix-dev] Garbled man pages/incomplete environment

2015-07-04 Thread Jeffrey David Johnson
I'm having the same issue described here on the Gentoo forums: https://forums.gentoo.org/viewtopic-t-670013.html Man pages are hard to read because they're full of control characters. For example: NIXOS-REBUILD(8) NixOS Reference Pages NIXOS-REBUILD(8)

Re: [Nix-dev] /etc/nixos/configuration.nix vs ~/.nixpkgs/config.nix

2015-06-29 Thread Jeffrey David Johnson
I do that too, here's my repo (of course also messy): https://github.com/jefdaj/nixcfg In particular the installDotfiles function here: https://github.com/jefdaj/nixcfg/blob/master/modules/util.nix works for probably half of the dotfiles I wanted to install. The rest were more complicated and

Re: [Nix-dev] Using R with Bioconductor

2015-06-18 Thread Jeffrey David Johnson
...@garbas.si wrote: Quoting Jeffrey David Johnson (2015-06-18 06:20:57) Wonderful, thanks for pushing it forward! I did some more on it but then got sidetracked by grad school and kind of dropped the ball. There is one more thing though... After splitting CRAN and BIOC packages up, I

Re: [Nix-dev] Using R with Bioconductor

2015-06-17 Thread Jeffrey David Johnson
Wonderful, thanks for pushing it forward! I did some more on it but then got sidetracked by grad school and kind of dropped the ball. There is one more thing though... After splitting CRAN and BIOC packages up, I discovered that many of the BIOC ones require other Annotation or Experiment data

Re: [Nix-dev] funding nixos documentation

2015-06-03 Thread Jeffrey David Johnson
...@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 tomasz.kont...@gmail.com wrote: On 06/03/2015 08:21 PM, Jeffrey David Johnson wrote

Re: [Nix-dev] funding nixos documentation

2015-06-03 Thread Jeffrey David Johnson
Oops, replying to the whole list now. Begin forwarded message: Date: Wed, 3 Jun 2015 11:20:10 -0700 From: Jeffrey David Johnson jef...@gmail.com To: Joachim Schiele j...@lastlog.de Subject: Re: [Nix-dev] funding nixos documentation I like the idea but can't personally pay for it :( I see you

Re: [Nix-dev] Best practices for replacing channels with my own package set?

2015-06-02 Thread Jeffrey David Johnson
James Cook james.c...@utoronto.ca wrote: I have a symlink from ~/.nix-defexpr/myhead to the nixpkgs tree I want to use. James On 1 June 2015 at 17:35, Jeffrey David Johnson jef...@gmail.com wrote: Nevermind, that sets NIX_PATH but nix-env still errors out with: nix-env: src/libexpr

[Nix-dev] Best practices for replacing channels with my own package set?

2015-06-01 Thread Jeffrey David Johnson
I'd like all the nix tools to reference my package repository, which is called mypkgs and re-exports nixpkgs with some custom ones added. I base it on the latest nixos-unstable revision so there should be binaries available. Currently I set NIX_PATH using `environment.interactiveShellInit`. That

Re: [Nix-dev] Best practices for replacing channels with my own package set?

2015-06-01 Thread Jeffrey David Johnson
Nevermind, that sets NIX_PATH but nix-env still errors out with: nix-env: src/libexpr/eval.hh:57: void nix::Bindings::push_back(const nix::Attr): Assertion `size_ capacity' failed. Aborted Unless explicitly given the -f option. Jeff On Tue, 2 Jun 2015 00:31:35 +0200 Herwig Hochleitner

Re: [Nix-dev] Best practices for replacing channels with my own package set?

2015-06-01 Thread Jeffrey David Johnson
Thanks, the mkForce was what I was missing! Jeff On Tue, 2 Jun 2015 00:31:35 +0200 Herwig Hochleitner hhochleit...@gmail.com wrote: I set NIX_PATH in environment.sessionVariables (with an mkForce, to override the builtin one). nix-env and everything else should pick it up, that way, since

Re: [Nix-dev] Using R with Bioconductor

2015-05-29 Thread Jeffrey David Johnson
unioned. Jeff On Tue, 26 May 2015 09:31:35 -0700 Jeffrey David Johnson jef...@gmail.com wrote: Sure that sounds good. It would make storing the mirror type for each package unneccesary too. I'll see if I can set it up later today so the script takes 'cran' or 'bioc' as an argument and reads/writes

Re: [Nix-dev] Shape configuration.nix differently

2015-05-28 Thread Jeffrey David Johnson
Isn't that the same as ``` { imports = [ ./hardware-configuration.nix ./boot/grub.nix ]; } ``` ? I think you can still access config and pkgs from each file. Jeff On Fri, 29 May 2015 01:55:34 +0200 Nicolas Pierron nicolas.b.pier...@gmail.com wrote: I am not sure to understand your

Re: [Nix-dev] Using R with Bioconductor

2015-05-26 Thread Jeffrey David Johnson
Sure that sounds good. It would make storing the mirror type for each package unneccesary too. I'll see if I can set it up later today so the script takes 'cran' or 'bioc' as an argument and reads/writes cran-packages.nix or bioc-packages.nix, then default.nix can read both sets and map the right

Re: [Nix-dev] Using R with Bioconductor

2015-05-25 Thread Jeffrey David Johnson
and make a pull request? I've attached the bash script I made to list remaining dependencies. After I ran it I had to go through and manually correct some things it doesn't pick up, like packages that exist but are known not to build. Jeff On Sun, 8 Mar 2015 12:00:27 -0700 Jeffrey David Johnson jef

Re: [Nix-dev] Python packages with __future__ imports broken by wrapper?

2015-05-21 Thread Jeffrey David Johnson
Kožar do...@dev.si wrote: Are you using unstable branch or 14.12? I think we'll need to drop use of sed and go with Python AST parsing for injecting program name. On Thu, May 21, 2015 at 6:11 PM, Jeffrey David Johnson jef...@gmail.com wrote: I installed python27Packages.googlecl

[Nix-dev] Python packages with __future__ imports broken by wrapper?

2015-05-21 Thread Jeffrey David Johnson
I installed python27Packages.googlecl, and when running `google` it says: File /nix/store/1ksk91s0kd1sv2clrkwcvzcmr67smgps-python2.7-googlecl-0.9.14/bin/.google-wrapped, line 45 from __future__ import with_statement SyntaxError: from __future__ imports must occur at the beginning of the

[Nix-dev] R package name can't be used in variable substitution?

2015-05-20 Thread Jeffrey David Johnson
I put together an example package that generates a bash script: # default.nix with import nixpkgs {}; stdenv.mkDerivation { name = varSubTest; src = ./.; inherit R; rByAnotherName = R; builder = ./builder.sh; } # builder.sh #!/usr/bin/env bash source $stdenv/setup mkdir -p $out/bin

Re: [Nix-dev] How to bootstrap a server using Nixops?

2015-05-01 Thread Jeffrey David Johnson
On Fri, 1 May 2015 08:46:14 + Rob Vermaas rob.verm...@gmail.com wrote: Hi Jeff, On Thu, Apr 30, 2015 at 11:17 PM, Jeffrey David Johnson jef...@gmail.com wrote: It's possible I'm getting the wrong idea about what nixops is for, but I used it to set up an Amazon EC2 instance

[Nix-dev] How to bootstrap a server using Nixops?

2015-04-30 Thread Jeffrey David Johnson
It's possible I'm getting the wrong idea about what nixops is for, but I used it to set up an Amazon EC2 instance with the idea of logging into the server and administering it using local commands afterward. The initial install goes fine. Afterward I clone my nixcfg repo (including nixpkgs

Re: [Nix-dev] Haskell NG: Local packages

2015-04-28 Thread Jeffrey David Johnson
It's not specific to Haskell (and I haven't tried haskellng at all yet) but for personal packages I have mypkgs/pkgname/default.nix, and then a top-level mypkgs/default.nix: let nixpkgs = import nixpkgs {}; callPkg = nixpkgs.newScope ( nixpkgs //

[Nix-dev] buildPythonPackage: add src to PYTHONPATH before build?

2015-04-22 Thread Jeffrey David Johnson
I'm trying to package a python application (https://github.com/dagraham/etm-tk). I made an initial package with python2nix, but when I try to install it I get: installing ‘python2.7-etm’ these derivations will be built: /nix/store/a1xn163ms6rg3w9k901lr6fga4lawqx9-python2.7-etm.drv building

Re: [Nix-dev] What am I doing wrong with ssh-substitutor-hosts?

2015-04-07 Thread Jeffrey David Johnson
‘download-via-ssh’ died unexpectedly If I ssh in manually bash is found fine. Jeff On Tue, 07 Apr 2015 11:45:12 +0200 Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 02/04/15 20:56, Jeffrey David Johnson wrote: I've got two computers with nixos, and I can ssh between them without

[Nix-dev] What am I doing wrong with ssh-substitutor-hosts?

2015-04-02 Thread Jeffrey David Johnson
I've got two computers with nixos, and I can ssh between them without a password. But if I do a nixos-rebuild with `--option ssh-substitutor-hosts hostname` they still just download everything from cache.nixos.org. I think I have the sshServe set up in my configuration.nix: # nixServeKeys are

Re: [Nix-dev] [***SPAM***] git:// repositories in nixpkgs

2015-03-27 Thread Jeffrey David Johnson
At least on github there's always an equivalent https:// url right? On Fri, 27 Mar 2015 12:49:04 -0400 Shea Levy s...@shealevy.com wrote: fetchurl has a concept of multiple urls and mirrors, I’m not sure if fetchgit does but it would be nice for this use case. git:// should be preferred when

Re: [Nix-dev] Getting started with nix-build

2015-03-24 Thread Jeffrey David Johnson
Yeah I'd like to know this too. I suspect there's a flag for it but not sure what it would be called. Also if you're building the latext nixpkgs from github hydra might not have cought up yet. I think standard practice is to stay a few commits back so can get binaries. I asked a semi-related

[Nix-dev] NixOps doesn't work with EC2 anymore?

2015-03-21 Thread Jeffrey David Johnson
I'm trying to set up a server for my lab to do bioinformatics. I'm following the manual here: http://hydra.nixos.org/build/20346360/download/1/manual/manual.html#sec-deploying-to-ec2 I got to the `deploy` step but then Amazon gives me an this error: error: EC2ResponseError: 400 Bad Request

Re: [Nix-dev] Regex in manifest breaks nix-env

2015-03-17 Thread Jeffrey David Johnson
profile for testing and have my long-term package lists in a separate git repo. Jeff On Tue, 17 Mar 2015 18:26:26 +0100 Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 17/03/15 18:11, Jeffrey David Johnson wrote: Hi all! My nix-env commands recently stopped working. For example

[Nix-dev] Regex in manifest breaks nix-env

2015-03-17 Thread Jeffrey David Johnson
Hi all! My nix-env commands recently stopped working. For example if I try to `nix-env -q`, it says: error: syntax error, unexpected $undefined, expecting '', at /nix/store/ar83fv0d68frfyifz2wl1dm97m6jvxnn-env-manifest.nix:1:153 The contents of

  1   2   >