Skip to content

Commit

Permalink
Merge: wiki-js: 2.5.304 -> 2.5.305, reduce closure size by 50% (NixOS…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma27 authored Oct 19, 2024
2 parents de57ac8 + 3dc2d95 commit 39bcd40
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions pkgs/servers/web-apps/wiki-js/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,22 @@

stdenv.mkDerivation rec {
pname = "wiki-js";
version = "2.5.304";
version = "2.5.305";

src = fetchurl {
url = "https://github.com/Requarks/wiki/releases/download/v${version}/${pname}.tar.gz";
sha256 = "sha256-w89+X3sqZPlX7EuK/g2oATHqlpx1br/Njh81vZt8zYM=";
sha256 = "sha256-beP9k1msJjg9IQbU/CmzTodjMvUnWrLYcw0EleR1OJk=";
};

# Unpack the tarball into a subdir. All the contents are copied into `$out`.
# Unpacking into the parent directory would also copy `env-vars` into `$out`
# in the `installPhase` which ultimately means that the package retains
# references to build tools and the tarball.
preUnpack = ''
mkdir source
cd source
'';

sourceRoot = ".";

dontBuild = true;
Expand Down

0 comments on commit 39bcd40

Please sign in to comment.