diff --git a/pkgs/by-name/sw/swagger-typescript-api/package.nix b/pkgs/by-name/sw/swagger-typescript-api/package.nix index a8dd7f797fcc..564483ef58f0 100644 --- a/pkgs/by-name/sw/swagger-typescript-api/package.nix +++ b/pkgs/by-name/sw/swagger-typescript-api/package.nix @@ -9,10 +9,10 @@ }: let pname = "swagger-typescript-api"; - version = "13.6.5"; + version = "13.7.2"; node-modules-hash = { - "x86_64-linux" = "sha256-N19ocmrqQ8SpDNhmpCNC1wdWGrkBXCdio+ZfEXceaUA="; + "x86_64-linux" = "sha256-1Wy9RWNvMmxSY72Qcam/jCVwurGk4ms9PTR5tt6t03I="; }; in stdenv.mkDerivation (finalAttrs: { @@ -22,19 +22,27 @@ stdenv.mkDerivation (finalAttrs: { owner = "acacode"; repo = "swagger-typescript-api"; rev = "v${version}"; - hash = "sha256-DAgE88JBJLNkg9WOO2qVI2dpdfNFvvBIcy++S/PX2NY="; + hash = "sha256-2sAE3wD/vUjaxvlhfrBRSErB3PsjQfi4UAcc4tU0le4="; }; node_modules = stdenv.mkDerivation { inherit (finalAttrs) src version; pname = "${pname}-node_modules"; + impureEnvVars = lib.fetchers.proxyImpureEnvVars ++ [ + "GIT_PROXY_COMMAND" + "SOCKS_SERVER" + ]; + nativeBuildInputs = [ bun writableTmpDirAsHomeHook ]; dontConfigure = true; + # Prevent patchShebangs from rewriting node_modules/.bin shebangs to store + # paths, which would make this fixed-output derivation's output hash unstable. + dontPatchShebangs = true; buildPhase = '' runHook preBuild