Commit 1694229b authored by Chris Portela's avatar Chris Portela
Browse files

openclaw: fix update script for insecure package

parent 4ce2e954
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@
  nodejs_22,
  makeWrapper,
  versionCheckHook,
  nix-update-script,
  rolldown,
  version ? "2026.3.12",
}:
@@ -85,7 +84,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
  nativeInstallCheckInputs = [ versionCheckHook ];
  doInstallCheck = true;

  passthru.updateScript = nix-update-script { };
  passthru.updateScript = ./update.sh;

  meta = {
    description = "Self-hosted, open-source AI assistant/agent";
+8 −0
Original line number Diff line number Diff line
#!/usr/bin/env nix-shell
#!nix-shell -I nixpkgs=./. -i bash -p nix-update
#shellcheck shell=bash

set -euo pipefail

export NIXPKGS_ALLOW_INSECURE=1 # package has knownVulnerabilities
nix-update "$UPDATE_NIX_ATTR_PATH"