Hi.

I have some bug in the palemoon browser, which I already asked in the palemoon forum [1]. The compile flags can be viewed in about:buildconfig, I attached it to this mail. It apparently uses gcc 5.4.0.

So I was trying to override this package in my ~/config.nix. I have the channel [2] named "unstable" for this user, and the system wide channel [3] as "nixos". My current ~/config.nix I pasted in [4]. The error message is

error: attribute ‘palemoon’ missing, at /home/christoph/.nixpkgs/config.nix:33:16

which apparently means that it cannot find pkgs.palemoon. This might be due to the fact that palemoon is only in the unstable channel, not in the nixos one.

So I would appreciate your help with these two questions:
1. how can I override packages from the unstable channel?
2. probably it would be a good thing to compile palemoon with gcc49 by default if it's true that there are known problems with newer gcc versions.

Kind Regards,
Christoph-Simon Senjak

[1]:https://forum.palemoon.org/viewtopic.php?f=57&t=15296&e=1
[2]:https://nixos.org/channels/nixos-unstable
[3]:https://nixos.org/channels/nixos-16.09
[4]:http://lpaste.net/3110338289819713536
Title: about:buildconfig

about:buildconfig

Build Machine

Build platform

target
x86_64-unknown-linux-gnu

Build tools

Compiler Version Compiler flags
gcc 5.4.0 -Wall -Wdeclaration-after-statement -Wempty-body -Wpointer-to-int-cast -Wsign-compare -Wtype-limits -Wno-unused -Wcast-align -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe
g++ 5.4.0 -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O2 -fomit-frame-pointer

Configure arguments

--enable-release --prefix=/nix/store/wb0f3rjvsksynyw0m0gq3i9rvfrg2pkk-palemoon-27.2.1 --enable-application=browser --enable-official-branding --enable-optimize=-O2 --enable-jemalloc --enable-shared-js --disable-tests

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

Reply via email to