Re: [Nix-dev] how to add buildInput with derivation
Bjørn Forsmanwrites: > Try > > packageOverrides = pkgs: rec { > qutebrowser = pkgs.qutebrowser.overrideDerivation (oldAttrs: rec { > nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ > pkgs.qt5.qtwebengine > ]; > }); > }; Thanks, yes at least the syntax is fine, but sadly does not change anything. I cant even import qtengine manualy with the installed python (3.5) interpreter. not with import qtwebengine or import webengine or import QtWebEngine 5.7 or import QtWebEngine and qutebrowser also tells me taht I should install qtwebengine when I try to start it with "--backend webengine" ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] how to add buildInput with derivation
On 8 November 2016 at 22:01, Stefan Huchlerwrote: > Because I have problems with qutebrowser I want to try out the new > qtwebengine backend. > > I am not 100% shure that I edit the right variable but I want to add > qtwebengine to the buildInputs variable of that package: > >{ > packageOverrides = pkgs: rec { >qutebrowser = pkgs.stdenv.lib.overrideDerivation pkgs.qutebrowser > (oldAttrs : { > buildPythonApplication.buildInputs = [ >qtbase qtwebkit-plugins qtwebengine >gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly > gst-libav >glib_networking > ]; >}); > }; >} > > I get then the error: > > error: undefined variable ‘qtbase’ at /home/.../.nixpkgs/config.nix:5:12 > > here is the package I want to manipulate: > > https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/browsers/qutebrowser/default.nix > > Can somebody give me a hint what I did wrong? And if that that would > work to get the qtwebengine backend availible? Try packageOverrides = pkgs: rec { qutebrowser = pkgs.qutebrowser.overrideDerivation (oldAttrs: rec { nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ pkgs.qt5.qtwebengine ]; }); }; Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] how to add buildInput with derivation
Because I have problems with qutebrowser I want to try out the new qtwebengine backend. I am not 100% shure that I edit the right variable but I want to add qtwebengine to the buildInputs variable of that package: { packageOverrides = pkgs: rec { qutebrowser = pkgs.stdenv.lib.overrideDerivation pkgs.qutebrowser (oldAttrs : { buildPythonApplication.buildInputs = [ qtbase qtwebkit-plugins qtwebengine gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav glib_networking ]; }); }; } I get then the error: error: undefined variable ‘qtbase’ at /home/.../.nixpkgs/config.nix:5:12 here is the package I want to manipulate: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/browsers/qutebrowser/default.nix Can somebody give me a hint what I did wrong? And if that that would work to get the qtwebengine backend availible? ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev