Re: [Nix-dev] Help wanted with Nixos on ZFS in an encrypted LUKS volume

2017-04-03 Thread Ricardo M. Correia
Hi Vince, NixOS does support ZFS on top of an encrypted LUKS volume (I've been using this configuration myself for years), but I'm not 100% sure it will work fine in your particular situation. The error you are seeing is because ZFS is detecting 2 (or more) ZFS pools with the same name in your sy

[Nix-commits] [NixOS/nixpkgs] d9ae88: nixos.openntpd: don't spam systemd journal

2017-02-20 Thread Ricardo M. Correia
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: d9ae88694695c21d599790c4fdebc3fa062ddaa1 https://github.com/NixOS/nixpkgs/commit/d9ae88694695c21d599790c4fdebc3fa062ddaa1 Author: Ricardo M. Correia Date: 2017-02-20 (Mon, 20 Feb 2017) Changed paths

[Nix-commits] [NixOS/nixpkgs] fca091: pycurl: 7.19.5 -> 7.19.5.1

2017-02-18 Thread Ricardo M. Correia
Branch: refs/heads/staging Home: https://github.com/NixOS/nixpkgs Commit: fca09185d0021256a28b1a2cb710b197e3a08bd6 https://github.com/NixOS/nixpkgs/commit/fca09185d0021256a28b1a2cb710b197e3a08bd6 Author: Ricardo M. Correia Date: 2017-02-18 (Sat, 18 Feb 2017) Changed paths

[Nix-commits] [NixOS/nixpkgs] f78f20: nixos.samba: add enableNmbd and enableWinbindd opt...

2017-02-18 Thread Ricardo M. Correia
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: f78f207f1775fbf37c67e546b77ba206c107da36 https://github.com/NixOS/nixpkgs/commit/f78f207f1775fbf37c67e546b77ba206c107da36 Author: Ricardo M. Correia Date: 2017-02-18 (Sat, 18 Feb 2017) Changed paths

Re: [Nix-dev] Python 3 as default

2017-02-15 Thread Ricardo M. Correia
On Tue, Feb 14, 2017 at 2:34 PM, Profpatsch wrote: > On 17-02-14 01:18pm, Peter Simons wrote: > > I hardly ever use nix-shell and I don't want to, to > > be honest > > Completely off-discussion: Why is that? > Convenience? nix-shell does too many strange things? > > Personally I use nix-shell for

[Nix-commits] [NixOS/nixpkgs] c19b17: raspberryPi boot loader: fix booting Raspberry Pi ...

2017-02-11 Thread Ricardo M. Correia
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: c19b17d14ff25a86bc4b563999bfa3569344d16a https://github.com/NixOS/nixpkgs/commit/c19b17d14ff25a86bc4b563999bfa3569344d16a Author: Ricardo M. Correia Date: 2017-02-12 (Sun, 12 Feb 2017) Changed paths

[Nix-commits] [NixOS/nixpkgs] 30c3fd: mkpasswd: make the package high priority

2017-01-25 Thread Ricardo M. Correia
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 30c3fdedfefb2ad991f9dc827f282718e4180e3b https://github.com/NixOS/nixpkgs/commit/30c3fdedfefb2ad991f9dc827f282718e4180e3b Author: Ricardo M. Correia Date: 2017-01-25 (Wed, 25 Jan 2017) Changed paths

[Nix-commits] [NixOS/nixpkgs] 1b7984: ocamlPackages.containers: 0.20 -> 0.22

2016-12-20 Thread Ricardo M. Correia
: M pkgs/development/ocaml-modules/containers/default.nix Log Message: --- ocamlPackages.containers: 0.20 -> 0.22 Commit: 04a9e07bbd18c83047dd2dbe405367aac4d6e057 https://github.com/NixOS/nixpkgs/commit/04a9e07bbd18c83047dd2dbe405367aac4d6e057 Author: Ricardo M. Corr

[Nix-commits] [NixOS/nixpkgs] cda472: rustRegistry: 2016-12-03 -> 2016-12-16

2016-12-17 Thread Ricardo M. Correia
016) Changed paths: M pkgs/tools/text/ripgrep/default.nix Log Message: --- ripgrep: 0.2.1 -> 0.3.2 Commit: 096e8ab45f817db41bd5d50352c901c73843af2e https://github.com/NixOS/nixpkgs/commit/096e8ab45f817db41bd5d50352c901c73843af2e Author: Ricardo M. Correia

