[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

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] 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] SVN commit: nix - r29392 - nixos/trunk/modules/services/misc

2011-09-20 Thread David Guibert
Author: guibert Date: Tue Sep 20 07:14:24 2011 New Revision: 29392 URL: https://ssl.nixos.org/websvn/nix/?rev=29392sc=1 Log: autofs: add sshfs to PATH Modified: nixos/trunk/modules/services/misc/autofs.nix Modified: nixos/trunk/modules/services/misc/autofs.nix

[Nix-commits] SVN commit: nix - r30166 - in nixpkgs/trunk/pkgs/development/libraries: libgcrypt libgpg-error

2011-11-01 Thread David Guibert
Author: guibert Date: Tue Nov 1 17:06:58 2011 New Revision: 30166 URL: https://nixos.org/websvn/nix/?rev=30166sc=1 Log: update libgcrypt 1.4.6 - 1.5.0 Modified: nixpkgs/trunk/pkgs/development/libraries/libgcrypt/default.nix nixpkgs/trunk/pkgs/development/libraries/libgpg-error/default.nix

[Nix-commits] SVN commit: nix - r30167 - nixpkgs/trunk/pkgs/development/tools/misc/lsof

2011-11-01 Thread David Guibert
Author: guibert Date: Tue Nov 1 17:07:07 2011 New Revision: 30167 URL: https://nixos.org/websvn/nix/?rev=30167sc=1 Log: lsof 2.84 - 2.85 Modified: nixpkgs/trunk/pkgs/development/tools/misc/lsof/default.nix Modified: nixpkgs/trunk/pkgs/development/tools/misc/lsof/default.nix

[Nix-commits] SVN commit: nix - r30168 - in nixpkgs/trunk/pkgs: development/libraries/libjson top-level

2011-11-01 Thread David Guibert
Author: guibert Date: Tue Nov 1 17:07:14 2011 New Revision: 30168 URL: https://nixos.org/websvn/nix/?rev=30168sc=1 Log: add libjson library Added: nixpkgs/trunk/pkgs/development/libraries/libjson/ nixpkgs/trunk/pkgs/development/libraries/libjson/default.nix Modified:

[Nix-commits] SVN commit: nix - r30278 - nixpkgs/trunk/pkgs/development/tools/build-managers/cmake

2011-11-06 Thread David Guibert
Author: guibert Date: Sun Nov 6 20:03:00 2011 New Revision: 30278 URL: https://nixos.org/websvn/nix/?rev=30278sc=1 Log: update cmake Modified: nixpkgs/trunk/pkgs/development/tools/build-managers/cmake/default.nix Modified:

[Nix-commits] SVN commit: nix - r30279 - in nixpkgs/trunk/pkgs: development/libraries/json-c servers/pulseaudio top-level

2011-11-06 Thread David Guibert
Author: guibert Date: Sun Nov 6 20:03:07 2011 New Revision: 30279 URL: https://nixos.org/websvn/nix/?rev=30279sc=1 Log: update pulseaudio 0.9.23 - 1.1 Added: nixpkgs/trunk/pkgs/development/libraries/json-c/ nixpkgs/trunk/pkgs/development/libraries/json-c/default.nix Modified:

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r30279 - in nixpkgs/trunk/pkgs: development/libraries/json-c servers/pulseaudio top-level

2011-11-07 Thread David Guibert
Hi, On Sun, Nov 6, 2011 at 10:51 PM, Eelco Dolstra e.dols...@tudelft.nl wrote: On 11/06/2011 03:03 PM, David Guibert wrote: -  name = pulseaudio-0.9.23; +  name = pulseaudio-1.1; -      #gtk gconf libX11 libICE libSM libXtst libXi +      xz json_c +      #gtk gconf +      libX11 libICE

Re: [Nix-dev] cmake broken on Linux/x86 (was: SVN commit: nix - r30278 - nixpkgs/trunk/pkgs/development/tools/build-managers/cmake)

