diff --git a/nix/overlays/nyxt/default.nix b/nix/overlays/nyxt/default.nix index f530b8f..21c3022 100644 --- a/nix/overlays/nyxt/default.nix +++ b/nix/overlays/nyxt/default.nix @@ -2,25 +2,24 @@ nglib: final: prev: { lispPackages = prev.lispPackages // { - cl-webkit2 = prev.lispPackages.callPackage (args @ { fetchFromGitHub, ... }: - rec { - baseName = "cl-webkit2"; - version = "cl-webkit-20210411-git"; - - description = "An FFI binding to WebKit2GTK+"; - - deps = [ args."alexandria" args."babel" args."bordeaux-threads" args."cffi" args."cl-cffi-gtk" args."cl-cffi-gtk-cairo" args."cl-cffi-gtk-gdk" args."cl-cffi-gtk-gdk-pixbuf" args."cl-cffi-gtk-gio" args."cl-cffi-gtk-glib" args."cl-cffi-gtk-gobject" args."cl-cffi-gtk-pango" args."closer-mop" args."iterate" args."trivial-features" args."trivial-garbage" ]; - - src = fetchFromGitHub { - owner = "joachifm"; - repo = "cl-webkit"; - rev = "90b1469713265096768fd865e64a0a70292c733d"; - sha256 = "sha256:0lxws342nh553xlk4h5lb78q4ibiwbm2hljd7f55w3csk6z7bi06"; - }; - - packageName = "cl-webkit2"; - - asdFilesToKeep = ["cl-webkit2.asd"]; - overrides = x: x; + cl-webkit2 = prev.lispPackages.cl-webkit2.overrideAttrs (old: + { + src = prev.fetchFromGitHub { + owner = "joachifm"; + repo = "cl-webkit"; + rev = "90b1469713265096768fd865e64a0a70292c733d"; + sha256 = "sha256:0lxws342nh553xlk4h5lb78q4ibiwbm2hljd7f55w3csk6z7bi06"; + }; }); + + nyxt = prev.lispPackages.nyxt.overrideAttrs (old: { + version = "2.1.1"; + src = prev.fetchFromGitHub { + owner = "atlas-engineer"; + repo = "nyxt"; + rev = "2.1.1"; + sha256 = "sha256-GdTOFu5yIIL9776kfbo+KS1gHH1xNCfZSWF5yHUB9U8="; + }; + }); + }; }