[Nix-commits] [NixOS/nixpkgs] dcee42: ponyc: 0.9.0 -> 0.10.0

2016-12-13 Thread Ricardo M. Correia
: M pkgs/development/compilers/ponyc/default.nix Log Message: --- ponyc: 0.9.0 -> 0.10.0 Commit: 6b89121c209c6aa44ef0268ed9462ed89f585393 https://github.com/NixOS/nixpkgs/commit/6b89121c209c6aa44ef0268ed9462ed89f585393 Author: Ricardo M. Correia Date: 2016-12

[Nix-commits] [NixOS/nixpkgs] 751b91: pepperflash: 22.0.0.205 -> 23.0.0.207

2016-11-17 Thread Ricardo M. Correia
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: 751b9188cc714dba0db5767e56efac2085538bd6 https://github.com/NixOS/nixpkgs/commit/751b9188cc714dba0db5767e56efac2085538bd6 Author: Ricardo M. Correia Date: 2016-11-18 (Fri, 18 Nov 2016) Changed

[Nix-commits] [NixOS/nixpkgs] 6dfd4f: pepperflash: 23.0.0.205 -> 23.0.0.207

2016-11-17 Thread Ricardo M. Correia
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 6dfd4f5b08199f7c23f63318f6f7a928906a1859 https://github.com/NixOS/nixpkgs/commit/6dfd4f5b08199f7c23f63318f6f7a928906a1859 Author: Ricardo M. Correia Date: 2016-11-18 (Fri, 18 Nov 2016) Changed paths

[Nix-commits] [NixOS/nixpkgs] 5b59e9: ocamlPackages.menhir: 20160526 -> 20161115

2016-11-17 Thread Ricardo M. Correia
: M pkgs/development/ocaml-modules/menhir/default.nix Log Message: --- ocamlPackages.menhir: 20160526 -> 20161115 Commit: 58a18d167636dcbdd765ed78f0345414c8eebfe3 https://github.com/NixOS/nixpkgs/commit/58a18d167636dcbdd765ed78f0345414c8eebfe3 Author: Ricardo M. Corr

[Nix-commits] [NixOS/nixpkgs] 3f6c9c: nixos.libvirtd: fix broken VMs due to emulator pat...

2016-11-03 Thread Ricardo M. Correia
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: 3f6c9cceeace789760b17e1998d03aeede16b93f https://github.com/NixOS/nixpkgs/commit/3f6c9cceeace789760b17e1998d03aeede16b93f Author: Ricardo M. Correia Date: 2016-11-03 (Thu, 03 Nov 2016) Changed

[Nix-commits] [NixOS/nixpkgs] af01fa: nixos.libvirtd: fix broken VMs due to emulator pat...

2016-11-03 Thread Ricardo M. Correia
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: af01fa71e0787c66c4f7e6fa88f8ee525959cd26 https://github.com/NixOS/nixpkgs/commit/af01fa71e0787c66c4f7e6fa88f8ee525959cd26 Author: Ricardo M. Correia Date: 2016-11-03 (Thu, 03 Nov 2016) Changed paths

[Nix-commits] [NixOS/nixpkgs] 7da48d: ocamlPackages.gen: 0.3 -> 0.4

2016-10-31 Thread Ricardo M. Correia
ithub.com/NixOS/nixpkgs/commit/3c6e0f1207193c4395183350d0ef878167da89bd Author: Ricardo M. Correia Date: 2016-10-31 (Mon, 31 Oct 2016) Changed paths: M pkgs/development/ocaml-modules/containers/default.nix M pkgs/development/ocaml-modules/gen/default.nix M pkgs/development/ocam

[Nix-commits] [NixOS/nixpkgs] 47e619: ocaml-react: fix hash

