[Nix-commits] [NixOS/nixpkgs] f5c6b1: trezor-agent: 0.6.1 -> 0.6.5 (#18163)

2016-08-31 Thread roconnor
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: f5c6b160c9aace543724be7c31b4f4fb775fd7d0 https://github.com/NixOS/nixpkgs/commit/f5c6b160c9aace543724be7c31b4f4fb775fd7d0 Author: roconnor <rocon...@theorem.ca> Date: 2016-08-31 (Wed, 31 Au

Re: [Nix-dev] all-packages.nix and the unoverridable self.

2016-05-11 Thread roconnor
I saw in that thread that you raised the same points that I have https://github.com/NixOS/nixpkgs/pull/10851#issuecomment-157808356 But I didn't understand what the resolution was. I didn't see your comment addressed. Since you seem to understand what is going on, maybe you can explain how

Re: [Nix-dev] all-packages.nix and the unoverridable self.

2016-05-08 Thread roconnor
I haven't heard back from Nicolas yet. Perhaps I should put together a PR that removes the instances of self that I think are wrong so that we can discuss the issue. On Sun, 8 May 2016, Daniel Peebles wrote: Did you figure this out? I'm curious whether something got messed up in the recent

[Nix-dev] all-packages.nix and the unoverridable self.

2016-05-02 Thread roconnor
Something seems wrong / bizzare with the recursion in all-packages.nix I've been trying to override linux_4_4 in my configuration.nix with the following: nixpkgs.config.packageOverrides = super: { linux_4_4 = super.linux_4_4.override { extraConfig = "CHROME_PLATFORMS y";

Re: [Nix-dev] CVE-2015-7547 stdenv-changing fix merged on master and 15.09

2016-02-16 Thread roconnor
On Tue, 16 Feb 2016, Kosyrev Serge wrote: > rocon...@theorem.ca writes: >> I am using the following expression which I believe will build a patched >> version of glibc locally, and then build a patched NixOS derivation. >> >> system.replaceRuntimeDependencies = with pkgs.lib; >> [{original

Re: [Nix-dev] CVE-2015-7547 stdenv-changing fix merged on master and 15.09

2016-02-16 Thread roconnor
I am using the following expression which I believe will build a patched version of glibc locally, and then build a patched NixOS derivation. system.replaceRuntimeDependencies = with pkgs.lib; [{original = pkgs.glibc; replacement = pkgs.stdenv.lib.overrideDerivation pkgs.glibc (oldAttr: {

[Nix-dev] Security updates for libpng (CVE-2015-7981 and CVE-2015-8126)

2015-11-16 Thread roconnor
libpng has recently patched a few buffer-overflows in it, so I thought I would try exercising the system.replaceRuntimeDependencies functionality of nixos. For nixos managed programs, you can tell if you are affected by running nix-store -qR /run/current-system | grep libpng If it lists

[Nix-dev] Akward environment.pathsToLink (was: AgdaStdlib Doesn't install)

2015-10-15 Thread roconnor
ke "/share" part of the default for everyone, but I only gave it 10 seconds of consideration. On Tue, 13 Oct 2015, Taeer Bar-Yam wrote: Hey! It worked! That just begs the question, roconnor, do you have this somewhere in your configuration.nix? Why was yours working from the start? In

Re: [Nix-dev] AgdaStdlib Doesn't install

2015-10-10 Thread roconnor
all the sources and build instructions for building your system path. I'm expecting the file size is not too much larger than 1 MB. On Thu, Oct 8, 2015 at 7:20 PM, Taeer Bar-Yam <tb...@cornell.edu> wrote: @roconnor: Hey! $ nix-store --read-log /run/current-system/sw prints a wh

Re: [Nix-dev] AgdaStdlib Doesn't install

2015-10-05 Thread roconnor
Does $ nix-store --read-log /run/current-system/sw say anything interesting? $ nix-store -q -deriver /run/current-system/sw will output a filename. Are there references to AgdaStdlib in that file? On Sat, 3 Oct 2015, Taeer Bar-Yam wrote: Assumption I: Check. Putting in bad syntax to

[Nix-dev] Using a remote machine for builds with two NixOS machines.

2015-09-30 Thread roconnor
I have a slow laptop that needs a custom kernel. It usually takes overnight to recompile a kernel, so to combat this, I've recently set up my laptop to use my desktop to perform builds. Since this process isn't so well documented, I though I would try to make a record of what I did, or rather

[Nix-dev] Recovering from a failed GRUB update.

2015-07-08 Thread roconnor
For some unknown reason my NixOS update on my laptop last night failed to properly install GRUB (even though I claim that GRUB completed sucessfully). When I rebooted I was met with a simple grub prompt grub and no boot menu. Here is what I did to recover. (1) I booted from a NixOS install

Re: [Nix-dev] Fwd: NixOps: How do I bind services to internal IP addresses on GCE?

2015-06-25 Thread roconnor
On Wed, 24 Jun 2015, rocon...@theorem.ca wrote: On Wed, 24 Jun 2015, Rob Vermaas wrote: Hi, My question is, is there some way to access the internal IP address of a deployed machine so I can add it to my cassandra.yaml file during deployment? Alternatively is there some way to have the

Re: [Nix-dev] Fwd: NixOps: How do I bind services to internal IP addresses on GCE?

2015-06-24 Thread roconnor
On Wed, 24 Jun 2015, Rob Vermaas wrote: Hi, My question is, is there some way to access the internal IP address of a deployed machine so I can add it to my cassandra.yaml file during deployment? Alternatively is there some way to have the /etc/hosts resolve the machines name, db, to the

[Nix-dev] NixOps: How do I bind services to internal IP addresses on GCE?

2015-06-23 Thread roconnor
I'm trying to deploy a small network of cassandra servers. These servers will communicate with each other over an internal GCE network. I've specified a gce network like so: resources.gceNetworks.foo = credentials // { addressRange = 10.0.0.0/16; firewall.allow-cassandra = {

Re: [Nix-dev] Haskell NG

2014-12-29 Thread roconnor
On Sun, 28 Dec 2014, Charles Strahan wrote: I'm trying to think of a way of selling my oop library [...] What OOP library are you talking about? Is it available for me to view online? Sure, you can look at lib/oop.nix from

Re: [Nix-dev] Haskell NG

2014-12-18 Thread roconnor
On Thu, 18 Dec 2014, Peter Simons wrote: Hi Russel, 2) Haskell packages support 'deepOverride'. How would you feel about using my overrideScope functionality from my haskellPackagesFixpoint branch instead? the first version of my re-factored Haskell code defined deep overrides

Re: [Nix-dev] What does `self` mean in the function `ghcWithPackages`?

2014-12-16 Thread roconnor
Hi, if you are familiar with fixpoints, then the following blog post may be helpful in understanding this pattern: http://r6.ca/blog/20140422T142911Z.html On Tue, 16 Dec 2014, Carlo Nucera wrote: Hi all, I was reading the sources of ghcWithPackages: ghcWithPackages = pkgs : callPackage

Re: [Nix-dev] How to version-bump haskell package in nix-shell?

2014-12-14 Thread roconnor
I'll be curious as to what the offical answer is, but in the meantime the following somewhat akward expression appears to work: haskellPackages.purescript.override (oldargs: { cabal = oldargs.cabal.override (oldargs: { extension = self: super: (oldargs.extension self super) // {

Re: [Nix-dev] Haskell NG

2014-12-13 Thread roconnor
On Fri, 12 Dec 2014, Peter Simons wrote: Hi Peter, 2) Haskell packages support 'deepOverride'. Suppose package 'foo' requires a non-default version of 'binary'. Then foo.deepOverride { binary = self.binary_0_4_0_1; }; gives a derivation that uses this particular version to build

[Nix-dev] How to unblacklist kernel modules in /etc/modprobe.d/ubuntu.conf?

2014-11-07 Thread roconnor
Hi all, I've almost got my touchpad on my Acer C710 (running SeaBIOS) working with the following config: nixpkgs.config.packageOverrides = pkgs: { linux_3_17 = pkgs.linux_3_17.override { extraConfig = CHROME_PLATFORMS y; }; }; boot.kernelPackages = pkgs.linuxPackages_3_17;

Re: [Nix-dev] How to unblacklist kernel modules in /etc/modprobe.d/ubuntu.conf?

2014-11-07 Thread roconnor
FYI: my current workaround is to add the following configuration: boot.postBootCommands = ${config.system.sbin.modprobe}/sbin/modprobe i2c_i801; in addition to the rest. On Fri, 7 Nov 2014, rocon...@theorem.ca wrote: Hi all, I've almost got my touchpad on my Acer C710 (running SeaBIOS)

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

2014-09-29 Thread roconnor
I noticed dry-run building stuff, but I'm using replaceDependency. ReplaceDepenency does the unusual step of importing a .nix file that is generated by a runCommand expression which I believe is indirectly calling nix-build via the exportReferencesGraph feature. This is why I think dry-run

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

2014-09-28 Thread roconnor
After studying pkgs/build-support/replace-dependency.nix I'm prepraring a preliminary patch for it that should make the computation a zillion times faster. The dry-run thing not being a dry run is still a bit of a mystery to me, but replace-dependency.nix does do things that are a little

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

2014-09-28 Thread roconnor
I've sent out PR#4313 to address the slowness issue: https://github.com/NixOS/nixpkgs/pull/4313 On Sun, 28 Sep 2014, rocon...@theorem.ca wrote: After studying pkgs/build-support/replace-dependency.nix I'm prepraring a preliminary patch for it that should make the computation a zillion times

Re: [Nix-dev] nix proposal for security fixes

2014-09-28 Thread roconnor
We already have shlevy's replaceDependency which, IMHO, solves this problem. In functional programming when we have an immutable tree structure that we want to update, we trace a path from the root of the tree to the node that we want to update and we update all the nodes along that path to

[Nix-dev] OOP library for Nix.

2014-05-09 Thread roconnor
I would like to invite you all to 'checkout' my HaskellPackagesFixpoint branch. I have added a little library for object oriented programming called lib/oop.nix. Really, it is a library for manipulating open recursive functions, but it is couched in object oriented terminology. The branch

Re: [Nix-dev] [nixpkgs] Fix haddock building for unicode packages (#864)

2013-10-27 Thread roconnor
Thanks for the tip. For now, I decided to just build a few haskell packages from the stdenv-updates branch. It took a few hours but it did work! I love nix so much! On Sat, 26 Oct 2013, Peter Simons wrote: Hi Russel, I patched this into my local master branch by hand, but compiling

Re: [Nix-dev] [nixpkgs] Fix haddock building for unicode packages (#864)

2013-10-26 Thread roconnor
I patched this into my local master branch by hand, but compiling multirec has failed. Anyone successfuly used this? On Sun, 25 Aug 2013, Gergely Risko wrote: Haskell packages that contain non-ascii characters in their .cabal file or somewhere else in their haddock documentation fail to

Re: [Nix-dev] Broken fonts on non-NixOS

2013-06-13 Thread roconnor
On Mon, 22 Apr 2013, Eelco Dolstra wrote: Hi, On 16/04/13 10:15, Peter Simons wrote: is the environment variable FONTCONFIG_FILE to some appropriate value, like /etc/fonts/fonts.conf? Strangely, our fontconfig is supposed to look in /etc/fonts by default [1], but that seems not to work

[Nix-dev] Building 2.6 kernel

2012-09-03 Thread roconnor
Every time I try to nixos-rebuild a 2.6 kernel I get the error: b43 firmware for kernels older than 3.2 not packaged yet! even though the enableB43Firmware option is disabled. -- Russell O'Connor http://r6.ca/ ``All talk about `theft,''' the general counsel

[Nix-dev] lpadmin patch for cupsd module

2012-06-14 Thread roconnor
I propose the following patch to add an lpadmin group for cupsd adminitration. This is more or less required for anyone running on a system without a root password. I see no harm in enabling it by default. Index: modules/services/printing/cupsd.nix

Re: [Nix-dev] KDE is constantly crashing.

2012-05-31 Thread roconnor
On Thu, 31 May 2012, Cillian de Róiste wrote: On Fri, Apr 20, 2012 at 8:47 PM, rocon...@theorem.ca wrote: Recently I've been constantly having KDE (kinit) segfault on me after a few minutes of being on.  Is there anything I can do to stop this from happening.  This is possibly due to

[Nix-dev] Help Wanted: graphviz, fontconfig, and impurities

2012-05-26 Thread roconnor
I have made a nix-expression to build some documentation for a project. As part of the documentation generations, it uses graphviz to generate a PNG file of a diagram. graphviz is compiled with fontconfig to generate the glyphs that appear in the diagram, and fontconfig searches in /etc/fonts

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r33532 - nixpkgs/trunk/pkgs/tools/networking/wicd

2012-04-02 Thread roconnor
Interesting. Well, it makes me feel better that I didn't drop dhclient support entirely. :D On Sun, 1 Apr 2012, Shea Levy wrote: On 04/01/2012 06:46 PM, Russell O'Connor wrote: Author: roconnor Date: Sun Apr 1 22:46:15 2012 New Revision: 33532 URL: https://nixos.org/websvn/nix/?rev

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r33420 - in nixpkgs/trunk/pkgs: applications/science/logic/matita top-level

2012-03-26 Thread roconnor
On Mon, 26 Mar 2012, Eelco Dolstra wrote: Hi, On 25/03/12 23:27, Russell O'Connor wrote: - patches = [ ./configure_130312.patch ./130312.patch ]; + patches = [ ./configure_130312.patch ]; The file ./configure_130312.patch seems to be missing (http://hydra.nixos.org/build/2337237).

[Nix-dev] update/release new version of nix

2012-02-06 Thread roconnor
I have a friend interested in installing nix under Ubuntu 10.04 and 11.10, however all the nix packages listed on the download page http://nixos.org/nix/download.html are for older version of Ubuntu. Is anyone willing to build packages for nix for newer releases of Ubuntu? It would go a long

Re: [Nix-dev] wicd managing wireless network

2012-01-05 Thread roconnor
On Mon, 2 Jan 2012, Sergey Mironov wrote: I have successfully set up wpa2 wireless network using wicd, but it was not that easy. The problem is that dhclient doesn't ignore wlan0 interface by default and wicd doesn't take this fact into account correctly. With just   networking = {    

Re: [Nix-dev] wicd managing wireless network

2012-01-05 Thread roconnor
On Thu, 5 Jan 2012, Alexander Foremny wrote: It is true that you have to reconfigure your system every time you add a *new* wireless network you want to connect to, specifically you have to reconfigure every time you change /etc/wpa_supplicant.conf and want to make the changes active.

Re: [Nix-dev] wicd managing wireless network

2012-01-05 Thread roconnor
On Thu, 5 Jan 2012, Yury G. Kudryashov wrote: https://nixos.org/wiki/Wireless_networking Why isn't wpa_supplicant.conf managed by NixOS? Because it contains passwords. Ah, I see. ;_; -- Russell O'Connor http://r6.ca/ ``All talk about `theft,''' the

[Nix-dev] Can someone sychronize stdenv-updates with trunk?

2011-11-24 Thread roconnor
I was trying to merge trunk into stdenv-updates, but there is a comflict in gcc, so someone who knows what they are doing should resolve it. -- Russell O'Connor http://r6.ca/ ``All talk about `theft,''' the general counsel of the American Graphophone Company