Hi.

I am running nixos 16.03. I am triyng to override the qemu package to include brlapi support. (Under Debian, I did this by patching the corresponding package, see [1] for the reference.) Before actually sending a pull request, I wanted to test it (and the required dependencies, which are not met (it for example requires brlapi, but I don't even come that far)), using a package override.

I attached my config.nix as it is right now (it contains some commented old configuration). When running

  nix-env --upgrade --fallback --leq

I get the error message

error: attribute ‘override’ missing, at /nix/store/vaxwq6y3sacz51vi3z7bydn3nbwp76sj-nixos-16.03-16.03.1299.a8e0739/nixos-16.03/pkgs/top-level/all-packages.nix:10966:23

I asked on freenode.net/#nixos, and another person answered: "I get far enough to get a build error: ERROR: User requested feature brlapi configure was not able to find it. Install brlapi devel" and "I'm on 16.03 indeed"

That probably means that there is something wrong with my system. But I don't really have an idea where to look for this.

Best Regards,
Christoph-Simon Senjak

[1]:https://blog.uxul.de/e?e=braille-kvm
{
    allowUnfree = true;

    firefox = {
#     enableGoogleTalkPlugin = true;
#     enableAdobeFlash = true;
    };

    chromium = {
     enablePepperFlash = true; # Chromium's non-NSAPI alternative to Adobe Flash
     enablePepperPDF = true;
     jre = true;
     icedtea = true;
    };

    mplayer = {
      alsaSupport = false;
      pulseSupport = true;
    };


  packageOverrides = pkgs: rec {
    qemu = pkgs.stdenv.lib.overrideDerivation pkgs.qemu (oldAttrs : {
      configureFlags = oldAttrs.configureFlags ++ ["--enable-brlapi"];
    });
  };

    # packageOverrides = pkgs: rec {
    #   qemu = pkgs.qemu.override (oldAttrs : {
    #     configureFlags = oldAttrs.configureFlags ++ ["--enable-brlapi"];
    #   });
    #   #brltty = pkgs.brltty.override (old : {
    #   #brltty.configureFlags = ["--with-braille-driver=xv"];
    #   #});
    # };

    # packageOverrides = pkgs: rec {
    # emacs = pkgs.emacs.override {
    #  withGTK2 = false;
    #  withGTK3 = false;
    # };
    # };

}
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to