2016-10-14 Thread Ricardo M. Correia
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 47e61969b852a23d9059108b9356dad9ae515616 https://github.com/NixOS/nixpkgs/commit/47e61969b852a23d9059108b9356dad9ae515616 Author: Ricardo M. Correia Date: 2016-10-14 (Fri, 14 Oct 2016) Changed paths

[Nix-commits] [NixOS/nixpkgs] 4e14fd: nixos.acme: make timer persistent

2016-10-04 Thread Ricardo M. Correia
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: 4e14fd5d5aac14a17c28465104b7ffacf27d9579 https://github.com/NixOS/nixpkgs/commit/4e14fd5d5aac14a17c28465104b7ffacf27d9579 Author: Ricardo M. Correia Date: 2016-10-04 (Tue, 04 Oct 2016) Changed

[Nix-commits] [NixOS/nixpkgs] 5688c3: zfs: Keep trying root import until it works

2016-08-18 Thread Ricardo M. Correia
: a53bb3ceb173924bdb1f646fe5d6663651897c27 https://github.com/NixOS/nixpkgs/commit/a53bb3ceb173924bdb1f646fe5d6663651897c27 Author: Ricardo M. Correia Date: 2016-08-18 (Thu, 18 Aug 2016) Changed paths: M nixos/modules/tasks/filesystems/zfs.nix Log Message: --- zfs: print the output of

