We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9339f7a commit 3aafac9Copy full SHA for 3aafac9
pkgs/by-name/mo/mount-zip/package.nix
@@ -8,6 +8,8 @@
8
libzip,
9
pandoc,
10
pkg-config,
11
+ versionCheckHook,
12
+ gitUpdater,
13
}:
14
15
stdenv.mkDerivation (finalAttrs: {
@@ -37,6 +39,16 @@ stdenv.mkDerivation (finalAttrs: {
37
39
38
40
makeFlags = [ "PREFIX=$(out)" ];
41
42
+ nativeInstallCheckInputs = [
43
+ versionCheckHook
44
+ ];
45
+ versionCheckProgramArg = [ "--version" ];
46
+ doInstallCheck = true;
47
+
48
+ passthru = {
49
+ updateScript = gitUpdater { rev-prefix = "v"; };
50
+ };
51
52
meta = {
53
description = "FUSE file system for ZIP archives";
54
homepage = "https://github.com/google/mount-zip";
0 commit comments