There is a new version available of the Nyxt browser (3-pre-release 2). I have been trying to use an overlay to install it, in which I have removed the patch applied to version 2.2.4
, because I believe in the new version it is not needed anymore:
(self: super: rec {
nyxt = super.nyxt.overrideAttrs (old: {
version = "3-pre-release-2";
});
lispPackages = super.lispPackages // {
nyxt = super.lispPackages.nyxt.overrideAttrs (old: rec {
version = "3-pre-release-2";
patches = [];
src = super.fetchFromGitHub {
owner = "atlas-engineer";
repo = "nyxt";
rev = "${version}";
sha256 = "0ancmbqpkzlnwp4g2f7gfwdpcb3mk8wsfrwsm87i168h8kn6bnj4";
};
});
};
})
This however fails to build, here is the output I get:
# nixos-rebuild switch --upgrade
unpacking channels...
building Nix...
building the system configuration...
these 14 derivations will be built:
/nix/store/58ikshm40g45fhzz1vhfra8s9hhvnqjq-source.drv
/nix/store/6l33lan9190yrp07bkl9i4kgagbc0s3z-lisp-nyxt-2.2.4.drv
/nix/store/6i5aazdjgf5sw6n6zc6qxnws2ylq842i-nyxt-3-pre-release-2.drv
/nix/store/xv3prm603acqsf9nhi1cjkc66bxz4mv6-system-path.drv
/nix/store/ddyahwn1bsq5ykdjdnf1myzp0zxqca8f-dbus-1.drv
/nix/store/360fdny1r0fiy4g953x8hhi362vbas56-unit-dbus.service.drv
/nix/store/jz3nflcqfii3aw4np9wacna6vlfjrfza-unit-accounts-daemon.service.drv
/nix/store/vj0v0yia2y769qp6jqffyfd6zyg08l1a-unit-dbus.service.drv
/nix/store/vslh9hrpwc2sh5f3gd572x873798cjk4-unit-polkit.service.drv
/nix/store/xh15frfjbvsv7ppblmarl7p2zkiz4i92-unit-systemd-fsck-.service.drv
/nix/store/j4v003a6xi4iw6qb3hclkm898d2jym6z-system-units.drv
/nix/store/spf0pz2i8rsayhrfjaxdlhp1vwn0maxp-user-units.drv
/nix/store/6886391v08s5hhj48i5lycfqsbd6ncff-etc.drv
/nix/store/gn5y6v4r1i38jmn60w751i53ycr3vasv-nixos-system-cyrus-22.11pre425156.872fceeed60.drv
these 26 paths will be fetched (4.33 MiB download, 19.84 MiB unpacked):
/nix/store/1ap9kd0chv7i1dz1287d617ia5ilvakk-libssh2-1.10.0-dev
/nix/store/2zaj1kbyjrb3f06wch085ik6knc1r86a-gst-libav-1.20.3-dev
/nix/store/36f60z8rj92374nvhhcqqgqzdhnnbwns-notify-osd-0.9.34
/nix/store/48mnkga4kh84xyiqwzx8v7iv090i7z66-stdenv-linux
/nix/store/5imgvmcb8dh3ajpan43z6lwk6h1h0cvf-nghttp2-1.49.0-dev
/nix/store/6jpgz0nfmbm1zy71b6ws5v2sm753rjwv-hook
/nix/store/77i08vn3b9g3l60vhajbhnqa3ygzd89n-libkrb5-1.20-dev
/nix/store/8vws6fqxxaqdarp2jh68b1g88dz6aypa-nghttp2-1.49.0
/nix/store/9g9jlnxmm58i4cb86j9nbjaxaldp0v53-openssl-3.0.7
/nix/store/cm9wrwn5ij88ybhpf38jr4iqnfm1b34k-libkrb5-1.20
/nix/store/fkbssjlyw9q34kspispaavqjhgljwpg4-gst-plugins-good-1.20.3-dev
/nix/store/hfk2db0a7sk2y1k0q5alm952ymj75irb-nghttp2-1.49.0-lib
/nix/store/i5hw9cvym6d1ljyis2bf5v1l5sm97gy0-gst-plugins-ugly-1.20.3-dev
/nix/store/ih4pjd147ha4d74bd9m2yrd66xz5kxvm-libssh2-1.10.0
/nix/store/k79g9w4846i9dn9rmps1mx8wpf6hir6x-curl-7.86.0-bin
/nix/store/khzmnx4ni1n1bb31jy2xi5haqicpb3sh-enchant-2.3.3-dev
/nix/store/kimg5gdj9xcyrgxllxw6hi76jjch1l90-gst-plugins-bad-1.20.3-dev
/nix/store/lnfiv8snwh8bcnwfczi0pmgm3c706da0-openssl-3.0.7-dev
/nix/store/nbi2zzl290408vx5ahxlvp0i2gnpidy7-wrap-gapps-hook
/nix/store/pcc8j3scrg4kmmlpjdzjm5m5gxsn7gkf-nghttp2-1.49.0-bin
/nix/store/s04y4zkra8f7209827q79hsza0yf049w-glibc-locales-2.35-163
/nix/store/s6f41xlf7v4k76y2ggy36zkf39n2p59g-curl-7.86.0-man
/nix/store/spxzgllirlqdmgngxc3indrnvw99rpki-mirrors-list
/nix/store/wv35zp3jj3phdhcxdibzy5kyivdixn37-curl-7.86.0
/nix/store/x5ykvv3q3rz56nrs0rcgah4647gq7zp6-openssl-3.0.7-bin
/nix/store/yzlwdxfv3kh17vldvwm7jxy1kbad8rda-curl-7.86.0-dev
copying path '/nix/store/khzmnx4ni1n1bb31jy2xi5haqicpb3sh-enchant-2.3.3-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/kimg5gdj9xcyrgxllxw6hi76jjch1l90-gst-plugins-bad-1.20.3-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/2zaj1kbyjrb3f06wch085ik6knc1r86a-gst-libav-1.20.3-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/fkbssjlyw9q34kspispaavqjhgljwpg4-gst-plugins-good-1.20.3-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/i5hw9cvym6d1ljyis2bf5v1l5sm97gy0-gst-plugins-ugly-1.20.3-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/6jpgz0nfmbm1zy71b6ws5v2sm753rjwv-hook' from 'https://cache.nixos.org'...
copying path '/nix/store/36f60z8rj92374nvhhcqqgqzdhnnbwns-notify-osd-0.9.34' from 'https://cache.nixos.org'...
copying path '/nix/store/48mnkga4kh84xyiqwzx8v7iv090i7z66-stdenv-linux' from 'https://cache.nixos.org'...
copying path '/nix/store/nbi2zzl290408vx5ahxlvp0i2gnpidy7-wrap-gapps-hook' from 'https://cache.nixos.org'...
copying path '/nix/store/s04y4zkra8f7209827q79hsza0yf049w-glibc-locales-2.35-163' from 'https://cache.nixos.org'...
copying path '/nix/store/spxzgllirlqdmgngxc3indrnvw99rpki-mirrors-list' from 'https://cache.nixos.org'...
copying path '/nix/store/s6f41xlf7v4k76y2ggy36zkf39n2p59g-curl-7.86.0-man' from 'https://cache.nixos.org'...
copying path '/nix/store/8vws6fqxxaqdarp2jh68b1g88dz6aypa-nghttp2-1.49.0' from 'https://cache.nixos.org'...
copying path '/nix/store/pcc8j3scrg4kmmlpjdzjm5m5gxsn7gkf-nghttp2-1.49.0-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/cm9wrwn5ij88ybhpf38jr4iqnfm1b34k-libkrb5-1.20' from 'https://cache.nixos.org'...
copying path '/nix/store/hfk2db0a7sk2y1k0q5alm952ymj75irb-nghttp2-1.49.0-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/9g9jlnxmm58i4cb86j9nbjaxaldp0v53-openssl-3.0.7' from 'https://cache.nixos.org'...
copying path '/nix/store/5imgvmcb8dh3ajpan43z6lwk6h1h0cvf-nghttp2-1.49.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/77i08vn3b9g3l60vhajbhnqa3ygzd89n-libkrb5-1.20-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/ih4pjd147ha4d74bd9m2yrd66xz5kxvm-libssh2-1.10.0' from 'https://cache.nixos.org'...
copying path '/nix/store/x5ykvv3q3rz56nrs0rcgah4647gq7zp6-openssl-3.0.7-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/wv35zp3jj3phdhcxdibzy5kyivdixn37-curl-7.86.0' from 'https://cache.nixos.org'...
copying path '/nix/store/1ap9kd0chv7i1dz1287d617ia5ilvakk-libssh2-1.10.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/lnfiv8snwh8bcnwfczi0pmgm3c706da0-openssl-3.0.7-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/k79g9w4846i9dn9rmps1mx8wpf6hir6x-curl-7.86.0-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/yzlwdxfv3kh17vldvwm7jxy1kbad8rda-curl-7.86.0-dev' from 'https://cache.nixos.org'...
building '/nix/store/58ikshm40g45fhzz1vhfra8s9hhvnqjq-source.drv'...
trying https://github.com/atlas-engineer/nyxt/archive/3-pre-release-2.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 498k 0 498k 0 0 617k 0 --:--:-- --:--:-- --:--:-- 4701k
unpacking source archive /build/3-pre-release-2.tar.gz
building '/nix/store/6l33lan9190yrp07bkl9i4kgagbc0s3z-lisp-nyxt-2.2.4.drv'...
mkdir: cannot create directory '/homeless-shelter': Permission denied
unpacking sources
unpacking source archive /nix/store/p73qwb1rjnnjrb4n3j2czifin63g0fmn-source
source root is source
patching sources
configuring
no configure script, doing nothing
glibPreInstallPhase
installing
cp: cannot stat 'LICENCE': No such file or directory
cp: cannot stat 'LICENSE': No such file or directory
cp: cannot stat 'COPYING': No such file or directory
cp: cannot stat 'README': No such file or directory
cp: cannot stat 'README.html': No such file or directory
cp: cannot stat 'README.md': No such file or directory
cp: cannot stat 'readme.html': No such file or directory
/nyxt.asd /nix/store/sa0qgwqx29zmywbsx0q9ij82mr45i3h1-lisp-nyxt-2.2.4/lib/common-lisp/nyxt/nyxt.asd 81 /nyxt.asd
/nyxt.asd /nix/store/sa0qgwqx29zmywbsx0q9ij82mr45i3h1-lisp-nyxt-2.2.4/lib/common-lisp/nyxt/nyxt-ubuntu-package.asd 96 ckage.asd
/nyxt.asd /nix/store/sa0qgwqx29zmywbsx0q9ij82mr45i3h1-lisp-nyxt-2.2.4/lib/common-lisp/nyxt/nyxt-asdf.asd 86 -asdf.asd
This is SBCL 2.2.9.nixos, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
While evaluating the form starting at line 15, column 0
of #P"/nix/store/sa0qgwqx29zmywbsx0q9ij82mr45i3h1-lisp-nyxt-2.2.4/lib/common-lisp/nyxt/nyxt.asd":
Unhandled MISSING-DEPENDENCY in thread #<SB-THREAD:THREAD "main thread" RUNNING {1004608073}>: Component "nyxt-asdf" not found, required by NIL
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1004608073}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK Component "nyxt-asdf" not found, required by NIL #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* Component "nyxt-asdf" not found, required by NIL)
2: (INVOKE-DEBUGGER Component "nyxt-asdf" not found, required by NIL)
3: (ERROR MISSING-DEPENDENCY :REQUIRED-BY NIL :REQUIRES "nyxt-asdf")
4: (ASDF/FIND-COMPONENT:RESOLVE-DEPENDENCY-NAME NIL "nyxt-asdf" NIL)
5: ((LAMBDA NIL :IN ASDF/PARSE-DEFSYSTEM:REGISTER-SYSTEM-DEFINITION))
6: (SB-INT:SIMPLE-EVAL-IN-LEXENV (DEFSYSTEM "nyxt" :DEFSYSTEM-DEPENDS-ON (NYXT-ASDF) :CLASS :NYXT-SYSTEM :VERSION "3" :AUTHOR "Atlas Engineer LLC" :HOMEPAGE "https://nyxt.atlas.engineer" ...) #<NULL-LEXENV>)
7: (SB-EXT:EVAL-TLF (DEFSYSTEM "nyxt" :DEFSYSTEM-DEPENDS-ON (NYXT-ASDF) :CLASS :NYXT-SYSTEM :VERSION "3" :AUTHOR "Atlas Engineer LLC" :HOMEPAGE "https://nyxt.atlas.engineer" ...) 2 NIL)
8: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (DEFSYSTEM "nyxt" :DEFSYSTEM-DEPENDS-ON (NYXT-ASDF) :CLASS :NYXT-SYSTEM :VERSION "3" :AUTHOR "Atlas Engineer LLC" :HOMEPAGE "https://nyxt.atlas.engineer" ...) 2)
9: ((LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) (DEFSYSTEM "nyxt" :DEFSYSTEM-DEPENDS-ON (NYXT-ASDF) :CLASS :NYXT-SYSTEM :VERSION "3" :AUTHOR "Atlas Engineer LLC" :HOMEPAGE "https://nyxt.atlas.engineer" ...) :CURRENT-INDEX 2)
10: (SB-C::%DO-FORMS-FROM-INFO #<FUNCTION (LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) {10012BEB3B}> #<SB-C::SOURCE-INFO {10012BEB03}> SB-C::INPUT-ERROR-IN-LOAD)
11: (SB-INT:LOAD-AS-SOURCE #<SB-INT:FORM-TRACKING-STREAM for "file /nix/store/sa0qgwqx29zmywbsx0q9ij82mr45i3h1-lisp-nyxt-2.2.4/lib/common-lisp/nyxt/nyxt.asd" {10012BCE23}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
12: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<SB-INT:FORM-TRACKING-STREAM for "file /nix/store/sa0qgwqx29zmywbsx0q9ij82mr45i3h1-lisp-nyxt-2.2.4/lib/common-lisp/nyxt/nyxt.asd" {10012BCE23}> NIL)
13: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {7FFFF786E5BB}> #<SB-INT:FORM-TRACKING-STREAM for "file /nix/store/sa0qgwqx29zmywbsx0q9ij82mr45i3h1-lisp-nyxt-2.2.4/lib/common-lisp/nyxt/nyxt.asd" {10012BCE23}> NIL #<SB-INT:FORM-TRACKING-STREAM for "file /nix/store/sa0qgwqx29zmywbsx0q9ij82mr45i3h1-lisp-nyxt-2.2.4/lib/common-lisp/nyxt/nyxt.asd" {10012BCE23}>)
14: (LOAD #P"/nix/store/sa0qgwqx29zmywbsx0q9ij82mr45i3h1-lisp-nyxt-2.2.4/lib/common-lisp/nyxt/nyxt.asd" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :UTF-8)
15: (CALL-WITH-MUFFLED-CONDITIONS #<FUNCTION (LAMBDA NIL :IN LOAD*) {10012BB66B}> ("Overwriting already existing readtable ~S." #(#:FINALIZERS-OFF-WARNING :ASDF-FINALIZERS)))
16: ((FLET "THUNK" :IN PERFORM))
17: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<FUNCTION (FLET "THUNK" :IN PERFORM) {7FFFF786E81B}>)
18: ((:METHOD PERFORM (DEFINE-OP SYSTEM)) #<DEFINE-OP > #<ASDF/SYSTEM:UNDEFINED-SYSTEM "nyxt">) [fast-method]
19: ((SB-PCL::EMF PERFORM) #<unused argument> #<unused argument> #<DEFINE-OP > #<ASDF/SYSTEM:UNDEFINED-SYSTEM "nyxt">)
20: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
21: ((:METHOD PERFORM-WITH-RESTARTS :AROUND (T T)) #<DEFINE-OP > #<ASDF/SYSTEM:UNDEFINED-SYSTEM "nyxt">) [fast-method]
22: ((:METHOD PERFORM-PLAN (T)) #<SEQUENTIAL-PLAN {10012AC3E3}>) [fast-method]
23: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
24: ((:METHOD PERFORM-PLAN :AROUND (T)) #<SEQUENTIAL-PLAN {10012AC3E3}>) [fast-method]
25: ((:METHOD OPERATE (OPERATION COMPONENT)) #<DEFINE-OP > #<ASDF/SYSTEM:UNDEFINED-SYSTEM "nyxt"> :PLAN-CLASS NIL :PLAN-OPTIONS NIL) [fast-method]
26: ((SB-PCL::EMF OPERATE) #<unused argument> #<unused argument> #<DEFINE-OP > #<ASDF/SYSTEM:UNDEFINED-SYSTEM "nyxt">)
27: ((LAMBDA NIL :IN OPERATE))
28: ((:METHOD OPERATE :AROUND (T T)) #<DEFINE-OP > #<ASDF/SYSTEM:UNDEFINED-SYSTEM "nyxt">) [fast-method]
29: ((LAMBDA NIL :IN LOAD-ASD))
30: ((LAMBDA NIL :IN FIND-SYSTEM))
31: (ASDF/SESSION:CONSULT-ASDF-CACHE (FIND-SYSTEM "nyxt") #<FUNCTION (LAMBDA NIL :IN FIND-SYSTEM) {10043E238B}>)
32: ((:METHOD FIND-COMPONENT (STRING T)) "nyxt" NIL :REGISTERED NIL) [fast-method]
33: ((:METHOD OPERATE (SYMBOL T)) COMPILE-OP :NYXT) [fast-method]
34: ((SB-PCL::EMF OPERATE) #<unused argument> #<unused argument> COMPILE-OP :NYXT)
35: ((LAMBDA NIL :IN OPERATE))
36: ((:METHOD OPERATE :AROUND (T T)) COMPILE-OP :NYXT) [fast-method]
37: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<FUNCTION (LAMBDA NIL :IN OPERATE) {10043E11EB}> :OVERRIDE T :KEY NIL :OVERRIDE-CACHE T :OVERRIDE-FORCING NIL)
38: ((LAMBDA NIL :IN OPERATE))
39: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<FUNCTION (LAMBDA NIL :IN OPERATE) {10030FED3B}> :OVERRIDE NIL :KEY NIL :OVERRIDE-CACHE NIL :OVERRIDE-FORCING NIL)
40: ((:METHOD OPERATE :AROUND (T T)) COMPILE-OP :NYXT) [fast-method]
41: (COMPILE-SYSTEM :NYXT)
42: (SB-INT:SIMPLE-EVAL-IN-LEXENV (COMPILE-SYSTEM :NYXT) #<NULL-LEXENV>)
43: (SB-IMPL::SIMPLE-EVAL-PROGN-BODY ((COMPILE-SYSTEM :NYXT) (LOAD-SYSTEM :NYXT) (OPERATE (QUOTE COMPILE-BUNDLE-OP) :NYXT) (IGNORE-ERRORS (OPERATE (QUOTE ASDF/INTERFACE::DEPLOY-ASD-OP) :NYXT))) #<NULL-LEXENV>)
44: (SB-INT:SIMPLE-EVAL-IN-LEXENV (PROGN (COMPILE-SYSTEM :NYXT) (LOAD-SYSTEM :NYXT) (OPERATE (QUOTE COMPILE-BUNDLE-OP) :NYXT) (IGNORE-ERRORS (OPERATE (QUOTE ASDF/INTERFACE::DEPLOY-ASD-OP) :NYXT))) #<NULL-LEXENV>)
45: (EVAL (PROGN (COMPILE-SYSTEM :NYXT) (LOAD-SYSTEM :NYXT) (OPERATE (QUOTE COMPILE-BUNDLE-OP) :NYXT) (IGNORE-ERRORS (OPERATE (QUOTE ASDF/INTERFACE::DEPLOY-ASD-OP) :NYXT))))
46: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(load \"/nix/store/mp256bl10xyriki2jk8jayiwazzaxfi9-cl-wrapper-script/lib/common-lisp/asdf/build/asdf.fasl\")") (:EVAL . #<(SIMPLE-ARRAY CHARACTER (17422))
(progn
(setf asdf:*source-registry-parameter*
'(:source-registry
(:tree "/nix/store/08ihsmpy3fw3wwc7fy6q90fnyzr7wlax-lisp-cl-cffi-gtk-cairo-cl-cffi-gtk-20201220-git/lib/common-lis... {10010A800F}>) (:EVAL . "(progn
(asdf:compile-system :nyxt)
(asdf:load-system :nyxt)
(asdf:operate (quote asdf::compile-bundle-op) :nyxt)
(ignore-errors (asdf:operate (quote asdf::deploy-asd-op) :nyxt))
)") (:EVAL . "(quit)") (:QUIT)))
47: (SB-IMPL::TOPLEVEL-INIT)
48: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
49: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
50: (SB-IMPL::%START-LISP)
unhandled condition in --disable-debugger mode, quitting
;
; compilation unit aborted
; caught 1 fatal ERROR condition
error: builder for '/nix/store/6l33lan9190yrp07bkl9i4kgagbc0s3z-lisp-nyxt-2.2.4.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/6i5aazdjgf5sw6n6zc6qxnws2ylq842i-nyxt-3-pre-release-2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/xv3prm603acqsf9nhi1cjkc66bxz4mv6-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/gn5y6v4r1i38jmn60w751i53ycr3vasv-nixos-system-cyrus-22.11pre425156.872fceeed60.drv' failed to build
Any idea how this problem can be solved? Thanks in advance.