outline: 0.71.0 -> 0.72.2
This commit is contained in:
parent
fc66242d50
commit
ae5561ae21
1 changed files with 5 additions and 4 deletions
|
@ -11,13 +11,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "outline";
|
pname = "outline";
|
||||||
version = "0.71.0";
|
version = "0.72.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "outline";
|
owner = "outline";
|
||||||
repo = "outline";
|
repo = "outline";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-vwYq5b+cMYf/gnpCwLEpErYKqYw/RwcvyBjhp+5+bTY=";
|
hash = "sha256-y54EYWI1DbxosUflp5z+b4i1vO1qDju8LxEK0nt4S/g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper yarn2nix-moretea.fixup_yarn_lock ];
|
nativeBuildInputs = [ makeWrapper yarn2nix-moretea.fixup_yarn_lock ];
|
||||||
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
yarnOfflineCache = fetchYarnDeps {
|
yarnOfflineCache = fetchYarnDeps {
|
||||||
yarnLock = "${src}/yarn.lock";
|
yarnLock = "${src}/yarn.lock";
|
||||||
hash = "sha256-j9iaxXfMlG9dT6fvYgPQg6Y0QvCRiBU1peO0YgsGHOY=";
|
hash = "sha256-uXWBYZAjMA88NtADA4s2kB4Ubb2atrW6F4kAzDGA1WI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
@ -63,7 +63,8 @@ stdenv.mkDerivation rec {
|
||||||
makeWrapper ${nodejs}/bin/node $out/bin/outline-server \
|
makeWrapper ${nodejs}/bin/node $out/bin/outline-server \
|
||||||
--add-flags $build/server/index.js \
|
--add-flags $build/server/index.js \
|
||||||
--set NODE_ENV production \
|
--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
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue