mozilla / nixpkgs-mozilla Goto Github PK
View Code? Open in Web Editor NEWMozilla overlay for Nixpkgs.
License: MIT License
Mozilla overlay for Nixpkgs.
License: MIT License
I'm using Nix 2.0.2
on NixOS 18.03.132535.2ee48415afc (Impala)
and trying to install Firefox Beta using nix-env -iA nixos.latest.firefox-beta-bin
. This results in the following error (full logs below):
error: getting status of '/nix/store/x087jk2xg3kk93g82i8jcggnp4zfj7mp-firefox-bin-61.0b10/share/icons/hicolor/16x16/apps/firefox.png': No such file or directory
I also get the same error when I attempt to install Nightly or Stable.
The path it's complaining about is a symbolic link to:
/nix/store/5z75in9cys77bvmrzkxq1sn6b72pg5bl-firefox-release-bin-unwrapped-61.0b10/lib/firefox/browser/chrome/icons/default/default16.png
when it should be:
/nix/store/5z75in9cys77bvmrzkxq1sn6b72pg5bl-firefox-release-bin-unwrapped-61.0b10/lib/firefox-bin-61.0b10/browser/chrome/icons/default/default16.png
$ nix-env -iA nixos.latest.firefox-beta-bin
replacing old 'firefox-bin-62.0a1'
installing 'firefox-bin-61.0b10'
these derivations will be built:
/nix/store/4xfwr5gzdj5w32x3wxy42aprmmvm6954-check-firefox-signature.drv
/nix/store/9yy04jlnmnxw9d2rxwjnr24jb270h2hm-firefox-61.0b10.tar.bz2.drv
/nix/store/0zqk7zvcy84pxcdpghylv03iaqhq4spr-firefox-release-bin-unwrapped-61.0b10.drv
/nix/store/sl7i8iyl218bmqapmkna3rxin661h551-firefox-bin-61.0b10.drv
these paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
/nix/store/rws97v54wjp1dib15g1q5ck84zvg4rn3-firefox.desktop
copying path '/nix/store/rws97v54wjp1dib15g1q5ck84zvg4rn3-firefox.desktop' from 'https://cache.nixos.org'...
building '/nix/store/4xfwr5gzdj5w32x3wxy42aprmmvm6954-check-firefox-signature.drv'...
++ cat /nix/store/3bv14sgrx5wp39krx3pk5wcxi8anybv5-firefox.key
++ gpg --import
gpg: directory '/build/tmp.wRFXt8jT5f/.gnupg' created
gpg: keybox '/build/tmp.wRFXt8jT5f/.gnupg/pubring.kbx' created
gpg: key 61B7B526D98F0353: 24 signatures not checked due to missing keys
gpg: /build/tmp.wRFXt8jT5f/.gnupg/trustdb.gpg: trustdb created
gpg: key 61B7B526D98F0353: public key "Mozilla Software Releases <[email protected]>" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no ultimately trusted keys found
++ gpgv --keyring=/build/tmp.wRFXt8jT5f/.gnupg/pubring.kbx /nix/store/skwy7s6g5dc4rm4yd092a80w90b8mhfm-SHA512SUMS.asc /nix/store/b0vm07rwcffa5
nqnxsldfqvr4if6ws43-SHA512SUMS
gpgv: Signature made Wed May 30 23:52:27 2018 UTC
gpgv: using RSA key BBBEBDBB24C6F355
gpgv: Good signature from "Mozilla Software Releases <[email protected]>"
++ mkdir /nix/store/s50nf0in58fvljrfr3jy68348a74g9r6-check-firefox-signature
+ eval 'set +o nounset'
++ set +o nounset
+ return
+ exitHandler
+ exitCode=0
+ set +e
+ '[' -n '' ']'
+ (( 0 != 0 ))
+ runHook exitHook
++ shopt -po nounset
+ local 'oldOpts=set +o nounset'
+ set -u
+ local hookName=exitHook
+ shift
+ local 'hooksSlice=exitHooks[@]'
+ local hook
+ for hook in "_callImplicitHook 0 $hookName" ${!hooksSlice+"${!hooksSlice}"}
+ _eval '_callImplicitHook 0 exitHook'
++ type -t '_callImplicitHook 0 exitHook'
+ '[' '' = function ']'
+ set +u
+ eval '_callImplicitHook 0 exitHook'
++ _callImplicitHook 0 exitHook
++ set -u
++ local def=0
++ local hookName=exitHook
++ case "$(type -t "$hookName")" in
+++ type -t exitHook
++ '[' -z '' ']'
++ return 0
+ set -u
+ eval 'set +o nounset'
++ set +o nounset
+ return 0
+ exit 0
building '/nix/store/9yy04jlnmnxw9d2rxwjnr24jb270h2hm-firefox-61.0b10.tar.bz2.drv'...
trying http://download.cdn.mozilla.net/pub/firefox/releases/61.0b10/linux-x86_64/en-US/firefox-61.0b10.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 50.1M 100 50.1M 0 0 2676k 0 0:00:19 0:00:19 --:--:-- 2408k
building '/nix/store/0zqk7zvcy84pxcdpghylv03iaqhq4spr-firefox-release-bin-unwrapped-61.0b10.drv'...
unpacking sources
unpacking source archive /nix/store/xs955dz5rd7kxxacbzbs5aqmzzjs0wgc-firefox-61.0b10.tar.bz2
source root is firefox
setting SOURCE_DATE_EPOCH to timestamp 1527709825 of file firefox/precomplete
installing
post-installation fixup
patching script interpreter paths in /nix/store/5z75in9cys77bvmrzkxq1sn6b72pg5bl-firefox-release-bin-unwrapped-61.0b10
checking for references to /build in /nix/store/5z75in9cys77bvmrzkxq1sn6b72pg5bl-firefox-release-bin-unwrapped-61.0b10...
Wrapping program /nix/store/5z75in9cys77bvmrzkxq1sn6b72pg5bl-firefox-release-bin-unwrapped-61.0b10/bin/firefox
building '/nix/store/sl7i8iyl218bmqapmkna3rxin661h551-firefox-bin-61.0b10.drv'...
building '/nix/store/jyqhc7hwyg9sf6bblrxnl3v9q80jjbdm-user-environment.drv'...
error: getting status of '/nix/store/x087jk2xg3kk93g82i8jcggnp4zfj7mp-firefox-bin-61.0b10/share/icons/hicolor/16x16/apps/firefox.png': No such file or directory
builder for '/nix/store/jyqhc7hwyg9sf6bblrxnl3v9q80jjbdm-user-environment.drv' failed with exit code 1
error: build of '/nix/store/jyqhc7hwyg9sf6bblrxnl3v9q80jjbdm-user-environment.drv' failed
It worked OK on 18.03, but I now get:
/opt/vidyo/VidyoDesktop/VidyoDesktop: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
nix-info:
"x86_64-linux"
Linux 4.14.51, NixOS, 18.09pre143771.a8c71037e04 (Jellyfish)
yes
no
nix-env (Nix) 2.0.4
""
"nixos-18.09pre143771.a8c71037e04"
/nix/var/nix/profiles/per-user/root/channels/nixos
System information:
NixOS 17.03 x86_64
nixpkgs-mozilla rust-overlay from commit 4779fb7
Scenario:
Error:
Compiling hello v0.1.0 (file:///home/tripokey/workspace/hello)
Running `rustc --crate-name hello src/main.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=0939145ad9e4c58b -C extra-filename=-0939145ad9e4c58b --out-dir /home/tripokey/workspace/hello/target/debug/deps -L dependency=/home/tripokey/workspace/hello/target/debug/deps`
error: could not exec the linker `cc`: No such file or directory (os error 2)
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/nix/store/ncscnvm1rpff5f3fmd1744z7q5ci60q9-rust-1.16.0-2017-03-10-30cf806ef/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/tripokey/workspace/hello/target/debug/deps/hello-0939145ad9e4c58b.0.o" "-o" "/home/tripokey/workspace/hello/target/debug/deps/hello-0939145ad9e4c58b" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/home/tripokey/workspace/hello/target/debug/deps" "-L" "/nix/store/ncscnvm1rpff5f3fmd1744z7q5ci60q9-rust-1.16.0-2017-03-10-30cf806ef/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,-Bdynamic" "/nix/store/ncscnvm1rpff5f3fmd1744z7q5ci60q9-rust-1.16.0-2017-03-10-30cf806ef/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-13f36e2630c2d79b.rlib" "/nix/store/ncscnvm1rpff5f3fmd1744z7q5ci60q9-rust-1.16.0-2017-03-10-30cf806ef/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-a2ef7979b4b3e1d5.rlib" "/nix/store/ncscnvm1rpff5f3fmd1744z7q5ci60q9-rust-1.16.0-2017-03-10-30cf806ef/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-d22754c8c52de3a1.rlib" "/nix/store/ncscnvm1rpff5f3fmd1744z7q5ci60q9-rust-1.16.0-2017-03-10-30cf806ef/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_unicode-1cc5fcd37568ebc4.rlib" "/nix/store/ncscnvm1rpff5f3fmd1744z7q5ci60q9-rust-1.16.0-2017-03-10-30cf806ef/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-3b9d178f1de89528.rlib" "/nix/store/ncscnvm1rpff5f3fmd1744z7q5ci60q9-rust-1.16.0-2017-03-10-30cf806ef/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-93bb403c9fc56f72.rlib" "/nix/store/ncscnvm1rpff5f3fmd1744z7q5ci60q9-rust-1.16.0-2017-03-10-30cf806ef/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c53f99154bf815c4.rlib" "/nix/store/ncscnvm1rpff5f3fmd1744z7q5ci60q9-rust-1.16.0-2017-03-10-30cf806ef/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-f1bb04f5989dcb98.rlib" "/nix/store/ncscnvm1rpff5f3fmd1744z7q5ci60q9-rust-1.16.0-2017-03-10-30cf806ef/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-739908a2e215dd88.rlib" "/nix/store/ncscnvm1rpff5f3fmd1744z7q5ci60q9-rust-1.16.0-2017-03-10-30cf806ef/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-3f4289353c600297.rlib" "/nix/store/ncscnvm1rpff5f3fmd1744z7q5ci60q9-rust-1.16.0-2017-03-10-30cf806ef/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-07bfb3bcb2a51da0.rlib" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "util"
error: aborting due to previous error
error: Could not compile `hello`.
Caused by:
process didn't exit successfully: `rustc --crate-name hello src/main.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=0939145ad9e4c58b -Cextra-filename=-0939145ad9e4c58b --out-dir /home/tripokey/workspace/hello/target/debug/deps -L dependency=/home/tripokey/workspace/hello/target/debug/deps` (exit code: 101)
It would be way easier to use system-wide (and per-user) if one could simply do a nix-channel --add https://banana.peach/nixpkgs-mozilla
.
After upgrading Hydra, Rust imported from the overlay failed to build with an "invalid regular expression" error in Hydra. After a lot of hunting, it turns out there's a size limit in std::regex
(_GLIBCXX_REGEX_STATE_LIMIT
), which the parseTOML
regex seems to exceed. Hydra only builds with nixUnstable
, currently Nix 1.12pre, where there was a change in the regex type which I suspect introduced this limit.
I'm not sure what the solution is here; I gave up after a bit and switched to importing from JSON instead, which works fine for our use case (pinned versions).
On NixOS 17.09.git.b50193f
dynamic-linker
no longer exists in $NIX_CC/nix-support/
which is breaking some packages. Please see #66 (comment) for details.
@nbp: as discussed during FOSDEM here is the issue I tried to describe.
This issue occurs with all PRs that I am testing while the mozilla overlay exists in .config/nixpkgs/overlays/nixpkgs-mozilla
.
I can use the overlay (outside of the scope of nox) just fine.
# nix-shell -p nox --run "nox-review pr 33680" /home/andi
=== Reviewing PR 33680 : notmuch: 0.25.3 -> 0.26
==> Fetching base (master)
==> Fetching PR
==> Fetching extra history for merging
==> Merging PR into base
error: while querying the derivation named 'servo-latest':
while evaluating the attribute 'buildInputs' of the derivation 'servo-latest' at /home/andi/.nox/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating 'getOutput' at /home/andi/.nox/nixpkgs/lib/attrsets.nix:450:23, called from undefined position:
while evaluating anonymous function at /home/andi/.nox/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:97:17, called from undefined position:
anonymous function at /home/andi/.nox/nixpkgs/pkgs/build-support/rust/default.nix:7:1 called without required argument 'cargoSha256', at /home/andi/.config/nixpkgs/overlays/nixpkgs-mozilla/pkgs/servo/default.nix:43:15
Traceback (most recent call last):
File "/nix/store/hn9sswpyglcwjgyg5g2jnrq1n2f50rfz-nox-0.0.6/bin/.nox-review-wrapped", line 12, in <module>
sys.exit(cli())
File "/nix/store/y6g9fafk91jpnnns7wl3njhrjqmam5kj-python3.6-click-6.7/lib/python3.6/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/nix/store/y6g9fafk91jpnnns7wl3njhrjqmam5kj-python3.6-click-6.7/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/nix/store/y6g9fafk91jpnnns7wl3njhrjqmam5kj-python3.6-click-6.7/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/nix/store/y6g9fafk91jpnnns7wl3njhrjqmam5kj-python3.6-click-6.7/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/nix/store/y6g9fafk91jpnnns7wl3njhrjqmam5kj-python3.6-click-6.7/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/nix/store/y6g9fafk91jpnnns7wl3njhrjqmam5kj-python3.6-click-6.7/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/nix/store/hn9sswpyglcwjgyg5g2jnrq1n2f50rfz-nox-0.0.6/lib/python3.6/site-packages/nox/review.py", line 71, in _
f(*args, **kwargs)
File "/nix/store/hn9sswpyglcwjgyg5g2jnrq1n2f50rfz-nox-0.0.6/lib/python3.6/site-packages/nox/review.py", line 184, in review_pr
attrs = differences(packages_for_sha(base),
File "/nix/store/81lwc481132mx4l83kwbpby331y2j5vv-python3.6-dogpile.cache-0.6.4/lib/python3.6/site-packages/dogpile/cache/region.py", line 1231, in decorate
should_cache_fn)
File "/nix/store/81lwc481132mx4l83kwbpby331y2j5vv-python3.6-dogpile.cache-0.6.4/lib/python3.6/site-packages/dogpile/cache/region.py", line 833, in get_or_create
async_creator) as value:
File "/nix/store/81lwc481132mx4l83kwbpby331y2j5vv-python3.6-dogpile.cache-0.6.4/lib/python3.6/site-packages/dogpile/lock.py", line 154, in __enter__
return self._enter()
File "/nix/store/81lwc481132mx4l83kwbpby331y2j5vv-python3.6-dogpile.cache-0.6.4/lib/python3.6/site-packages/dogpile/lock.py", line 94, in _enter
generated = self._enter_create(createdtime)
File "/nix/store/81lwc481132mx4l83kwbpby331y2j5vv-python3.6-dogpile.cache-0.6.4/lib/python3.6/site-packages/dogpile/lock.py", line 145, in _enter_create
created = self.creator()
File "/nix/store/81lwc481132mx4l83kwbpby331y2j5vv-python3.6-dogpile.cache-0.6.4/lib/python3.6/site-packages/dogpile/cache/region.py", line 800, in gen_value
created_value = creator()
File "/nix/store/81lwc481132mx4l83kwbpby331y2j5vv-python3.6-dogpile.cache-0.6.4/lib/python3.6/site-packages/dogpile/cache/region.py", line 1227, in creator
return fn(*arg, **kw)
File "/nix/store/hn9sswpyglcwjgyg5g2jnrq1n2f50rfz-nox-0.0.6/lib/python3.6/site-packages/nox/nixpkgs_repo.py", line 91, in packages_for_sha
return packages(repo.path)
File "/nix/store/hn9sswpyglcwjgyg5g2jnrq1n2f50rfz-nox-0.0.6/lib/python3.6/site-packages/nox/nixpkgs_repo.py", line 82, in packages
universal_newlines=True)
File "/nix/store/53dyjh7xjhnbibqllr7j27lk2h98n7j7-python3-3.6.4/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/nix/store/53dyjh7xjhnbibqllr7j27lk2h98n7j7-python3-3.6.4/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['nix-env', '-f', '/home/andi/.nox/nixpkgs', '-qaP', '--out-path', '--show-trace']' returned non-zero exit status 1.
Details about my system:
"x86_64-linux"
Linux 4.15.2, NixOS, 18.03.git.87059c2 (Impala)
yes
yes
nix-env (Nix) 2.0pre5889_c287d731
"nixos-18.03pre126729.2e4aded3669, nixos-17.09-17.09.2948.fc2f32394cf"
""
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
This is on macOS Sierra (Darwin), Nix version 1.11.13.
$ nix-env -iA nixpkgs.latest.rustChannels.stable.rust
error: compiling pattern ‘([
]*(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
...
...repeated a lot of times
...
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")).*’: parentheses not balanced
Currently this is possible via:
rustExtended = rec {
channels = {
stable = pkgs.rustChannels.stable;
# nightly = pkgs.rustChannels.nightlyCustom { date = "2017-05-16"; };
nightly = with pkgs.lib.rustLib;
fromManifest (manifest_v2_url { channel = "nightly"; date = "2017-05-16"; }) {
inherit (pkgs) stdenv fetchurl patchelf;
};
};
stable = (channels.stable.rust.override { extensions = [ "rust-src" ]; });
nightly = (channels.nightly.rust.override { extensions = [ "rust-src" "rls" ]; });
};
The line that is commented out is possible with the referencing PR.
I'm trying to use this overlay to set up a rust development environment which relies on racer complete
to work.
racer honors the RUST_SRC_PATH
environment variable, and I'm currently looking for the appropriate path to set here. AFAIU the directory at this path should contain the rust source as well as the stdlib source, and I was hoping for the rust package to provide this.
In the following examples pkgs
is a nixpkgs set that has the overlay installed:
This shows that the rust package doesn't install any sources in its output directory.
$ find -L $(nix-build -A pkgs.rustChannels.stable.rust) -name "*.rs"
While the rust-src package seems to contain the std library too, which is fortunate because this would be my current candidate for RUST_SRC_PATH
.
$ find -L $(nix-build -A pkgs.rustChannels.stable.rust-src) -name "*.rs" | grep "src/libstd/process"
/nix/store/mx29z711csf2hf0fs67405qlc8mha7gd-rust-src-1.16.0-2017-03-10-30cf806ef/lib/rustlib/src/rust/src/libstd/process.rs
According to the current expressions, all that fromManifest
does really is call ./install.sh from the source archives, which somehow doesn't work for the meta package, but seems to work for the standalone packages.
let
hostTripleOf = system: { # switch
"i686-linux" = "i686-unknown-linux-gnu";
"x86_64-linux" = "x86_64-unknown-linux-gnu";
"armv5tel-linux" = "arm-unknown-linux-gnueabi";
"armv6l-linux" = "arm-unknown-linux-gnueabi";
"armv7l-linux" = "arm-unknown-linux-gnueabi";
"aarch64-linux" = "aarch64-unknown-linux-gnu";
"mips64el-linux" = "mips64el-unknown-linux-gnuabi64";
"x86_64-darwin" = "x86_64-apple-darwin";
"i686-cygwin" = "i686-pc-windows-gnu"; # or msvc?
"x86_64-cygwin" = "x86_64-pc-windows-gnu"; # or msvc?
"x86_64-freebsd" = "x86_64-unknown-freebsd";
}.${system} or (throw "Rust overlay does not support ${system} yet.");
should no longer be needed. But extra massaging in lib/systems/parse.nix
might be necessary first.
See the nixpkgs-unstable manual.
Currently the overlay only installs the rust-std
for the target you are building on/(for?). Should either download all targets by default or let us pass in a parameter to choose additional targets to install.
Sidenote: This is blocking my ability to use the rust-overlay to compile to WASM.
When installing both rust
and rust-src
from the rust-overlay (specifically, from the nightly
channel), after installing Xargo (cargo install xargo
), it will fail to run:
$ xargo --help
error: `rust-src` component not found. Run `rustup component add rust-src`.
note: run with `RUST_BACKTRACE=1` for a backtrace
An strace -f
suggests that Xargo is incorrectly looking for the src
in the main rust
derivation output, not the rust-src
output:
stat("/nix/store/i9yr504pkw2q7l80mp51pri89pyq50rf-rust-1.20.0-nightly-2017-07-24-598eddf4f/lib/rustlib/src/rust/src/libstd/Cargo.toml", 0x7fffb2fa9c30) = -1 ENOENT (No such file or directory)
stat("/nix/store/i9yr504pkw2q7l80mp51pri89pyq50rf-rust-1.20.0-nightly-2017-07-24-598eddf4f/lib/rustlib/src", 0x7fffb2fa9c30) = -1 ENOENT (No such file or directory)
write(2, "error: ", 7error: ) = 7
write(2, "`rust-src` component not found. "..., 68`rust-src` component not found. Run `rustup component add rust-src`.) = 68
I don't know if this is strictly speaking a problem with the rust-overlay, but I'd imagine that more tools might be making the same assumption as to where to find the sources.
The full process to get it working:
nixpkgs.rustChannels.nightly.rust-src
package (or a rust-src
from your channel of choice) from the Mozilla overlay.environment.pathsToLink = [ "/lib/rustlib/src" ];
.bashrc
: export XARGO_RUST_SRC="/run/current-system/sw/lib/rustlib/src/rust/src"
This probably is more impure than it should be, but at least it makes Xargo work. Alternative suggestions are very welcome, a 'proper' fix even moreso :)
I get:
output path ‘/nix/store/hc46q7rs43aphmdcf6gyvnwj4msmgldd-firefox-57.0a1.en-US.linux-x86_64.tar.bz2’ has sha512 hash ‘2r8m2k0aw844xd125yqs83qblh645sk0zq9rvmzvv8kjrzkivshzpfv1xg2rlijar819l9k1ics5ifr4acj4f9103dvfpmhqk1fii2f’ when ‘1wrzqadr4k77gpl78v99ijzg5p9j6fsndsr42kxw84dgl22yanyz1md7p3vsf8m2fq93nfs8zksnnm6jj66r92b9qchjz09xfnnaqd3’ was expected
and opened https://bugzilla.mozilla.org/show_bug.cgi?id=1396337 to track it on releng side of things.
In short, trying several hours later fixes it.
https://github.com/stransky/gecko-dev claims to be merged to upstream, but native wayland support still doesn't work on firefox-nightly-bin
(60.0a1); see:
> env GDK_BACKEND=wayland firefox
< Error: no DISPLAY environment variable specified
Any reason for that?
Recently I added some fonts to my configuration.nix and updated Firefox Nightly (using nix-shell update.nix --argstr maintainer garbas
). After rebuild, Nightly no longer displays text on websites. Alternately, for some fonts, it shows rectangles instead of characters.
I tried removing the fonts section in my nix configuration, cleaning fontconfig cache using fc-cache -rv
, removing fonts and building newer Firefox build, running empty Firefox profile, changing default fonts for web pages; nothing seems to work.
Output of running Firefox with FC_DEBUG
variable set to 1024
:
$ env FC_DEBUG=1024 firefox
FC_DEBUG=1024
Loading config file /etc/fonts/2.11/fonts.conf
Scanning config dir /etc/fonts/2.11/conf.d
Loading config file /etc/fonts/2.11/conf.d/00-nixos-cache.conf
Loading config file /etc/fonts/2.11/conf.d/10-antialias.conf
Loading config file /etc/fonts/2.11/conf.d/10-hinting.conf
Loading config file /etc/fonts/2.11/conf.d/10-no-embedded-bitmaps.conf
Loading config file /etc/fonts/2.11/conf.d/10-subpixel.conf
Loading config file /etc/fonts/2.11/conf.d/30-liberation-mono.conf
Loading config file /etc/fonts/2.11/conf.d/30-liberation-sans-narrow.conf
Loading config file /etc/fonts/2.11/conf.d/30-liberation-sans.conf
Loading config file /etc/fonts/2.11/conf.d/30-liberation-serif.conf
Loading config file /etc/fonts/2.11/conf.d/31-tex-gyre.conf
Loading config file /etc/fonts/2.11/conf.d/31-titillium.conf
Loading config file /etc/fonts/2.11/conf.d/31-urw-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/37-repl-webfonts.conf
Loading config file /etc/fonts/2.11/conf.d/38-repl-proggy-bitmap.conf
Loading config file /etc/fonts/2.11/conf.d/38-repl-terminus-bitmap.conf
Loading config file /etc/fonts/2.11/conf.d/38-repl-webfonts-custom.conf
Loading config file /etc/fonts/2.11/conf.d/40-alef.conf
Loading config file /etc/fonts/2.11/conf.d/40-amiri.conf
Loading config file /etc/fonts/2.11/conf.d/40-arphic-ukai.conf
Loading config file /etc/fonts/2.11/conf.d/40-arphic-uming.conf
Loading config file /etc/fonts/2.11/conf.d/40-ddc-uchen.conf
Loading config file /etc/fonts/2.11/conf.d/40-dejavusans-yuanti-condensed.conf
Loading config file /etc/fonts/2.11/conf.d/40-dejavusans-yuanti-mono.conf
Loading config file /etc/fonts/2.11/conf.d/40-dejavusans-yuanti.conf
Loading config file /etc/fonts/2.11/conf.d/40-dzongkha.conf
Loading config file /etc/fonts/2.11/conf.d/40-faruma.conf
Loading config file /etc/fonts/2.11/conf.d/40-hannom.conf
Loading config file /etc/fonts/2.11/conf.d/40-himalaya-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/40-ipafont.conf
Loading config file /etc/fonts/2.11/conf.d/40-ipamjfont.conf
Loading config file /etc/fonts/2.11/conf.d/40-khmer-os.conf
Loading config file /etc/fonts/2.11/conf.d/40-koruri.conf
Loading config file /etc/fonts/2.11/conf.d/40-lklug.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-assamese.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-bengali.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-devanagari.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-gujarati.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-gurmukhi.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-kannada.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-malayalam.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-marathi.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-nepali.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-odia.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-punjabi.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-tamil.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-telugu.conf
Loading config file /etc/fonts/2.11/conf.d/40-melthofonts.conf
Loading config file /etc/fonts/2.11/conf.d/40-mph-2b-damase.conf
Loading config file /etc/fonts/2.11/conf.d/40-mplus.conf
Loading config file /etc/fonts/2.11/conf.d/40-myanmar3.conf
Loading config file /etc/fonts/2.11/conf.d/40-nanum-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/40-nanumgothic-coding.conf
Loading config file /etc/fonts/2.11/conf.d/40-noto-arabic.conf
Loading config file /etc/fonts/2.11/conf.d/40-sawarabi.conf
Loading config file /etc/fonts/2.11/conf.d/40-saweri.conf
Loading config file /etc/fonts/2.11/conf.d/40-source-han-sans-cn.conf
Loading config file /etc/fonts/2.11/conf.d/40-source-han-sans-jp.conf
Loading config file /etc/fonts/2.11/conf.d/40-source-han-sans-kr.conf
Loading config file /etc/fonts/2.11/conf.d/40-source-han-sans-twhk.conf
Loading config file /etc/fonts/2.11/conf.d/40-tharlon.conf
Loading config file /etc/fonts/2.11/conf.d/40-umeplus.conf
Loading config file /etc/fonts/2.11/conf.d/40-unfonts-core.conf
Loading config file /etc/fonts/2.11/conf.d/40-vlgothic.conf
Loading config file /etc/fonts/2.11/conf.d/40-wqy-microhei.conf
Loading config file /etc/fonts/2.11/conf.d/40-wqy-zenhei.conf
Loading config file /etc/fonts/2.11/conf.d/45-aboriginal-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-aboriginal-serif.conf
Loading config file /etc/fonts/2.11/conf.d/45-aileron.conf
Loading config file /etc/fonts/2.11/conf.d/45-alegreya-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-alegreya.conf
Loading config file /etc/fonts/2.11/conf.d/45-aleo.conf
Loading config file /etc/fonts/2.11/conf.d/45-amble.conf
Loading config file /etc/fonts/2.11/conf.d/45-andada.conf
Loading config file /etc/fonts/2.11/conf.d/45-antonio.conf
Loading config file /etc/fonts/2.11/conf.d/45-archivo-black.conf
Loading config file /etc/fonts/2.11/conf.d/45-archivo-narrow.conf
Loading config file /etc/fonts/2.11/conf.d/45-arev-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-arsenal.conf
Loading config file /etc/fonts/2.11/conf.d/45-berenis-adf-pro.conf
Loading config file /etc/fonts/2.11/conf.d/45-bitter.conf
Loading config file /etc/fonts/2.11/conf.d/45-bravo.conf
Loading config file /etc/fonts/2.11/conf.d/45-buenard.conf
Loading config file /etc/fonts/2.11/conf.d/45-caladea.conf
Loading config file /etc/fonts/2.11/conf.d/45-camingocode.conf
Loading config file /etc/fonts/2.11/conf.d/45-cantarell.conf
Loading config file /etc/fonts/2.11/conf.d/45-cantoraone.conf
Loading config file /etc/fonts/2.11/conf.d/45-carlito.conf
Loading config file /etc/fonts/2.11/conf.d/45-caviar-dreams.conf
Loading config file /etc/fonts/2.11/conf.d/45-charis-sil.conf
Loading config file /etc/fonts/2.11/conf.d/45-clear-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-comme.conf
Loading config file /etc/fonts/2.11/conf.d/45-consola-mono.conf
Loading config file /etc/fonts/2.11/conf.d/45-cooper-hewitt.conf
Loading config file /etc/fonts/2.11/conf.d/45-courier-prime.conf
Loading config file /etc/fonts/2.11/conf.d/45-crimson-text.conf
Loading config file /etc/fonts/2.11/conf.d/45-croscore-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/45-dejavu.conf
Loading config file /etc/fonts/2.11/conf.d/45-droid.conf
Loading config file /etc/fonts/2.11/conf.d/45-ebgaramond.conf
Loading config file /etc/fonts/2.11/conf.d/45-enriqueta.conf
Loading config file /etc/fonts/2.11/conf.d/45-erewhon.conf
Loading config file /etc/fonts/2.11/conf.d/45-exo2.conf
Loading config file /etc/fonts/2.11/conf.d/45-fanwood.conf
Loading config file /etc/fonts/2.11/conf.d/45-fira-mono.conf
Loading config file /etc/fonts/2.11/conf.d/45-fira-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-gelasio.conf
Loading config file /etc/fonts/2.11/conf.d/45-gentium.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-ce-35-thin.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-ce-55-roman.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-cy.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-narrow.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-neue-lt-com.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-neue.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-world.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica.conf
Loading config file /etc/fonts/2.11/conf.d/45-heuristica.conf
Loading config file /etc/fonts/2.11/conf.d/45-inconsolata-pwl.conf
Loading config file /etc/fonts/2.11/conf.d/45-inconsolatazi4.conf
Loading config file /etc/fonts/2.11/conf.d/45-infini.conf
Loading config file /etc/fonts/2.11/conf.d/45-inknut-antiqua.conf
Loading config file /etc/fonts/2.11/conf.d/45-iosevka.conf
Loading config file /etc/fonts/2.11/conf.d/45-istok.conf
Loading config file /etc/fonts/2.11/conf.d/45-junicode.conf
Loading config file /etc/fonts/2.11/conf.d/45-latin-modern.conf
Loading config file /etc/fonts/2.11/conf.d/45-lato.conf
Loading config file /etc/fonts/2.11/conf.d/45-league-gothic.conf
Loading config file /etc/fonts/2.11/conf.d/45-lekton.conf
Loading config file /etc/fonts/2.11/conf.d/45-liberastika.conf
Loading config file /etc/fonts/2.11/conf.d/45-liberation.conf
Loading config file /etc/fonts/2.11/conf.d/45-libre-baskerville.conf
Loading config file /etc/fonts/2.11/conf.d/45-libre-caslon.conf
Loading config file /etc/fonts/2.11/conf.d/45-linden-hill.conf
Loading config file /etc/fonts/2.11/conf.d/45-linux-libertine-o.conf
Loading config file /etc/fonts/2.11/conf.d/45-linux-libertine.conf
Loading config file /etc/fonts/2.11/conf.d/45-lobster-two.conf
Loading config file /etc/fonts/2.11/conf.d/45-lora.conf
Loading config file /etc/fonts/2.11/conf.d/45-luxi.conf
Loading config file /etc/fonts/2.11/conf.d/45-magra.conf
Loading config file /etc/fonts/2.11/conf.d/45-merriweather-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-merriweather.conf
Loading config file /etc/fonts/2.11/conf.d/45-monoid.conf
Loading config file /etc/fonts/2.11/conf.d/45-montserrat.conf
Loading config file /etc/fonts/2.11/conf.d/45-noticia-text.conf
Loading config file /etc/fonts/2.11/conf.d/45-noto-cros.conf
Loading config file /etc/fonts/2.11/conf.d/45-noto-nonlatin.conf
Loading config file /etc/fonts/2.11/conf.d/45-noto-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-noto-serif.conf
Loading config file /etc/fonts/2.11/conf.d/45-opensans.conf
Loading config file /etc/fonts/2.11/conf.d/45-oswald.conf
Loading config file /etc/fonts/2.11/conf.d/45-overpass.conf
Loading config file /etc/fonts/2.11/conf.d/45-oxygen.conf
Loading config file /etc/fonts/2.11/conf.d/45-paratype.conf
Loading config file /etc/fonts/2.11/conf.d/45-permian.conf
Loading config file /etc/fonts/2.11/conf.d/45-pfeffer-mediaeval.conf
Loading config file /etc/fonts/2.11/conf.d/45-pfennig.conf
Loading config file /etc/fonts/2.11/conf.d/45-playfair-display.conf
Loading config file /etc/fonts/2.11/conf.d/45-postscript.conf
Loading config file /etc/fonts/2.11/conf.d/45-quintessential.conf
Loading config file /etc/fonts/2.11/conf.d/45-raleway.conf
Loading config file /etc/fonts/2.11/conf.d/45-roboto-mono.conf
Loading config file /etc/fonts/2.11/conf.d/45-roboto.conf
Loading config file /etc/fonts/2.11/conf.d/45-sansation.conf
Loading config file /etc/fonts/2.11/conf.d/45-scada.conf
Loading config file /etc/fonts/2.11/conf.d/45-sen.conf
Loading config file /etc/fonts/2.11/conf.d/45-signika.conf
Loading config file /etc/fonts/2.11/conf.d/45-sinkin-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-sorts-mill-goudy.conf
Loading config file /etc/fonts/2.11/conf.d/45-source-code-pro-pwl.conf
Loading config file /etc/fonts/2.11/conf.d/45-source-code-pro.conf
Loading config file /etc/fonts/2.11/conf.d/45-source-sans-pro.conf
Loading config file /etc/fonts/2.11/conf.d/45-source-serif-pro.conf
Loading config file /etc/fonts/2.11/conf.d/45-symbola.conf
Loading config file /etc/fonts/2.11/conf.d/45-tehuti.conf
Loading config file /etc/fonts/2.11/conf.d/45-tex-gyre.conf
Loading config file /etc/fonts/2.11/conf.d/45-titillium.conf
Loading config file /etc/fonts/2.11/conf.d/45-triod-postnaja.conf
Loading config file /etc/fonts/2.11/conf.d/45-ubuntu.conf
Loading config file /etc/fonts/2.11/conf.d/45-unb-pro.conf
Loading config file /etc/fonts/2.11/conf.d/45-urw-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/45-vera-humana-95.conf
Loading config file /etc/fonts/2.11/conf.d/45-vollkorn.conf
Loading config file /etc/fonts/2.11/conf.d/45-weblysleek-ui.conf
Loading config file /etc/fonts/2.11/conf.d/45-work-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-yanone-kaffeesatz.conf
Loading config file /etc/fonts/2.11/conf.d/50-user.conf
Loading config file /etc/fonts/2.11/conf.d/51-local.conf
Loading config file /etc/fonts/2.11/conf.d/52-default-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/53-no-type1.conf
Loading config file /etc/fonts/2.11/conf.d/60-wqy-zenhei-sharp.conf
Loading config file /etc/fonts/2.11/conf.d/65-noto-sans-ui.conf
Loading config file /etc/fonts/2.11/conf.d/65-noto-sans.conf
Loading config file /etc/fonts/2.11/conf.d/65-noto-serif.conf
Loading config file /etc/fonts/2.11/conf.d/65-ttf-droid-sans.conf
Loading config file /etc/fonts/2.11/conf.d/65-ttf-droid-serif.conf
Loading config file /etc/fonts/2.11/conf.d/65-wqy-zenhei.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-assamese.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-bengali.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-devanagari.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-gujarati.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-gurmukhi.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-kannada.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-malayalam.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-marathi.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-nepali.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-odia.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-punjabi.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-tamil.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-telugu.conf
Loading config file /etc/fonts/2.11/conf.d/90-unifont.conf
FC_DEBUG=1024
Loading config file /etc/fonts/2.11/fonts.conf
Scanning config dir /etc/fonts/2.11/conf.d
Loading config file /etc/fonts/2.11/conf.d/00-nixos-cache.conf
Loading config file /etc/fonts/2.11/conf.d/10-antialias.conf
Loading config file /etc/fonts/2.11/conf.d/10-hinting.conf
Loading config file /etc/fonts/2.11/conf.d/10-no-embedded-bitmaps.conf
Loading config file /etc/fonts/2.11/conf.d/10-subpixel.conf
Loading config file /etc/fonts/2.11/conf.d/30-liberation-mono.conf
Loading config file /etc/fonts/2.11/conf.d/30-liberation-sans-narrow.conf
Loading config file /etc/fonts/2.11/conf.d/30-liberation-sans.conf
Loading config file /etc/fonts/2.11/conf.d/30-liberation-serif.conf
Loading config file /etc/fonts/2.11/conf.d/31-tex-gyre.conf
Loading config file /etc/fonts/2.11/conf.d/31-titillium.conf
Loading config file /etc/fonts/2.11/conf.d/31-urw-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/37-repl-webfonts.conf
Loading config file /etc/fonts/2.11/conf.d/38-repl-proggy-bitmap.conf
Loading config file /etc/fonts/2.11/conf.d/38-repl-terminus-bitmap.conf
Loading config file /etc/fonts/2.11/conf.d/38-repl-webfonts-custom.conf
Loading config file /etc/fonts/2.11/conf.d/40-alef.conf
Loading config file /etc/fonts/2.11/conf.d/40-amiri.conf
Loading config file /etc/fonts/2.11/conf.d/40-arphic-ukai.conf
Loading config file /etc/fonts/2.11/conf.d/40-arphic-uming.conf
Loading config file /etc/fonts/2.11/conf.d/40-ddc-uchen.conf
Loading config file /etc/fonts/2.11/conf.d/40-dejavusans-yuanti-condensed.conf
Loading config file /etc/fonts/2.11/conf.d/40-dejavusans-yuanti-mono.conf
Loading config file /etc/fonts/2.11/conf.d/40-dejavusans-yuanti.conf
Loading config file /etc/fonts/2.11/conf.d/40-dzongkha.conf
Loading config file /etc/fonts/2.11/conf.d/40-faruma.conf
Loading config file /etc/fonts/2.11/conf.d/40-hannom.conf
Loading config file /etc/fonts/2.11/conf.d/40-himalaya-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/40-ipafont.conf
Loading config file /etc/fonts/2.11/conf.d/40-ipamjfont.conf
Loading config file /etc/fonts/2.11/conf.d/40-khmer-os.conf
Loading config file /etc/fonts/2.11/conf.d/40-koruri.conf
Loading config file /etc/fonts/2.11/conf.d/40-lklug.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-assamese.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-bengali.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-devanagari.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-gujarati.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-gurmukhi.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-kannada.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-malayalam.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-marathi.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-nepali.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-odia.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-punjabi.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-tamil.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-telugu.conf
Loading config file /etc/fonts/2.11/conf.d/40-melthofonts.conf
Loading config file /etc/fonts/2.11/conf.d/40-mph-2b-damase.conf
Loading config file /etc/fonts/2.11/conf.d/40-mplus.conf
Loading config file /etc/fonts/2.11/conf.d/40-myanmar3.conf
Loading config file /etc/fonts/2.11/conf.d/40-nanum-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/40-nanumgothic-coding.conf
Loading config file /etc/fonts/2.11/conf.d/40-noto-arabic.conf
Loading config file /etc/fonts/2.11/conf.d/40-sawarabi.conf
Loading config file /etc/fonts/2.11/conf.d/40-saweri.conf
Loading config file /etc/fonts/2.11/conf.d/40-source-han-sans-cn.conf
Loading config file /etc/fonts/2.11/conf.d/40-source-han-sans-jp.conf
Loading config file /etc/fonts/2.11/conf.d/40-source-han-sans-kr.conf
Loading config file /etc/fonts/2.11/conf.d/40-source-han-sans-twhk.conf
Loading config file /etc/fonts/2.11/conf.d/40-tharlon.conf
Loading config file /etc/fonts/2.11/conf.d/40-umeplus.conf
Loading config file /etc/fonts/2.11/conf.d/40-unfonts-core.conf
Loading config file /etc/fonts/2.11/conf.d/40-vlgothic.conf
Loading config file /etc/fonts/2.11/conf.d/40-wqy-microhei.conf
Loading config file /etc/fonts/2.11/conf.d/40-wqy-zenhei.conf
Loading config file /etc/fonts/2.11/conf.d/45-aboriginal-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-aboriginal-serif.conf
Loading config file /etc/fonts/2.11/conf.d/45-aileron.conf
Loading config file /etc/fonts/2.11/conf.d/45-alegreya-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-alegreya.conf
Loading config file /etc/fonts/2.11/conf.d/45-aleo.conf
Loading config file /etc/fonts/2.11/conf.d/45-amble.conf
Loading config file /etc/fonts/2.11/conf.d/45-andada.conf
Loading config file /etc/fonts/2.11/conf.d/45-antonio.conf
Loading config file /etc/fonts/2.11/conf.d/45-archivo-black.conf
Loading config file /etc/fonts/2.11/conf.d/45-archivo-narrow.conf
Loading config file /etc/fonts/2.11/conf.d/45-arev-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-arsenal.conf
Loading config file /etc/fonts/2.11/conf.d/45-berenis-adf-pro.conf
Loading config file /etc/fonts/2.11/conf.d/45-bitter.conf
Loading config file /etc/fonts/2.11/conf.d/45-bravo.conf
Loading config file /etc/fonts/2.11/conf.d/45-buenard.conf
Loading config file /etc/fonts/2.11/conf.d/45-caladea.conf
Loading config file /etc/fonts/2.11/conf.d/45-camingocode.conf
Loading config file /etc/fonts/2.11/conf.d/45-cantarell.conf
Loading config file /etc/fonts/2.11/conf.d/45-cantoraone.conf
Loading config file /etc/fonts/2.11/conf.d/45-carlito.conf
Loading config file /etc/fonts/2.11/conf.d/45-caviar-dreams.conf
Loading config file /etc/fonts/2.11/conf.d/45-charis-sil.conf
Loading config file /etc/fonts/2.11/conf.d/45-clear-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-comme.conf
Loading config file /etc/fonts/2.11/conf.d/45-consola-mono.conf
Loading config file /etc/fonts/2.11/conf.d/45-cooper-hewitt.conf
Loading config file /etc/fonts/2.11/conf.d/45-courier-prime.conf
Loading config file /etc/fonts/2.11/conf.d/45-crimson-text.conf
Loading config file /etc/fonts/2.11/conf.d/45-croscore-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/45-dejavu.conf
Loading config file /etc/fonts/2.11/conf.d/45-droid.conf
Loading config file /etc/fonts/2.11/conf.d/45-ebgaramond.conf
Loading config file /etc/fonts/2.11/conf.d/45-enriqueta.conf
Loading config file /etc/fonts/2.11/conf.d/45-erewhon.conf
Loading config file /etc/fonts/2.11/conf.d/45-exo2.conf
Loading config file /etc/fonts/2.11/conf.d/45-fanwood.conf
Loading config file /etc/fonts/2.11/conf.d/45-fira-mono.conf
Loading config file /etc/fonts/2.11/conf.d/45-fira-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-gelasio.conf
Loading config file /etc/fonts/2.11/conf.d/45-gentium.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-ce-35-thin.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-ce-55-roman.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-cy.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-narrow.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-neue-lt-com.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-neue.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-world.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica.conf
Loading config file /etc/fonts/2.11/conf.d/45-heuristica.conf
Loading config file /etc/fonts/2.11/conf.d/45-inconsolata-pwl.conf
Loading config file /etc/fonts/2.11/conf.d/45-inconsolatazi4.conf
Loading config file /etc/fonts/2.11/conf.d/45-infini.conf
Loading config file /etc/fonts/2.11/conf.d/45-inknut-antiqua.conf
Loading config file /etc/fonts/2.11/conf.d/45-iosevka.conf
Loading config file /etc/fonts/2.11/conf.d/45-istok.conf
Loading config file /etc/fonts/2.11/conf.d/45-junicode.conf
Loading config file /etc/fonts/2.11/conf.d/45-latin-modern.conf
Loading config file /etc/fonts/2.11/conf.d/45-lato.conf
Loading config file /etc/fonts/2.11/conf.d/45-league-gothic.conf
Loading config file /etc/fonts/2.11/conf.d/45-lekton.conf
Loading config file /etc/fonts/2.11/conf.d/45-liberastika.conf
Loading config file /etc/fonts/2.11/conf.d/45-liberation.conf
Loading config file /etc/fonts/2.11/conf.d/45-libre-baskerville.conf
Loading config file /etc/fonts/2.11/conf.d/45-libre-caslon.conf
Loading config file /etc/fonts/2.11/conf.d/45-linden-hill.conf
Loading config file /etc/fonts/2.11/conf.d/45-linux-libertine-o.conf
Loading config file /etc/fonts/2.11/conf.d/45-linux-libertine.conf
Loading config file /etc/fonts/2.11/conf.d/45-lobster-two.conf
Loading config file /etc/fonts/2.11/conf.d/45-lora.conf
Loading config file /etc/fonts/2.11/conf.d/45-luxi.conf
Loading config file /etc/fonts/2.11/conf.d/45-magra.conf
Loading config file /etc/fonts/2.11/conf.d/45-merriweather-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-merriweather.conf
Loading config file /etc/fonts/2.11/conf.d/45-monoid.conf
Loading config file /etc/fonts/2.11/conf.d/45-montserrat.conf
Loading config file /etc/fonts/2.11/conf.d/45-noticia-text.conf
Loading config file /etc/fonts/2.11/conf.d/45-noto-cros.conf
Loading config file /etc/fonts/2.11/conf.d/45-noto-nonlatin.conf
Loading config file /etc/fonts/2.11/conf.d/45-noto-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-noto-serif.conf
Loading config file /etc/fonts/2.11/conf.d/45-opensans.conf
Loading config file /etc/fonts/2.11/conf.d/45-oswald.conf
Loading config file /etc/fonts/2.11/conf.d/45-overpass.conf
Loading config file /etc/fonts/2.11/conf.d/45-oxygen.conf
Loading config file /etc/fonts/2.11/conf.d/45-paratype.conf
Loading config file /etc/fonts/2.11/conf.d/45-permian.conf
Loading config file /etc/fonts/2.11/conf.d/45-pfeffer-mediaeval.conf
Loading config file /etc/fonts/2.11/conf.d/45-pfennig.conf
Loading config file /etc/fonts/2.11/conf.d/45-playfair-display.conf
Loading config file /etc/fonts/2.11/conf.d/45-postscript.conf
Loading config file /etc/fonts/2.11/conf.d/45-quintessential.conf
Loading config file /etc/fonts/2.11/conf.d/45-raleway.conf
Loading config file /etc/fonts/2.11/conf.d/45-roboto-mono.conf
Loading config file /etc/fonts/2.11/conf.d/45-roboto.conf
Loading config file /etc/fonts/2.11/conf.d/45-sansation.conf
Loading config file /etc/fonts/2.11/conf.d/45-scada.conf
Loading config file /etc/fonts/2.11/conf.d/45-sen.conf
Loading config file /etc/fonts/2.11/conf.d/45-signika.conf
Loading config file /etc/fonts/2.11/conf.d/45-sinkin-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-sorts-mill-goudy.conf
Loading config file /etc/fonts/2.11/conf.d/45-source-code-pro-pwl.conf
Loading config file /etc/fonts/2.11/conf.d/45-source-code-pro.conf
Loading config file /etc/fonts/2.11/conf.d/45-source-sans-pro.conf
Loading config file /etc/fonts/2.11/conf.d/45-source-serif-pro.conf
Loading config file /etc/fonts/2.11/conf.d/45-symbola.conf
Loading config file /etc/fonts/2.11/conf.d/45-tehuti.conf
Loading config file /etc/fonts/2.11/conf.d/45-tex-gyre.conf
Loading config file /etc/fonts/2.11/conf.d/45-titillium.conf
Loading config file /etc/fonts/2.11/conf.d/45-triod-postnaja.conf
Loading config file /etc/fonts/2.11/conf.d/45-ubuntu.conf
Loading config file /etc/fonts/2.11/conf.d/45-unb-pro.conf
Loading config file /etc/fonts/2.11/conf.d/45-urw-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/45-vera-humana-95.conf
Loading config file /etc/fonts/2.11/conf.d/45-vollkorn.conf
Loading config file /etc/fonts/2.11/conf.d/45-weblysleek-ui.conf
Loading config file /etc/fonts/2.11/conf.d/45-work-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-yanone-kaffeesatz.conf
Loading config file /etc/fonts/2.11/conf.d/50-user.conf
Loading config file /etc/fonts/2.11/conf.d/51-local.conf
Loading config file /etc/fonts/2.11/conf.d/52-default-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/53-no-type1.conf
Loading config file /etc/fonts/2.11/conf.d/60-wqy-zenhei-sharp.conf
Loading config file /etc/fonts/2.11/conf.d/65-noto-sans-ui.conf
Loading config file /etc/fonts/2.11/conf.d/65-noto-sans.conf
Loading config file /etc/fonts/2.11/conf.d/65-noto-serif.conf
Loading config file /etc/fonts/2.11/conf.d/65-ttf-droid-sans.conf
Loading config file /etc/fonts/2.11/conf.d/65-ttf-droid-serif.conf
Loading config file /etc/fonts/2.11/conf.d/65-wqy-zenhei.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-assamese.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-bengali.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-devanagari.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-gujarati.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-gurmukhi.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-kannada.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-malayalam.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-marathi.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-nepali.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-odia.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-punjabi.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-tamil.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-telugu.conf
Loading config file /etc/fonts/2.11/conf.d/90-unifont.conf
FC_DEBUG=1024
Loading config file /etc/fonts/2.11/fonts.conf
Scanning config dir /etc/fonts/2.11/conf.d
Loading config file /etc/fonts/2.11/conf.d/00-nixos-cache.conf
Loading config file /etc/fonts/2.11/conf.d/10-antialias.conf
Loading config file /etc/fonts/2.11/conf.d/10-hinting.conf
Loading config file /etc/fonts/2.11/conf.d/10-no-embedded-bitmaps.conf
Loading config file /etc/fonts/2.11/conf.d/10-subpixel.conf
Loading config file /etc/fonts/2.11/conf.d/30-liberation-mono.conf
Loading config file /etc/fonts/2.11/conf.d/30-liberation-sans-narrow.conf
Loading config file /etc/fonts/2.11/conf.d/30-liberation-sans.conf
Loading config file /etc/fonts/2.11/conf.d/30-liberation-serif.conf
Loading config file /etc/fonts/2.11/conf.d/31-tex-gyre.conf
Loading config file /etc/fonts/2.11/conf.d/31-titillium.conf
Loading config file /etc/fonts/2.11/conf.d/31-urw-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/37-repl-webfonts.conf
Loading config file /etc/fonts/2.11/conf.d/38-repl-proggy-bitmap.conf
Loading config file /etc/fonts/2.11/conf.d/38-repl-terminus-bitmap.conf
Loading config file /etc/fonts/2.11/conf.d/38-repl-webfonts-custom.conf
Loading config file /etc/fonts/2.11/conf.d/40-alef.conf
Loading config file /etc/fonts/2.11/conf.d/40-amiri.conf
Loading config file /etc/fonts/2.11/conf.d/40-arphic-ukai.conf
Loading config file /etc/fonts/2.11/conf.d/40-arphic-uming.conf
Loading config file /etc/fonts/2.11/conf.d/40-ddc-uchen.conf
Loading config file /etc/fonts/2.11/conf.d/40-dejavusans-yuanti-condensed.conf
Loading config file /etc/fonts/2.11/conf.d/40-dejavusans-yuanti-mono.conf
Loading config file /etc/fonts/2.11/conf.d/40-dejavusans-yuanti.conf
Loading config file /etc/fonts/2.11/conf.d/40-dzongkha.conf
Loading config file /etc/fonts/2.11/conf.d/40-faruma.conf
Loading config file /etc/fonts/2.11/conf.d/40-hannom.conf
Loading config file /etc/fonts/2.11/conf.d/40-himalaya-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/40-ipafont.conf
Loading config file /etc/fonts/2.11/conf.d/40-ipamjfont.conf
Loading config file /etc/fonts/2.11/conf.d/40-khmer-os.conf
Loading config file /etc/fonts/2.11/conf.d/40-koruri.conf
Loading config file /etc/fonts/2.11/conf.d/40-lklug.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-assamese.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-bengali.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-devanagari.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-gujarati.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-gurmukhi.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-kannada.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-malayalam.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-marathi.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-nepali.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-odia.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-punjabi.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-tamil.conf
Loading config file /etc/fonts/2.11/conf.d/40-lohit-telugu.conf
Loading config file /etc/fonts/2.11/conf.d/40-melthofonts.conf
Loading config file /etc/fonts/2.11/conf.d/40-mph-2b-damase.conf
Loading config file /etc/fonts/2.11/conf.d/40-mplus.conf
Loading config file /etc/fonts/2.11/conf.d/40-myanmar3.conf
Loading config file /etc/fonts/2.11/conf.d/40-nanum-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/40-nanumgothic-coding.conf
Loading config file /etc/fonts/2.11/conf.d/40-noto-arabic.conf
Loading config file /etc/fonts/2.11/conf.d/40-sawarabi.conf
Loading config file /etc/fonts/2.11/conf.d/40-saweri.conf
Loading config file /etc/fonts/2.11/conf.d/40-source-han-sans-cn.conf
Loading config file /etc/fonts/2.11/conf.d/40-source-han-sans-jp.conf
Loading config file /etc/fonts/2.11/conf.d/40-source-han-sans-kr.conf
Loading config file /etc/fonts/2.11/conf.d/40-source-han-sans-twhk.conf
Loading config file /etc/fonts/2.11/conf.d/40-tharlon.conf
Loading config file /etc/fonts/2.11/conf.d/40-umeplus.conf
Loading config file /etc/fonts/2.11/conf.d/40-unfonts-core.conf
Loading config file /etc/fonts/2.11/conf.d/40-vlgothic.conf
Loading config file /etc/fonts/2.11/conf.d/40-wqy-microhei.conf
Loading config file /etc/fonts/2.11/conf.d/40-wqy-zenhei.conf
Loading config file /etc/fonts/2.11/conf.d/45-aboriginal-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-aboriginal-serif.conf
Loading config file /etc/fonts/2.11/conf.d/45-aileron.conf
Loading config file /etc/fonts/2.11/conf.d/45-alegreya-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-alegreya.conf
Loading config file /etc/fonts/2.11/conf.d/45-aleo.conf
Loading config file /etc/fonts/2.11/conf.d/45-amble.conf
Loading config file /etc/fonts/2.11/conf.d/45-andada.conf
Loading config file /etc/fonts/2.11/conf.d/45-antonio.conf
Loading config file /etc/fonts/2.11/conf.d/45-archivo-black.conf
Loading config file /etc/fonts/2.11/conf.d/45-archivo-narrow.conf
Loading config file /etc/fonts/2.11/conf.d/45-arev-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-arsenal.conf
Loading config file /etc/fonts/2.11/conf.d/45-berenis-adf-pro.conf
Loading config file /etc/fonts/2.11/conf.d/45-bitter.conf
Loading config file /etc/fonts/2.11/conf.d/45-bravo.conf
Loading config file /etc/fonts/2.11/conf.d/45-buenard.conf
Loading config file /etc/fonts/2.11/conf.d/45-caladea.conf
Loading config file /etc/fonts/2.11/conf.d/45-camingocode.conf
Loading config file /etc/fonts/2.11/conf.d/45-cantarell.conf
Loading config file /etc/fonts/2.11/conf.d/45-cantoraone.conf
Loading config file /etc/fonts/2.11/conf.d/45-carlito.conf
Loading config file /etc/fonts/2.11/conf.d/45-caviar-dreams.conf
Loading config file /etc/fonts/2.11/conf.d/45-charis-sil.conf
Loading config file /etc/fonts/2.11/conf.d/45-clear-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-comme.conf
Loading config file /etc/fonts/2.11/conf.d/45-consola-mono.conf
Loading config file /etc/fonts/2.11/conf.d/45-cooper-hewitt.conf
Loading config file /etc/fonts/2.11/conf.d/45-courier-prime.conf
Loading config file /etc/fonts/2.11/conf.d/45-crimson-text.conf
Loading config file /etc/fonts/2.11/conf.d/45-croscore-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/45-dejavu.conf
Loading config file /etc/fonts/2.11/conf.d/45-droid.conf
Loading config file /etc/fonts/2.11/conf.d/45-ebgaramond.conf
Loading config file /etc/fonts/2.11/conf.d/45-enriqueta.conf
Loading config file /etc/fonts/2.11/conf.d/45-erewhon.conf
Loading config file /etc/fonts/2.11/conf.d/45-exo2.conf
Loading config file /etc/fonts/2.11/conf.d/45-fanwood.conf
Loading config file /etc/fonts/2.11/conf.d/45-fira-mono.conf
Loading config file /etc/fonts/2.11/conf.d/45-fira-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-gelasio.conf
Loading config file /etc/fonts/2.11/conf.d/45-gentium.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-ce-35-thin.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-ce-55-roman.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-cy.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-narrow.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-neue-lt-com.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-neue.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica-world.conf
Loading config file /etc/fonts/2.11/conf.d/45-helvetica.conf
Loading config file /etc/fonts/2.11/conf.d/45-heuristica.conf
Loading config file /etc/fonts/2.11/conf.d/45-inconsolata-pwl.conf
Loading config file /etc/fonts/2.11/conf.d/45-inconsolatazi4.conf
Loading config file /etc/fonts/2.11/conf.d/45-infini.conf
Loading config file /etc/fonts/2.11/conf.d/45-inknut-antiqua.conf
Loading config file /etc/fonts/2.11/conf.d/45-iosevka.conf
Loading config file /etc/fonts/2.11/conf.d/45-istok.conf
Loading config file /etc/fonts/2.11/conf.d/45-junicode.conf
Loading config file /etc/fonts/2.11/conf.d/45-latin-modern.conf
Loading config file /etc/fonts/2.11/conf.d/45-lato.conf
Loading config file /etc/fonts/2.11/conf.d/45-league-gothic.conf
Loading config file /etc/fonts/2.11/conf.d/45-lekton.conf
Loading config file /etc/fonts/2.11/conf.d/45-liberastika.conf
Loading config file /etc/fonts/2.11/conf.d/45-liberation.conf
Loading config file /etc/fonts/2.11/conf.d/45-libre-baskerville.conf
Loading config file /etc/fonts/2.11/conf.d/45-libre-caslon.conf
Loading config file /etc/fonts/2.11/conf.d/45-linden-hill.conf
Loading config file /etc/fonts/2.11/conf.d/45-linux-libertine-o.conf
Loading config file /etc/fonts/2.11/conf.d/45-linux-libertine.conf
Loading config file /etc/fonts/2.11/conf.d/45-lobster-two.conf
Loading config file /etc/fonts/2.11/conf.d/45-lora.conf
Loading config file /etc/fonts/2.11/conf.d/45-luxi.conf
Loading config file /etc/fonts/2.11/conf.d/45-magra.conf
Loading config file /etc/fonts/2.11/conf.d/45-merriweather-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-merriweather.conf
Loading config file /etc/fonts/2.11/conf.d/45-monoid.conf
Loading config file /etc/fonts/2.11/conf.d/45-montserrat.conf
Loading config file /etc/fonts/2.11/conf.d/45-noticia-text.conf
Loading config file /etc/fonts/2.11/conf.d/45-noto-cros.conf
Loading config file /etc/fonts/2.11/conf.d/45-noto-nonlatin.conf
Loading config file /etc/fonts/2.11/conf.d/45-noto-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-noto-serif.conf
Loading config file /etc/fonts/2.11/conf.d/45-opensans.conf
Loading config file /etc/fonts/2.11/conf.d/45-oswald.conf
Loading config file /etc/fonts/2.11/conf.d/45-overpass.conf
Loading config file /etc/fonts/2.11/conf.d/45-oxygen.conf
Loading config file /etc/fonts/2.11/conf.d/45-paratype.conf
Loading config file /etc/fonts/2.11/conf.d/45-permian.conf
Loading config file /etc/fonts/2.11/conf.d/45-pfeffer-mediaeval.conf
Loading config file /etc/fonts/2.11/conf.d/45-pfennig.conf
Loading config file /etc/fonts/2.11/conf.d/45-playfair-display.conf
Loading config file /etc/fonts/2.11/conf.d/45-postscript.conf
Loading config file /etc/fonts/2.11/conf.d/45-quintessential.conf
Loading config file /etc/fonts/2.11/conf.d/45-raleway.conf
Loading config file /etc/fonts/2.11/conf.d/45-roboto-mono.conf
Loading config file /etc/fonts/2.11/conf.d/45-roboto.conf
Loading config file /etc/fonts/2.11/conf.d/45-sansation.conf
Loading config file /etc/fonts/2.11/conf.d/45-scada.conf
Loading config file /etc/fonts/2.11/conf.d/45-sen.conf
Loading config file /etc/fonts/2.11/conf.d/45-signika.conf
Loading config file /etc/fonts/2.11/conf.d/45-sinkin-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-sorts-mill-goudy.conf
Loading config file /etc/fonts/2.11/conf.d/45-source-code-pro-pwl.conf
Loading config file /etc/fonts/2.11/conf.d/45-source-code-pro.conf
Loading config file /etc/fonts/2.11/conf.d/45-source-sans-pro.conf
Loading config file /etc/fonts/2.11/conf.d/45-source-serif-pro.conf
Loading config file /etc/fonts/2.11/conf.d/45-symbola.conf
Loading config file /etc/fonts/2.11/conf.d/45-tehuti.conf
Loading config file /etc/fonts/2.11/conf.d/45-tex-gyre.conf
Loading config file /etc/fonts/2.11/conf.d/45-titillium.conf
Loading config file /etc/fonts/2.11/conf.d/45-triod-postnaja.conf
Loading config file /etc/fonts/2.11/conf.d/45-ubuntu.conf
Loading config file /etc/fonts/2.11/conf.d/45-unb-pro.conf
Loading config file /etc/fonts/2.11/conf.d/45-urw-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/45-vera-humana-95.conf
Loading config file /etc/fonts/2.11/conf.d/45-vollkorn.conf
Loading config file /etc/fonts/2.11/conf.d/45-weblysleek-ui.conf
Loading config file /etc/fonts/2.11/conf.d/45-work-sans.conf
Loading config file /etc/fonts/2.11/conf.d/45-yanone-kaffeesatz.conf
Loading config file /etc/fonts/2.11/conf.d/50-user.conf
Loading config file /etc/fonts/2.11/conf.d/51-local.conf
Loading config file /etc/fonts/2.11/conf.d/52-default-fonts.conf
Loading config file /etc/fonts/2.11/conf.d/53-no-type1.conf
Loading config file /etc/fonts/2.11/conf.d/60-wqy-zenhei-sharp.conf
Loading config file /etc/fonts/2.11/conf.d/65-noto-sans-ui.conf
Loading config file /etc/fonts/2.11/conf.d/65-noto-sans.conf
Loading config file /etc/fonts/2.11/conf.d/65-noto-serif.conf
Loading config file /etc/fonts/2.11/conf.d/65-ttf-droid-sans.conf
Loading config file /etc/fonts/2.11/conf.d/65-ttf-droid-serif.conf
Loading config file /etc/fonts/2.11/conf.d/65-wqy-zenhei.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-assamese.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-bengali.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-devanagari.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-gujarati.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-gurmukhi.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-kannada.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-malayalam.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-marathi.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-nepali.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-odia.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-punjabi.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-tamil.conf
Loading config file /etc/fonts/2.11/conf.d/66-lohit-telugu.conf
Loading config file /etc/fonts/2.11/conf.d/90-unifont.conf
(/nix/store/1vqknpv44hhh58qmr1lf6x93snbr3hfx-firefox-nightly-bin-unwrapped-56.0a1-20170731175927/usr/lib/firefox-bin-56.0a1-20170731175927/firefox:7898): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Cantarell 11'
(/nix/store/1vqknpv44hhh58qmr1lf6x93snbr3hfx-firefox-nightly-bin-unwrapped-56.0a1-20170731175927/usr/lib/firefox-bin-56.0a1-20170731175927/firefox:7898): Pango-WARNING **: font_face status is: file not found
(/nix/store/1vqknpv44hhh58qmr1lf6x93snbr3hfx-firefox-nightly-bin-unwrapped-56.0a1-20170731175927/usr/lib/firefox-bin-56.0a1-20170731175927/firefox:7898): Pango-WARNING **: scaled_font status is: file not found
(/nix/store/1vqknpv44hhh58qmr1lf6x93snbr3hfx-firefox-nightly-bin-unwrapped-56.0a1-20170731175927/usr/lib/firefox-bin-56.0a1-20170731175927/firefox:7898): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='PangoFcShapeEngine', font='Cantarell 11', text='●'
(/nix/store/1vqknpv44hhh58qmr1lf6x93snbr3hfx-firefox-nightly-bin-unwrapped-56.0a1-20170731175927/usr/lib/firefox-bin-56.0a1-20170731175927/firefox:7898): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Cantarell 11'
(/nix/store/1vqknpv44hhh58qmr1lf6x93snbr3hfx-firefox-nightly-bin-unwrapped-56.0a1-20170731175927/usr/lib/firefox-bin-56.0a1-20170731175927/firefox:7898): Pango-WARNING **: font_face status is: file not found
(/nix/store/1vqknpv44hhh58qmr1lf6x93snbr3hfx-firefox-nightly-bin-unwrapped-56.0a1-20170731175927/usr/lib/firefox-bin-56.0a1-20170731175927/firefox:7898): Pango-WARNING **: scaled_font status is: file not found
*** UTM:SVC TimerManager:registerTimer called after profile-before-change notification. Ignoring timer registration for id: telemetry_modules_ping
Other applications including gnome-fonts
show all fonts without any problems. Firefox’s own preferences allow me to select from all installed fonts. fc-match Cantarell
also finds the font fine. Interestingly, the Firefox UI uses Cantarell without any issues.
Since firefox-beta-bin
from nixpkgs works correctly, maybe problem is in Firefox itself? Can anyone reproduce it? How can I further debug the problem?
Running
$ nix-shell -p 'rustChannelOfTargets "nightly" null ["i686-unknown-linux-gnu" "x86_64-unknown-linux-musl"]'
will put the standard library for the specified targets in their own little unique directories where rustc has no chance of finding them. The standard libraries should all end up in the same lib/rustlib
as the native libstd.
I followed the install steps on a Linux machine and it worked, but on macOS, I'm seeing this failure when running nix-env -iA nixpkgs.latest.rustChannels.stable.rust
:
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")).*’: parentheses not balanced
$ nix-info
system: "x86_64-darwin", multi-user?: yes, version: nix-env (Nix) 1.11.15, channels(username): "nixpkgs, nixpkgs-latest", channels(root): "nixpkgs-18.03pre117898.5a21efdcdf", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
$ nix-channel --list
nixpkgs https://github.com/NixOS/nixpkgs/archive/master.tar.gz
nixpkgs-latest https://github.com/NixOS/nixpkgs/archive/master.tar.gz
As this is already on your TODO list, I think this is an appropriate place to ask.
Actually I would mainly be interested in this, because I can't make your example work:
https://garbas.si/2015/reproducible-development-environments.html
The built-in firefox updater gives an error when trying to auto-update, which makes sense as Firefox Nightly in this repo is packaged by Nix and read-only.
Is there a way to disable it?
This would both make builds reproducible (without the current assumption that manifests are immutable), and much faster (because nix's pinning would work). And this would allow offline entering a nix-shell based on it.
Likely should be kept optional, for ease-of-use.
Current implementation idea: add a sha256
parameter to fromManifest
and rustChannelOf
, and make fromManifest
pass it through to builtins.fetchurl
.
Sorry for not taking the time to do a PR for this (yet), hopefully I'll get to it someday, but feel free to do this if you have time :)
$ nix-env -f package-set.nix -qa '*' --meta --xml --drv-path --show-trace --arg pkgs "import <nixpkgs> {}" >/dev/null
error: while querying the derivation named 'servo-latest':
while evaluating the attribute 'buildInputs' of the derivation 'servo-latest' at /home/joerg/git/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:179:11:
while evaluating 'getOutput' at /home/joerg/git/nixpkgs/lib/attrsets.nix:452:23, called from undefined position:
while evaluating anonymous function at /home/joerg/git/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:127:17, called from undefined position:
attribute 'mesa' missing, at /home/joerg/git/nixpkgs-mozilla/pkgs/servo/default.nix:7:4
E.g. with examples of installation of the repo (is there a canonical channel somewhere?) and installing individual things out of the repo.
The build fails with mkdir: cannot create directory '/etc/bash_completion.d': Permission denied
I built Firefox from mozilla-central
in a nix-shell ~/git/nixpkgs-mozilla/release.nix -A gecko.x86_64-linux.gcc --run zsh
using ./mach build
.
When I ./mach run
I get:
Error running mach:
['run']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You should consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
OSError: [Errno 2] No such file or directory
The reason seems to be the missing libstdc++.so.6
:
$ ldd objdir-frontend/dist/bin/firefox
linux-vdso.so.1 (0x00007ffc69f0d000)
libpthread.so.0 => /nix/store/asz8g320r00flkzr1biyh83hr3faqxna-glibc-2.26-75/lib/libpthread.so.0 (0x00007f443f0aa000)
libdl.so.2 => /nix/store/asz8g320r00flkzr1biyh83hr3faqxna-glibc-2.26-75/lib/libdl.so.2 (0x00007f443eea6000)
librt.so.1 => /nix/store/asz8g320r00flkzr1biyh83hr3faqxna-glibc-2.26-75/lib/librt.so.1 (0x00007f443ec9e000)
libstdc++.so.6 => not found
libm.so.6 => /nix/store/asz8g320r00flkzr1biyh83hr3faqxna-glibc-2.26-75/lib/libm.so.6 (0x00007f443e952000)
libgcc_s.so.1 => /nix/store/asz8g320r00flkzr1biyh83hr3faqxna-glibc-2.26-75/lib/libgcc_s.so.1 (0x00007f443e73c000)
libc.so.6 => /nix/store/asz8g320r00flkzr1biyh83hr3faqxna-glibc-2.26-75/lib/libc.so.6 (0x00007f443e389000)
/lib64/ld-linux-x86-64.so.2 => /nix/store/asz8g320r00flkzr1biyh83hr3faqxna-glibc-2.26-75/lib64/ld-linux-x86-64.so.2 (0x00007f443f2c8000)
I assume the libstdc++.so.6.so.6
is provided by gcc
, but not declared as a dependency in the gecko package.
It'd be incredibly helpful if the README included just a snippet that shows how you can use this overlay (without running some script). I haven't used it yet, but I have linked here as an example of an overlay on the unofficial wiki.
This is a big opportunity for this overlay ;)
In my /etc/nixos/configuration.nix
I tried
{ config, pkgs, ... }:
let
# ...
rustOverlay = import ("${builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz}/rust-overlay.nix");
rust = (pkgs.latest.rust.override {
targets = [ "x86_64-unknown-linux-musl" ];
});
in {
# ...
environment.systemPackages = with pkgs;
[
# ...
rust
];
nixpkgs.config = {
overlays = [rustOverlay];
};
}
But I get this error: attribute 'latest' missing, at /etc/nixos/configuration.nix:14:11
Where is my fault?
In my computer servo rust results in the error below.
building path(s) ‘/nix/store/vmkvbzj3q4c6qnj6xdbgyh4hxprblngc-servo-rust-latest-fetch’
unpacking sources
unpacking source archive /nix/store/bacp0hzj6wlzcvl7s3407ckshbgzm044-servo-4b78b9adab916cc4fdde6248e785030b79f406da-src
source root is servo/components/servo
chmod: cannot access 'servo/components/servo': No such file or directory
builder for ‘/nix/store/lr0xlncp1h08akjlmf7191a9k7wahfgi-servo-rust-latest-fetch.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/dz1r3idhlkb8p70g5r15dz3jaqdir80r-servo-rust-latest.drv’: 1 dependencies couldn't be built
I'm using Nix 1.11.2 and nixpkgs on master.
The UI element of ~/.nix-profile/bin/firefox
shows 58.0.1 (64-bit)
, but ~/.nix-profile/bin/firefox --version
shows Mozilla Firefox 58.0.2
.
I'm running Nix on Raspbian and having some difficulties. The rust
derivation from the overlay builds fine, but attempting to use the resulting executables from the shell or via buildRustPackage
fails:
$ cargo --version
cargo: error while loading shared libraries: ld-linux.so.3: cannot open shared object file: No such file or directory
Since the issue seemed to be the dynamic linker name, I tried adding another patchelf
call to the installPhase
:
patchelf --replace-needed ld-linux.so.3 "$(basename $(cat $NIX_CC/nix-support/dynamic-linker))" "$i"
Unfortunately, now I get a new error:
$ cargo --version
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != NULL' failed!
A bit of poking with readelf
suggests this might be caused by a reference to ld-linux.so.3
left behind in the symbol version table by patchelf
, apparently a known issue (NixOS/patchelf#115):
$ readelf -V $(which cargo)
[...]
Version needs section '.gnu.version_r' contains 7 entries:
Addr: 0x000000000000fb10 Offset: 0x00fb10 Link: 43 (.dynstr)
000000: Version: 1 File: libm.so.6 Cnt: 1
0x0010: Name: GLIBC_2.4 Flags: none Version: 12
0x0020: Version: 1 File: libdl.so.2 Cnt: 1
0x0030: Name: GLIBC_2.4 Flags: none Version: 11
0x0040: Version: 1 File: ld-linux.so.3 Cnt: 1
0x0050: Name: GLIBC_2.4 Flags: none Version: 9
[...]
Oh, and invoking rustc
doesn't seem to work either:
$ rustc --version
rustc: error while loading shared libraries: /nix/store/y3xsrgm2yrp1cby3bdfmr5zgbncn2iqk-rust-1.17.0-2017-04-24-56124baa9/bin/../lib/librustc_driver-0f4024af7b82b2df.so: internal error
I'm not really sure what to do at this point; I can't build rustc/cargo from source because of memory issues.
Targeting Rust 1.15.1 using Nixpkgs 17.03 checkout 4a7a03913d8dcb5a6a0f77a700c079101fb6ed39
. Had the same issues targeting 1.17.0.
The easiest way to use the overlay would be if one could just override the whole rustPlatform derivation, so that rust programs within nixpkgs will automatically make use the overlay.
I stumbled upon this when debugging why racer doesn't use a given RUST_SRC_PATH
, finding that the wrapper overrides it from the rustPlatform's rust sources: https://github.com/NixOS/nixpkgs/blob/eb9f76911f1fee6ebd519220bc9843d3adac5ee7/pkgs/development/tools/rust/racer/default.nix#L27
On MacOSX.
error: while evaluating the attribute ‘nativeBuildInputs’ of the derivation ‘env-project’ at /nix/store/fgdglcf2vcn2rq6wxfh8xc217sjxjg36-nixpkgs-17.09pre104805.a41668f441/nixpkgs/pkgs/misc/my-env/default.nix:71:3:
while evaluating ‘getOutput’ at /nix/store/fgdglcf2vcn2rq6wxfh8xc217sjxjg36-nixpkgs-17.09pre104805.a41668f441/nixpkgs/lib/attrsets.nix:453:23, called from undefined position:
while evaluating ‘getNativeDrv’ at /nix/store/fgdglcf2vcn2rq6wxfh8xc217sjxjg36-nixpkgs-17.09pre104805.a41668f441/nixpkgs/pkgs/stdenv/generic/default.nix:132:22, called from undefined position:
while evaluating the attribute ‘stable.rust’ at /Users/ace/src/internet/nixpkgs-mozilla/rust-overlay.nix:162:5:
while evaluating ‘fromManifest’ at /Users/ace/src/internet/nixpkgs-mozilla/rust-overlay.nix:87:28, called from /Users/ace/src/internet/nixpkgs-mozilla/rust-overlay.nix:162:15:
while evaluating ‘flip’ at /Users/ace/src/internet/nixpkgs/lib/trivial.nix:125:16, called from /Users/ace/src/internet/nixpkgs-mozilla/rust-overlay.nix:94:5:
while evaluating ‘mapAttrs’ at /Users/ace/src/internet/nixpkgs/lib/attrsets.nix:198:17, called from /Users/ace/src/internet/nixpkgs/lib/trivial.nix:125:19:
while evaluating ‘fromTOML’ at /Users/ace/src/internet/nixpkgs-mozilla/lib/parseTOML.nix:133:14, called from /Users/ace/src/internet/nixpkgs-mozilla/rust-overlay.nix:92:14:
while evaluating ‘zipAttrs’ at /Users/ace/src/internet/nixpkgs-mozilla/lib/parseTOML.nix:137:18, called from /Users/ace/src/internet/nixpkgs-mozilla/lib/parseTOML.nix:149:7:
while evaluating ‘parser’ at /Users/ace/src/internet/nixpkgs-mozilla/lib/parseTOML.nix:130:12, called from /Users/ace/src/internet/nixpkgs-mozilla/lib/parseTOML.nix:135:19:
while evaluating ‘closeSection’ at /Users/ace/src/internet/nixpkgs-mozilla/lib/parseTOML.nix:91:18, called from /Users/ace/src/internet/nixpkgs-mozilla/lib/parseTOML.nix:131:5:
while evaluating ‘tokenizer’ at /Users/ace/src/internet/nixpkgs-mozilla/lib/parseTOML.nix:41:15, called from /Users/ace/src/internet/nixpkgs-mozilla/lib/parseTOML.nix:131:53:
while evaluating ‘tokenizer_rec’ at /Users/ace/src/internet/nixpkgs-mozilla/lib/parseTOML.nix:6:46, called from /Users/ace/src/internet/nixpkgs-mozilla/lib/parseTOML.nix:41:20:
compiling pattern ‘([
]*(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
...
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")).*’: out of memory
I checked out this repo and symlinked default.nix
to ~/.config/nixpkgs/overlays/mozilla.nix
, but when I run nix-env -f '<nixpkgs>' -qaP | grep firefox
it says that it's current firefox-beta-bin
version is 55.0b2
and not 57. It seems like it pulls the version from https://product-details.mozilla.org/1.0/firefox_versions.json
but when I curl
that it shows the correct version for LATEST_FIREFOX_DEVEL_VERSION
. Is there something else I have to do or is this overlay out of date somehow?
When I use the overlay to get rustc/cargo, it cannot find "std" / "core":
cargo build
Compiling log v0.3.7
Compiling semver v0.1.20
Compiling libc v0.2.21
Compiling lazy_static v0.2.6
error[E0463]: can't find crate for `core`
error: aborting due to previous error
error[E0463]: can't find crate for `std`
error: aborting due to previous error
error[E0463]: can't find crate for `std`
error: aborting due to previous error
error: Could not compile `lazy_static`.
Build failed, waiting for other jobs to finish...
error: Could not compile `log`.
Build failed, waiting for other jobs to finish...
error: Could not compile `libc`.
Build failed, waiting for other jobs to finish...
error[E0463]: can't find crate for `std`
error: aborting due to previous error
error: build failed
Ran into this issue trying to use the Rust overlay on top of the NixOS unstable branch.
mv: cannot stat './etc/bash_completion.d': No such file or directory
So I commented out the call to handleEtc
in the postFixup
script. Any idea why this may not be there?
Not sure if this is a duplicate of #22
When using the stable rust overlay, i.e.
nix-env -iA nixos.latest.rustChannels.stable.rust
I get the following error
cargo install racer
Updating registry `https://github.com/rust-lang/crates.io-index`
Installing racer v2.0.12
Compiling lazy_static v0.2.11
Compiling unicode-xid v0.0.3
Compiling utf8-ranges v0.1.3
Compiling term v0.4.6
Compiling bitflags v0.7.0
Compiling vec_map v0.8.0
Compiling cfg-if v0.1.2
Compiling unicode-width v0.1.4
Compiling bitflags v1.0.1
Compiling libc v0.2.37
Compiling regex-syntax v0.3.9
Compiling strsim v0.7.0
Compiling winapi-build v0.1.1
Compiling ansi_term v0.10.2
Compiling rustc-serialize v0.3.24
Compiling winapi v0.2.8
Compiling log v0.4.1
Compiling textwrap v0.9.0
Compiling kernel32-sys v0.2.2
error: linker `cc` not found
|
= note: No such file or directory (os error 2)
error: aborting due to previous error
error: Could not compile `kernel32-sys`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `racer v2.0.12`, intermediate artifacts can be found at `/tmp/cargo-install.fUBCOollQMQy`
Caused by:
build failed
It seems like gcc is not really visible to rustc. I tried the variant noted in the other issue i.e. nix-env -iA nixos.latest.rustChannels.stable.rust -p gcc
and it made no difference.
Here are the details of my nix install
system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.16, channels(root): "nixos-17.09.3083.87c057a9c16", channels(mdedetrich): "", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
Rust nightly is downloaded and run without a problem
Rust nightly fails with this error:
building path(s) ‘/nix/store/9pqiqhd52v73wmrpacv5fvhc1rys8ygy-rust-1.22.0-nightly-2017-09-11-eba374fb2’
unpacking sources
unpacking source archive /nix/store/mimkrwcq8qpch42qp9m9spj0lf3hlw52-rust-nightly-x86_64-unknown-linux-gnu.tar.gz
source root is .
setting SOURCE_DATE_EPOCH to timestamp 1505185995 of file ./env-vars
warning: file ./env-vars may be generated; SOURCE_DATE_EPOCH may be non-deterministic
patching sources
configuring
no configure script, doing nothing
building
no Makefile, doing nothing
installing
/nix/store/r071pbl8rdb65cjlv55h67ds24pllank-stdenv/setup: ./install.sh: /bin/bash: bad interpreter: No such file or directory
builder for ‘/nix/store/kkkzdk319lq3mk8cdna2i8dylmknhbc3-rust-1.22.0-nightly-2017-09-11-eba374fb2.drv’ failed with exit code 126
install rust rightly using this repository.
$ nix-shell -p rustChannels.nightly.rust
error: memory limit exceeded by regular expression '([
]*(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")[
<above line repeats ~8000 times>
]+(=|[[][[][a-zA-Z0-9_."*-]+[]][]]|[[][a-zA-Z0-9_."*-]+[]]|[a-zA-Z0-9_-]+|"[^"]*")).*', at /home/linus/projects/nixpkgs-mozilla/lib/parseTOML.nix:9:25
(use '--show-trace' to show detailed location information)
$ nix-env --version
nix-env (Nix) 1.12pre5732_fd10f6f2
It works fine on nix 1.11.x.
For reasons I don't understand yet there is a problem with escaping during the installation of rust-src.
The error is:
install: copying file /nix/store/mx29z711csf2hf0fs67405qlc8mha7gd-rust-src-1.16.0-2017-03-10-30cf806ef/lib/rustlib/src/rust/src/llvm/test/DebugInfo/Inputs/dwarfdump-test3.elf-x86-64
install: cannot stat '/tmp/nix-build-rust-src-1.16.0-2017-03-10-30cf806ef.drv-0/rust-src-1.16.0/rust-src/lib/rustlib/src/rust/src/llvm/test/DebugInfo/Inputs/dwarfdump-test3.elf-x86-64': No such file or directory
install: error: file creation failed. see logs at '/nix/store/mx29z711csf2hf0fs67405qlc8mha7gd-rust-src-1.16.0-2017-03-10-30cf806ef/lib/rustlib/install.log'
note: keeping build directory ‘/tmp/nix-build-rust-src-1.16.0-2017-03-10-30cf806ef.drv-0’
builder for ‘/nix/store/ys7xc66i1hd4wabrzjmnpa2xysq1y788-rust-src-1.16.0-2017-03-10-30cf806ef.drv’ failed with exit code 1
error: build of ‘/nix/store/ys7xc66i1hd4wabrzjmnpa2xysq1y788-rust-src-1.16.0-2017-03-10-30cf806ef.drv’ failed
I have started a debug session on travis and have looked for the file:
travis@testing-docker-4014dfee-907d-4348-b7b1-b426c3a74ba2:~/build/htwg-syslab/nix-expressions-private$ find /tmp/nix-build-rust-src-1.16.0-2017-03-10-30cf806ef.drv-0/ -name "*dwarfdump-test3.elf-x86-64*"
/tmp/nix-build-rust-src-1.16.0-2017-03-10-30cf806ef.drv-0/rust-src-1.16.0/rust-src/lib/rustlib/src/rust/src/llvm/test/DebugInfo/Inputs/dwarfdump-test3.elf-x86-64 space
The file contains a weird suffix space
, and somehow this confuses the installer, but only in the environment on travis, as it works locally for me and others.
whenever I try to run nix-env with the repository cloned to ~/.config/nixpkgs/overlays/nixpkgs-mozilla
, I get error: undefined variable ‘buildRustPackage’ at /nix/store/laam155yi2q97zb62mwxl8xq5fkdxvyv-nixos-17.03.1700.51a83266d1/nixos/pkgs/applications/altcoins/ethabi.nix:5:1
I've used this repo for a while by installing it into ~/.config/nixpkgs/overlays
, but now I want to migrate to using ~/.config/nixpkgs/overlays.nix
and fetching this repo dynamically.
I tried putting the following in ~/.config/nixpkgs/overlays.nix
:
[
(import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz))
]
When I try to install firefox, I get the following error:
$ nix-env --show-trace -iA nixos.latest.firefox-beta-bin
installing 'firefox-bin-60.0b16'
error: stack overflow (possible infinite recursion)
I also tried putting the following in ~/.config/nixpkgs/overlays.nix
:
[
(import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz)/firefox-overlay.nix)
]
But this resulted in:
$ nix-env --show-trace -iA nixos.latest.firefox-beta-bin
error: while evaluating anonymous function at /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/pkgs/top-level/impure.nix:15:1, called from undefined position:
while evaluating anonymous function at /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/pkgs/top-level/default.nix:20:1, called from /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/pkgs/top-level/impure.nix:82:1:
while evaluating anonymous function at /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/pkgs/stdenv/booter.nix:42:1, called from /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/pkgs/top-level/default.nix:97:10:
while evaluating 'dfold' at /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/pkgs/stdenv/booter.nix:60:27, called from /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/pkgs/stdenv/booter.nix:117:4:
while evaluating 'go' at /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/pkgs/stdenv/booter.nix:63:18, called from /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/pkgs/stdenv/booter.nix:72:13:
while evaluating 'folder' at /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/pkgs/stdenv/booter.nix:89:33, called from /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/pkgs/stdenv/booter.nix:68:18:
while evaluating 'allPackages' at /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/pkgs/top-level/default.nix:87:17, called from /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/pkgs/stdenv/booter.nix:101:10:
while evaluating anonymous function at /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/pkgs/top-level/stage.nix:12:1, called from /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/pkgs/top-level/default.nix:87:26:
while evaluating 'fix' at /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/lib/fixed-points.nix:19:9, called from /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/pkgs/top-level/stage.nix:136:3:
while evaluating 'extends' at /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/lib/fixed-points.nix:44:24, called from /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/lib/fixed-points.nix:19:20:
while evaluating 'extends' at /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/lib/fixed-points.nix:44:24, called from /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/lib/fixed-points.nix:44:42:
while evaluating anonymous function at /nix/store/h5v5l7mzp7va4fnnhwn3gnngj8g5mia3-source/default.nix:3:7, called from /nix/store/a63v6yzjnzi216i0f591d64b0m2rakak-nixos-18.03.132229.7cbf6ca1c84/nixos/lib/fixed-points.nix:44:67:
infinite recursion encountered, at /nix/store/h5v5l7mzp7va4fnnhwn3gnngj8g5mia3-source/default.nix:5:6
Can anyone point out what I'm doing wrong?
First thanks for the awesome overlay!
I installed rust and rust-src from the stable channel.
Now I wanted to use "rustc --print sysroot", but both packages are installed into different directories, so that is not working. Do you have any ideas how I could accomplish this? Or is there a way to export the rust-src path as env variable?
It seems people can compile to wasm fine on many platforms, but this overlay seems to install an outdated version of some component of the toolchain, which produces unusable wasm.
Sometimes extensions are not available for a nightly release, such as regularly happens with rls
. When this occurs, a package specification like this:
(nixpkgs.rustChannels.nightly.rust.override {
extensions = [
"rust-src"
"rls-preview"
];
})
... will outright fail to build, and break the entire rebuild of a system, with an error like this:
error: attribute 'xz_url' missing, at /nix/store/kcdh3m23dy3vxzlrwj3kwjg02616kgbd-source/rust-overlay.nix:100:31
Ideally it would then just fall back to the most recent nightly release that does have the specified extensions, so as to not break rebuilds nor make extensions magically vanish.
Perhaps the nightly Rust attribute implementation could be changed to do that, so that one doesn't have to manually track down a nightly version that has what they need?
I haven't looked into the details yet, but it's likely that we are dealing with the same problems. I made an issue over at solson/rust-nightly-nix#21.
$ nix run nixpkgs.rustChannels.nightly
error: value is null while a list was expected, at /home/nagisa/.config/nixpkgs/overlays/rust-overlay.nix:253:24
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.