Unverified Commit db83f7e1 authored by Emily's avatar Emily Committed by GitHub
Browse files

Merge pull request #259246 from cyberus-technology/outline-0-72-0

outline: 0.71.0 -> 0.72.2
parents 8817bace ae5561ae
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -11,13 +11,13 @@

stdenv.mkDerivation rec {
  pname = "outline";
  version = "0.71.0";
  version = "0.72.2";

  src = fetchFromGitHub {
    owner = "outline";
    repo = "outline";
    rev = "v${version}";
    hash = "sha256-vwYq5b+cMYf/gnpCwLEpErYKqYw/RwcvyBjhp+5+bTY=";
    hash = "sha256-y54EYWI1DbxosUflp5z+b4i1vO1qDju8LxEK0nt4S/g=";
  };

  nativeBuildInputs = [ makeWrapper yarn2nix-moretea.fixup_yarn_lock ];
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {

  yarnOfflineCache = fetchYarnDeps {
    yarnLock = "${src}/yarn.lock";
    hash = "sha256-j9iaxXfMlG9dT6fvYgPQg6Y0QvCRiBU1peO0YgsGHOY=";
    hash = "sha256-uXWBYZAjMA88NtADA4s2kB4Ubb2atrW6F4kAzDGA1WI=";
  };

  configurePhase = ''
@@ -63,7 +63,8 @@ stdenv.mkDerivation rec {
    makeWrapper ${nodejs}/bin/node $out/bin/outline-server \
      --add-flags $build/server/index.js \
      --set NODE_ENV production \
      --set NODE_PATH $node_modules
      --set NODE_PATH $node_modules \
      --prefix PATH : ${lib.makeBinPath [ nodejs ]} # required to run migrations

    runHook postInstall
  '';