Merge pull request #245537 from dariof4/nyxt-3.5.0

nyxt: 3.4.0 -> 3.5.0

authored by 7c6f434c and committed by GitHub 37754ea6 0c2b3cc3

+32 -16
+20 -16
pkgs/development/lisp-modules/packages.nix
··· 296 296 297 297 nclasses = build-asdf-system { 298 298 pname = "nclasses"; 299 - version = "0.5.0"; 299 + version = "0.6.0"; 300 300 src = pkgs.fetchFromGitHub { 301 301 owner = "atlas-engineer"; 302 302 repo = "nclasses"; 303 - rev = "0.5.0"; 304 - sha256 = "sha256-UcavZ0fCA2hkVU/CqUZfyCqJ8gXKPpXTCP0WLUIF1Ss="; 303 + rev = "0.6.0"; 304 + sha256 = "sha256-JupP+TIxavUoyOPnp57FqpEjWfgKspdFoSRnV2rk5U4="; 305 305 }; 306 306 lispLibs = [ self.nasdf super.moptilities ]; 307 307 }; ··· 330 330 331 331 nhooks = build-asdf-system { 332 332 pname = "nhooks"; 333 - version = "20230214-git"; 334 - src = pkgs.fetchzip { 335 - url = "http://beta.quicklisp.org/archive/nhooks/2023-02-14/nhooks-20230214-git.tgz"; 336 - sha256 = "0rapn9v942yd2snlskvlr1g22hmyhlsrclahxjsgn4pbvqc5gwyw"; 333 + version = "1.2.1"; 334 + src = pkgs.fetchFromGitHub { 335 + owner = "atlas-engineer"; 336 + repo = "nhooks"; 337 + rev = "1.2.1"; 338 + hash = "sha256-D61QHxHTceIu5mCGKf3hy53niQMfs0idEYQK1ZYn1YM="; 337 339 }; 338 340 lispLibs = with self; [ bordeaux-threads closer-mop serapeum ]; 339 341 }; ··· 368 370 369 371 nyxt-gtk = build-asdf-system { 370 372 pname = "nyxt"; 371 - version = "3.4.0"; 373 + version = "3.5.0"; 372 374 373 375 lispLibs = (with super; [ 374 376 alexandria ··· 437 439 src = pkgs.fetchFromGitHub { 438 440 owner = "atlas-engineer"; 439 441 repo = "nyxt"; 440 - rev = "3.4.0"; 441 - sha256 = "sha256-o+GAMHKi+9q+EGY6SEZrxKCEO4IxdOiB4oPpJPGYO0w="; 442 + rev = "3.5.0"; 443 + sha256 = "sha256-/x3S4qAvvHxUxDcs6MAuZvAtqLTQdwlH7r4zFlKIjY4="; 442 444 }; 443 445 444 446 nativeBuildInputs = [ pkgs.makeWrapper ]; ··· 451 453 pkgs.gnome.adwaita-icon-theme 452 454 ]; 453 455 454 - # This is needed since asdf:make tries to write in the directory of the .asd file of the system it's compiling 455 - postConfigure = '' 456 - export CL_SOURCE_REGISTRY=$CL_SOURCE_REGISTRY:$(pwd)// 457 - ''; 456 + # This patch removes the :build-operation component from the nyxt/gi-gtk-application system. 457 + # This is done because if asdf:operate is used and the operation matches the system's :build-operation 458 + # then output translations are ignored, causing the result of the operation to be placed where 459 + # the .asd is located, which in this case is the nix store. 460 + # see: https://gitlab.common-lisp.net/asdf/asdf/-/blob/master/doc/asdf.texinfo#L2582 461 + patches = [ ./patches/nyxt-remove-build-operation.patch ]; 458 462 459 463 buildScript = pkgs.writeText "build-nyxt.lisp" '' 460 464 (load "${super.alexandria.asdfFasl}/asdf.${super.alexandria.faslExt}") 461 - ;; There's a weird error while copy/pasting in Nyxt that manifests with sb-ext:save-lisp-and-die, so we use asdf:make instead 462 - (asdf:make :nyxt/gi-gtk-application) 465 + ;; There's a weird error while copy/pasting in Nyxt that manifests with sb-ext:save-lisp-and-die, so we use asdf:operare :program-op instead 466 + (asdf:operate :program-op :nyxt/gi-gtk-application) 463 467 ''; 464 468 465 469 # TODO(kasper): use wrapGAppsHook
+12
pkgs/development/lisp-modules/patches/nyxt-remove-build-operation.patch
··· 1 + diff --git a/nyxt.asd b/nyxt.asd 2 + index ea2630ce..fdf837e4 100644 3 + --- a/nyxt.asd 4 + +++ b/nyxt.asd 5 + @@ -480,7 +480,6 @@ The renderer is configured from NYXT_RENDERER or `*nyxt-renderer*'.")) 6 + :defsystem-depends-on ("nasdf") 7 + :class :nasdf-system 8 + :depends-on (nyxt/gi-gtk) 9 + - :build-operation "program-op" 10 + :build-pathname "nyxt" 11 + :entry-point "nyxt:entry-point") 12 +