2011-11-07 Thread David Guibert
. I'll fix it tonight with the following patch http://foundry.supelec.fr/gf/project/luatex/scmsvn/?action=browsepath=%2Ftrunk%2Fsource%2Flibs%2Fzlib%2Fzlib-1.2.5-PATCHES%2Fpatch-01-LARGEFILE64_SOURCEview=markup -- Regards, David ___ nix-dev mailing list nix

Re: [Nix-dev] cmake broken on Linux/x86 (was: SVN commit: nix - r30278 - nixpkgs/trunk/pkgs/development/tools/build-managers/cmake)

2011-11-07 Thread David Guibert
On Mon, Nov 7, 2011 at 6:33 PM, David Guibert david.guib...@gmail.com wrote: On Mon, Nov 7, 2011 at 6:23 PM, Peter Simons sim...@cryp.to wrote:   update cmake that update seems to have broken CMake builds on various platforms:  http://hydra.nixos.org/job/nixpkgs/trunk/cmake It seems

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r30307 - nixpkgs/trunk/pkgs/development/libraries/zlib

2011-11-08 Thread David Guibert
Hi, 2011/11/7 Lluís Batlle i Rossell virik...@gmail.com: On Mon, Nov 07, 2011 at 05:08:09PM -0500, Eelco Dolstra wrote: On 11/07/2011 04:33 PM, David Guibert wrote: Added:     nixpkgs/trunk/pkgs/development/libraries/zlib/zlib-LARGEFILE64_SOURCE.patch Modified:    nixpkgs/trunk/pkgs

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r30307 - nixpkgs/trunk/pkgs/development/libraries/zlib

2011-11-08 Thread David Guibert
/002583.html That patch includes, among others pieces, the ifdef/ifndef trick. Maybe we can take directly that patch. Indeed, much better. -- David ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] SVN commit r32596

2012-03-13 Thread David Guibert
: $(toPythonPath $out) \ + ''${PYTHONPATH:+ --prefix PYTHONPATH : $PYTHONPATH} \ + ''; buildNativeInputs = [ pkgconfig intltool pythonPackages.wrapPython ]; } -- Regards, David ___ nix-dev mailing list nix-dev@lists.science.uu.nl http

Re: [Nix-dev] nix-build broken in nix-1.2

2012-12-13 Thread David Guibert
On Wed, Dec 12, 2012 at 1:25 PM, David Guibert david.guib...@gmail.com wrote: I used to build derivations with nix-build and testing them via the result directory. But with the new nix 1.2, the derivations are no longer built. $ /nix/store/jbhg56ranx6ja63rw7ysld6nyw6hc8i4-nix-1.2/bin/nix

[Nix-dev] compiling firefox 20 with sqlite_3_7_16_1

2013-04-28 Thread David Guibert
; }).deepOverride { sqlite = sqlite_3_7_16_1; }; But pysqlite is still using the default sqlite package. How could we override the sqlite attribute? -- Regards, David ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl

Re: [Nix-dev] A generic wrapper method (possibly)

