From c5f924dcc2e2a4dc087620ba58a2515d4841e008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 25 Jul 2023 22:23:06 -0700 Subject: [PATCH] polaris-web: 55 -> 67 Diff: https://github.com/agersant/polaris-web/compare/build-55...build-67 --- pkgs/servers/polaris/web.nix | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/pkgs/servers/polaris/web.nix b/pkgs/servers/polaris/web.nix index ee3042b6bbdd..d0c310c2ad86 100644 --- a/pkgs/servers/polaris/web.nix +++ b/pkgs/servers/polaris/web.nix @@ -1,33 +1,23 @@ { lib , buildNpmPackage , fetchFromGitHub -, nodePackages -, python3 }: buildNpmPackage rec { pname = "polaris-web"; - version = "build-55"; + version = "67"; src = fetchFromGitHub { owner = "agersant"; repo = "polaris-web"; - rev = version; - sha256 = "2XqU4sExF7Or7RxpOK2XU9APtBujfPhM/VkOLKVDvF4="; + rev = "build-${version}"; + hash = "sha256-mhrgHNbqxLhhLWP4eu1A3ytrx9Q3X0EESL2LuTfgsBE="; }; - npmDepsHash = "sha256-sSd1WSS9xsaVr9mCQueAuqceOv5SkSzqsxX9kHYC8Xo="; - - nativeBuildInputs = [ - nodePackages.node-gyp-build - python3 - ]; + npmDepsHash = "sha256-lScXbxkJiRq5LLFkoz5oZsmKz8I/t1rZJVonfct9r+0="; env.CYPRESS_INSTALL_BINARY = "0"; - # https://github.com/parcel-bundler/parcel/issues/8005 - env.NODE_OPTIONS = "--no-experimental-fetch"; - npmBuildScript = "production"; installPhase = ''