[Nix-commits] [NixOS/nixpkgs] 1cf9bc: zfs: print the output of the zpool command (if any...

2016-08-18 Thread Ricardo M. Correia
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 1cf9bcaa3f84e3058a8b48ef36f97d8dee841df6 https://github.com/NixOS/nixpkgs/commit/1cf9bcaa3f84e3058a8b48ef36f97d8dee841df6 Author: Ricardo M. Correia Date: 2016-08-18 (Thu, 18 Aug 2016) Changed paths

[Nix-commits] [NixOS/nixpkgs] 98b213: zfs: Keep trying root import until it works

2016-08-18 Thread Ricardo M. Correia
nixos/modules/tasks/filesystems/zfs.nix Log Message: --- zfs: Keep trying root import until it works Works around #11003. Commit: c2e5fd959d84cef0b62762df05e17c0748ffbb9f https://github.com/NixOS/nixpkgs/commit/c2e5fd959d84cef0b62762df05e17c0748ffbb9f Author: Ricardo M

[Nix-commits] [NixOS/nixpkgs] cbb8ee: rustPackages: 2016-07-26 -> 2016-08-10

2016-08-10 Thread Ricardo M. Correia
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: cbb8ee28b5725adffb2ad6df738e8117df118a94 https://github.com/NixOS/nixpkgs/commit/cbb8ee28b5725adffb2ad6df738e8117df118a94 Author: Ricardo M. Correia Date: 2016-08-10 (Wed, 10 Aug 2016) Changed paths

[Nix-commits] [NixOS/nixpkgs] 0a4178: ponyc: 0.2.1 -> 2016-07-26

2016-08-01 Thread Ricardo M. Correia
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 0a417845ef00c6964dd2ecf040055bfc3dc7f1f1 https://github.com/NixOS/nixpkgs/commit/0a417845ef00c6964dd2ecf040055bfc3dc7f1f1 Author: Ricardo M. Correia Date: 2016-08-02 (Tue, 02 Aug 2016) Changed paths

[Nix-commits] [NixOS/nixpkgs] 24d1d1: menhir: 20160303 -> 20160526 (#17343)

2016-07-29 Thread Ricardo M. Correia
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 24d1d19bd2f8f55f6740e9495d2b76c1218d2b7b https://github.com/NixOS/nixpkgs/commit/24d1d19bd2f8f55f6740e9495d2b76c1218d2b7b Author: Ricardo M. Correia Date: 2016-07-29 (Fri, 29 Jul 2016) Changed paths

[Nix-commits] [NixOS/nixpkgs] 2df3fd: ocamlPackage.ppx_blob: init at 0.2 (#17129)

2016-07-20 Thread Ricardo M. Correia
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 2df3fde700daf20a00188de616e677bc57c9794f https://github.com/NixOS/nixpkgs/commit/2df3fde700daf20a00188de616e677bc57c9794f Author: Ricardo M. Correia Date: 2016-07-21 (Thu, 21 Jul 2016) Changed paths

Re: [Nix-dev] Haskell-env (via nix-shell) - am I doing this right?

2015-05-22 Thread Ricardo M. Correia
On Fri, May 22, 2015 at 8:16 PM, Peter Jones wrote: > To start out, I'm using HaskellNG and a recent version of nixpkgs where > HaskellNG is the default. Here are the components I use with some > examples: > > 1) I write a default.nix that describes my dependencies: > > https://github.

Re: [Nix-dev] ZFS on NixOS regarding the `/etc/zfs/zpool.cache` file.

2015-04-29 Thread Ricardo M. Correia
I commented on that commit, but just in case, for future readers: If you add: boot.supportedFilesystems = [ "zfs" ]; ... to your configuration.nix, then /etc/zfs will be created, and /etc/zfs/zpool.cache will also be created when you import or create a ZFS pool. If you have this option in your

Re: [Nix-dev] Bash CVE-2014-6271

2014-09-28 Thread Ricardo M. Correia
dry-run thing is likely due to replaceDependency doing an import > from a derivation, which requires building at evaluation time. There's > not really a good way to work around that, unfortunately. > > ~Shea > > On Mon, Sep 29, 2014 at 12:52:10AM +0200, Ricardo M. Correia wrot

Re: [Nix-dev] Bash CVE-2014-6271

2014-09-28 Thread Ricardo M. Correia
On Sun, Sep 28, 2014 at 10:19 AM, Vladimír Čunát wrote: > On 09/25/2014 03:41 PM, Ricardo M. Correia wrote: > >> Also, I'm not sure if this is expected, but when I first tried to run >> "nixos-rebuild dry-run" with this workaround applied, it started to >>

Re: [Nix-dev] Bash CVE-2014-6271

2014-09-25 Thread Ricardo M. Correia
On Wed, Sep 24, 2014 at 11:34 PM, Peter Simons wrote: > If you are worried about Bash CVE-2014-6271 (you should) and don't want > to wait for Hydra to re-build the world, then check out > > https://github.com/NixOS/nixpkgs/pull/4257#issuecomment-56727114 > > to see how to replace the bash binar

Re: [Nix-dev] Will there be a systemd replacement at any time inthefuture?

2014-09-02 Thread Ricardo M. Correia
FWIW, yesterday I've also experienced loss of stderr messages in a service I was trying to debug. In this case, it might have been either because the process exited immediately afterwards or because of rate limiting, I don't know which. I've also always experienced HDD thrashing issues on machines

Re: [Nix-dev] Grub Install Failure when using boot.loader.devices = [ "/dev/sda" "/dev/sdb" ];

2014-07-03 Thread Ricardo M. Correia
Hi Roger, Not sure if it will help, but can you try: NIXOS_INSTALL_GRUB=1 nixos-rebuild switch ? On Wed, Jul 2, 2014 at 12:59 PM, Roger Qiu wrote: > Hello everybody, > > When I run with: > > ``` > boot.loader.device = "/dev/sda" > ``` > > or > > ``` > boot.loader.device = "/dev/sdb" > ``` >

Re: [Nix-dev] setfacl: /var/log/journal: Operation not supported

2014-06-04 Thread Ricardo M. Correia
Hi Christian, If the problem is indeed the setfacl failure (as it appears to be), I think you need to enable ACLs in ZFS by doing: "zfs set acltype=posixacl ", where is the ZFS dataset/filesystem which contains your systemd journal. I'm not sure if the default ZFS version (0.6.2) contains the a

Re: [Nix-dev] Unfree packages in Nixpkgs

2014-04-13 Thread Ricardo M. Correia
That works, thanks! On Sun, Apr 13, 2014 at 5:00 PM, Aristid Breitkreuz wrote: > If you put it in your ~/.nixpkgs/config.nix instead, it should be > picked up by nix-repl. > > 2014-04-13 16:58 GMT+02:00 Ricardo M. Correia : > > Hi Marc, > > > > I've adde

Re: [Nix-dev] Unfree packages in Nixpkgs

2014-04-13 Thread Ricardo M. Correia
Hi Marc, I've added it to my configuration.nix but it doesn't seem to work: # nix-repl '' Welcome to Nix version 1.6.1. Type :? for help. Loading ''... Added 3740 variables. nix-repl> pkgs.flashplayer.name error: user-thrown exception: package 'flashplayer-11.2.202.350' in <> has an unfree lice

Re: [Nix-dev] Unfree packages in Nixpkgs

2014-04-13 Thread Ricardo M. Correia
Hi, On Wed, Apr 9, 2014 at 11:43 AM, Eelco Dolstra wrote: > tl;dr version: The default value of the 'allowUnfree' Nixpkgs > configuration flag > has changed from 'true' to 'false'. This means that if your NixOS system > configuration requires unfree packages, you need to add > > { nixpkgs.confi

Re: [Nix-dev] NixOS (from USB) hangs at boot

2014-02-03 Thread Ricardo M. Correia
Hi Colin, Assuming you are using NixOS release 13.10, you can try using the latest unstable ISO to see if it works better: http://nixos.org/channels/nixos-unstable/ On Mon, Feb 3, 2014 at 1:12 PM, Colin Adams wrote: > I'm trying to install NixOS. I have the 32-bit ISO on a USB. But whether

Re: [Nix-dev] pthread

2014-02-01 Thread Ricardo M. Correia
One thing you can do to investigate configure failures is to inspect the "config.log" file to find out exactly which command failed and how. To inspect the "config.log" file, however, you need to need to keep the results of a failed build. You can do that by passing the "--keep-failed" flag to nix

Re: [Nix-dev] Hardened NixOS

2013-11-18 Thread Ricardo M. Correia
On Tue, Nov 19, 2013 at 2:12 AM, Marc Weber wrote: > > Securing nixos > I guess we all want to be secure :) > > I'd also like you to start a wiki page talking about > - what could be done > - what you want to be done > - how to verify that the goal has been achieved (if this does make >

[Nix-dev] Hardened NixOS

2013-11-18 Thread Ricardo M. Correia
Hi, I am currently working on integrating grsecurity/PaX and making various software packages work under a grsec-enabled kernel (well, the packages I use): https://github.com/NixOS/nixpkgs/pull/1187 With those patches and a couple of unpublished workarounds I have a basic XFCE desktop + Firefox/

Re: [Nix-dev] ZFS root boot

2013-11-08 Thread Ricardo M. Correia
Sorry, a few corrections: On Fri, Nov 8, 2013 at 1:06 PM, Ricardo M. Correia wrote: > $ zpool set mountpoint=/ rpool > The correct command is "zfs set mountpoint=/ rpool" To install NixOS, you have to mount the root pool and /boot under /mnt. > This is what I did: >

Re: [Nix-dev] ZFS root boot

2013-11-08 Thread Ricardo M. Correia
Hi Danny, I use a ZFS root pool with a btrfs /boot partition. I may not have done everything correctly, but it seems to work for me, although my ZFS pool only has 1 disk drive. This is what I did: When installing NixOS, after booting the CD, I added this to the configuration.nix of the install cd

Re: [Nix-dev] Fwd: Hardened Linux kernel with grsec/PaX + AppArmor

2013-08-07 Thread Ricardo M. Correia
rovements (process hiding for example) too. However, I've never heard of combining grsec with apparmor. Why would one do that? On Wed, Aug 7, 2013 at 2:59 PM, Ricardo M. Correia wrote: > Hi, > > I'm attaching a simple patch that allows you to use a kernel with > grsecuri

[Nix-dev] Fwd: Hardened Linux kernel with grsec/PaX + AppArmor

2013-08-07 Thread Ricardo M. Correia
Hi, I'm attaching a simple patch that allows you to use a kernel with grsecurity, PaX and AppArmor enabled, just in case it's useful to anyone. It requires the following changes to be applied first: https://github.com/NixOS/nixpkgs/pull/802 I am not sending a pull request for this new kernel dir