2013-12-02 Thread David Guibert
/argv0.html -- Regards, David ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] called without required argument `cinnamon-settings-daemon'

2013-12-05 Thread David Guibert
On Thu, Dec 5, 2013 at 2:13 PM, Roelof Wobben rwob...@hotmail.com wrote: cinnamon-setttings-daemon = ../desktops/cinnamon/cinnamon-settings-daemon.nix { } ; callPackage is missing. ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] Nix OS installation problems - Where's the hard drive?

2014-10-10 Thread David Guibert
is SCSI_SAS_ATA. Remove CONFIG_ to your configuration.nix because it's added by the .config generator. -- Best regards, David ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Nix OS installation problems - Where's the hard drive?

2014-10-11 Thread David Guibert
inside $NIX_PATH. -- Regards, David ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[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] error in unpack-bootstrap-tools.sh

2015-10-28 Thread Matei David
On Wed, 28 Oct 2015 16:47:13 +0100 Vladimír Čunát <vcu...@gmail.com> wrote: > Hi. > > On 10/28/2015 04:17 PM, Matei David wrote: > > What can I do to fix this or to diagnose it further? > > That's strange, as (1) the bootstrapping seems fine on Hydra > http://hyd

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-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-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-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-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] 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-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] 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

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 ] ;

[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] 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] 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] 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] 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

[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] 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] 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

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] 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] 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

[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] 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] 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

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] 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] '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] 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] 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] '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

[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

[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

[Nix-commits] [NixOS/nixpkgs] b8463e: pythonPackages.markupsafe: 0.23 -> 1.0

2017-04-30 Thread David Izquierdo
Branch: refs/heads/staging Home: https://github.com/NixOS/nixpkgs Commit: b8463e97b63ebd5fa05c14e9f9c52edc9274e753 https://github.com/NixOS/nixpkgs/commit/b8463e97b63ebd5fa05c14e9f9c52edc9274e753 Author: David Izquierdo <da...@izquierdofernandez.com> Date: 2017-04-30 (S

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

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] [NixOS] How to incorporate my Bash script in configuration.nix?

2017-05-09 Thread David Izquierdo
I would have gone to systemd.services. Slightly uglier looking (bigger attrset), but should run after the kernel has loaded its modules. I'd say it would be ideal to have it be "PartOf = networking.target" and/or "Before = dhcpd.service" (or whatever networking thingy you use). On 09/05/17

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

[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

[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

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] Automatically locking the screen with xautolock

2015-02-08 Thread Jeffrey David Johnson
Nice! I'm currently binding gksu 'i3lock -c00 pm-suspend' to a hotkey using i3, but this is better. Is there a standard way to get it in my fork of nixpkgs, which is tracking the release-14.12 branch? (I could just copy and paste but if there's a better way now would be a good time to

Re: [Nix-dev] Disallowed host while building Python packages?

2015-02-16 Thread Jeffrey David Johnson
-packages-generated.nix? They're formatted just like the non-generated ones so I'm thinking generated means some other process? Jeff On Mon, 16 Feb 2015 09:30:16 +0100 Rok Garbas r...@garbas.si wrote: Quoting Jeffrey David Johnson (2015-02-16 04:56:35) I've had this happen a couple times now when

Re: [Nix-dev] Unstable Nixpkgs on stable NixOS (was: Automatically locking the screen with xautolock)

2015-02-10 Thread Jeffrey David Johnson
, Jeffrey David Johnson wrote: Nice! I'm currently binding gksu 'i3lock -c00 pm-suspend' to a hotkey using i3, but this is better. Is there a standard way to get it in my fork of nixpkgs, which is tracking the release-14.12 branch? (I could just copy and paste but if there's a better way

[Nix-dev] Disallowed host while building Python packages?

2015-02-15 Thread Jeffrey David Johnson
I've had this happen a couple times now when trying to build Python packages. An error like: Searching for paste Note: Bypassing https://pypi.python.org/simple/paste/ (disallowed host; see http://bit.ly/1dg9ijs for details). Couldn't find index page for 'paste' (maybe misspelled?) Scanning

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] 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

[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

[Nix-dev] Using R with Bioconductor

2015-03-08 Thread Jeffrey David Johnson
Do any of you guys/gals use R and Bioconductor? The only page I can find related to setting it up is https://nixos.org/wiki/R. Bioconductor is a whole additional ecosystem on top of R/CRAN, with its own installer. You normally use it like: source(http://bioconductor.org/biocLite.R;)

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] Help packaging BLAST?

2015-02-24 Thread Jeffrey David Johnson
Hi! The existing BLAST package (https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/science/biology/ncbi-tools/default.nix) isn't working for me. Probably because it's broken on x64. So I'm trying to package the standalone executables from http://www.ncbi.nlm.nih.gov/books/NBK52640/

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

[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

[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] 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 //

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] 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] 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] 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

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] 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
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] 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

[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] 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] 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

  1   2   >