fix: upgrade prometheus-actual-exporter to nodejs_22

This commit is contained in:
Noah Masur
2026-05-30 10:32:57 -04:00
parent 38edf0a1a6
commit 16e42c2021
2 changed files with 21 additions and 21 deletions
Generated
+18 -18
View File
@@ -49,11 +49,11 @@
]
},
"locked": {
"lastModified": 1779226674,
"narHash": "sha256-wuOkjI6pRiN4sEn/EPBRnNW5cmcpvd7xtIM8y5LooAs=",
"lastModified": 1780048612,
"narHash": "sha256-Md/eOK5OjmvvHc2H52pLZe4zpP4XyfiS5vHqfRCz2HU=",
"owner": "nix-community",
"repo": "disko",
"rev": "65fb947964bd44fc0008faf77d1fcb7a9f40bb32",
"rev": "caa775cf67bfdc47f940edd96c975b5016df9059",
"type": "github"
},
"original": {
@@ -197,11 +197,11 @@
]
},
"locked": {
"lastModified": 1779507042,
"narHash": "sha256-7wOwi8B6D0BYsieZCnHZZj2sNUzgJhLoIVSfkwB7lxQ=",
"lastModified": 1780099287,
"narHash": "sha256-efIPwVGtIWIjWcznhaop6XN6HxnOL8800hF6CBNvlqQ=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "509ed3c603349a9d43de9e2ae6613baea6bd5b34",
"rev": "7d8127d308c3fb9664f7e643eec944be74ebb37d",
"type": "github"
},
"original": {
@@ -263,11 +263,11 @@
]
},
"locked": {
"lastModified": 1772905551,
"narHash": "sha256-TZaHyWUJRhmVY9sRe4p2/wlC+p+O02LLeutjTwlZdLU=",
"lastModified": 1779563638,
"narHash": "sha256-9CQKxDKDqVYdDhJW+A955AZwpwZjKUgvu0LbfsL6uyI=",
"owner": "gytis-ivaskevicius",
"repo": "nix2vim",
"rev": "71acbf5f97545b01778df03a8f2194e918103eba",
"rev": "6927414f0de10a18fb6bc9977717088777d50d0d",
"type": "github"
},
"original": {
@@ -409,11 +409,11 @@
},
"nixpkgs_5": {
"locked": {
"lastModified": 1779357205,
"narHash": "sha256-cCO8aTqss5x9Ky8GWkpY0Hy5fyTZEbtifSUV8QjSzic=",
"lastModified": 1779560665,
"narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "f83fc3c307e74bc5fd5adb7eb6b8b13ffd2a36e1",
"rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786",
"type": "github"
},
"original": {
@@ -447,11 +447,11 @@
]
},
"locked": {
"lastModified": 1779510532,
"narHash": "sha256-5A0Ec9NyFWg66zeFduGIQUJxzMyhfdV/lnBUu66nn8w=",
"lastModified": 1780150535,
"narHash": "sha256-Kz22fIYgDwCD1/HVyfQJUDRMEdwdtVIOSq4Ma1WfmfY=",
"owner": "nix-community",
"repo": "nur",
"rev": "7233bc9ba561a4a40166d72f489c76592354e5e4",
"rev": "0014c5be6969541b8ae4c6f64f59f14ce1b09503",
"type": "github"
},
"original": {
@@ -483,11 +483,11 @@
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1779506148,
"narHash": "sha256-OffE5yuMrSW71zIJNLvtl9MCO6WTAHEjlFPUCvkd/QM=",
"lastModified": 1780110990,
"narHash": "sha256-6QBThUi7SuK+dgA+DCaEkQGZN4kYx6DpXmK45+MG9zI=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "d9973e2ab49747fada06ebbe26cda27eb0220cf1",
"rev": "85570ef134d92a8702de6afd1f6f0209c863fa91",
"type": "github"
},
"original": {
+3 -3
View File
@@ -1,7 +1,7 @@
{
lib,
fetchFromGitHub,
nodejs_20,
nodejs_22,
buildNpmPackage,
typescript,
node-gyp,
@@ -30,7 +30,7 @@ buildNpmPackage (finalAttrs: rec {
npmDepsHash = "sha256-N8xqRYFelolNGTEhG22M7KJ7B5U/uW7o+/XfLF8rHMg=";
nativeBuildInputs = [
nodejs_20
nodejs_22
typescript
python3
node-gyp
@@ -65,7 +65,7 @@ buildNpmPackage (finalAttrs: rec {
installPhase = ''
mkdir -p $out/{bin,lib}
cp -r . $out/lib/prometheus-actual-exporter
makeWrapper ${lib.getExe nodejs_20} $out/bin/prometheus-actual-exporter \
makeWrapper ${lib.getExe nodejs_22} $out/bin/prometheus-actual-exporter \
--add-flags "$out/lib/prometheus-actual-exporter/dist/app.js"
'';