fix callPackage firefox-addons missing key immersive-translate.

This commit is contained in:
Ulic-youthlic 2025-01-07 23:23:51 +08:00
parent 64db779064
commit 2f5ac0dfe1
2 changed files with 33 additions and 63 deletions

86
flake.lock generated
View file

@ -35,10 +35,7 @@
}
},
"firefox-addons": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_2"
},
"flake": false,
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1736222615,
@ -175,21 +172,6 @@
}
},
"flake-utils": {
"locked": {
"lastModified": 1629284811,
"narHash": "sha256-JHgasjPR0/J1J3DRm4KxM4zTyAj4IOJY8vIl75v/kPI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "c5d161cc0af116a2e17f54316f0bf43f0819785c",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_2": {
"inputs": {
"systems": "systems"
},
@ -207,7 +189,7 @@
"type": "github"
}
},
"flake-utils_3": {
"flake-utils_2": {
"inputs": {
"systems": "systems_2"
},
@ -225,7 +207,7 @@
"type": "github"
}
},
"flake-utils_4": {
"flake-utils_3": {
"inputs": {
"systems": "systems_3"
},
@ -243,7 +225,7 @@
"type": "github"
}
},
"flake-utils_5": {
"flake-utils_4": {
"inputs": {
"systems": "systems_5"
},
@ -285,18 +267,18 @@
"helix": {
"inputs": {
"crane": "crane",
"flake-utils": "flake-utils_4",
"flake-utils": "flake-utils_3",
"nixpkgs": [
"nixpkgs"
],
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1736210061,
"narHash": "sha256-POnlYfIcCreEB/abiregCnuIt+FXxpYsFAAnxvrys44=",
"lastModified": 1736259479,
"narHash": "sha256-EYAUL8eJgCC3/7CyPoZrPLAqxokQ/DcD7A+cZ0bKvmI=",
"owner": "helix-editor",
"repo": "helix",
"rev": "e698b20245bf46711575a76d459eb04dd3913f2a",
"rev": "a0bd39d40e983c9fdcd4909b0077b3ac8bf43ad6",
"type": "github"
},
"original": {
@ -352,7 +334,7 @@
"inputs": {
"niri-stable": "niri-stable",
"niri-unstable": "niri-unstable",
"nixpkgs": "nixpkgs_3",
"nixpkgs": "nixpkgs_2",
"nixpkgs-stable": "nixpkgs-stable_2",
"xwayland-satellite-stable": "xwayland-satellite-stable",
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
@ -503,7 +485,7 @@
"nixos-cosmic": {
"inputs": {
"flake-compat": "flake-compat_2",
"nixpkgs": "nixpkgs_4",
"nixpkgs": "nixpkgs_3",
"nixpkgs-stable": "nixpkgs-stable_3",
"rust-overlay": "rust-overlay_2"
},
@ -523,11 +505,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1735388221,
"narHash": "sha256-e5IOgjQf0SZcFCEV/gMGrsI0gCJyqOKShBQU0iiM3Kg=",
"lastModified": 1736237814,
"narHash": "sha256-uTdscVaKjnRnBIMuu/oWwdiGhYd/JOQ4YZGHeCoroqs=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "7c674c6734f61157e321db595dbfcd8523e04e19",
"rev": "ca30f8501ab452ca687a7fdcb2d43e1fb1732317",
"type": "github"
},
"original": {
@ -715,16 +697,16 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1736134818,
"narHash": "sha256-30sOEZ8CFK2nTTMdkhaNrfVlIi3rWTNV0Z5z+NmpFNI=",
"owner": "nixos",
"lastModified": 1736012469,
"narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3df3c47c19dc90fec35359e89ffb52b34d2b0e94",
"rev": "8f3e1f807051e32d8c95cd12b9b421623850a34d",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
@ -761,22 +743,6 @@
"type": "github"
}
},
"nixpkgs_5": {
"locked": {
"lastModified": 1736012469,
"narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8f3e1f807051e32d8c95cd12b9b421623850a34d",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nur": {
"locked": {
"lastModified": 1731941414,
@ -828,11 +794,11 @@
"winapps": "winapps"
},
"locked": {
"lastModified": 1736181070,
"narHash": "sha256-WEGej7QAcCFLiv8QIC/PK3dDTRNa6R5y5WaZGaBRU0E=",
"lastModified": 1736243414,
"narHash": "sha256-BrUkHxJnAY9YyPfzKvThu1tYFreHHQHjP6rCiNwKb4c=",
"owner": "oskardotglobal",
"repo": ".dotfiles",
"rev": "3cae6793b840d17c4827a03172e681b3b3389ae0",
"rev": "80fe187d7437a52e485170aef463de5bde702818",
"type": "github"
},
"original": {
@ -847,14 +813,14 @@
"dae": "dae",
"firefox-addons": "firefox-addons",
"flake-parts": "flake-parts_2",
"flake-utils": "flake-utils_2",
"flake-utils": "flake-utils",
"ghostty": "ghostty",
"helix": "helix",
"home-manager": "home-manager",
"niri-flake": "niri-flake",
"nixos-cosmic": "nixos-cosmic",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_5",
"nixpkgs": "nixpkgs_4",
"nur-xddxdd": "nur-xddxdd",
"oskars-dotfiles": "oskars-dotfiles"
}
@ -1048,7 +1014,7 @@
"winapps": {
"inputs": {
"flake-compat": "flake-compat_3",
"flake-utils": "flake-utils_5",
"flake-utils": "flake-utils_4",
"nixpkgs": [
"oskars-dotfiles",
"nixpkgs"
@ -1106,7 +1072,7 @@
"flake-compat": [
"ghostty"
],
"flake-utils": "flake-utils_3",
"flake-utils": "flake-utils_2",
"nixpkgs": [
"ghostty",
"nixpkgs-stable"

View file

@ -9,9 +9,13 @@
profiles.default = {
name = "default";
isDefault = true;
extensions = with (pkgs.callPackage firefox-addons { }); [
immersive-translate
];
extensions =
let
addons = (pkgs.callPackage firefox-addons { }).firefox-addons;
in
[
addons.immersive-translate
];
search = {
force = true;
default = "DuckDuckGo";