envision-unwrapped: correct versionCheckHook use
This commit is contained in:
@@ -67,7 +67,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pkg-config
|
||||
rustPlatform.cargoSetupHook
|
||||
rustc
|
||||
versionCheckHook
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
@@ -87,6 +86,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
zlib
|
||||
];
|
||||
|
||||
# FIXME: error when running `env -i envision`:
|
||||
# "HOME env var not defined: NotPresent"
|
||||
doInstallCheck = false;
|
||||
versionCheckProgram = "${placeholder "out"}/bin/envision";
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/envision \
|
||||
--prefix PATH : "${lib.makeBinPath [ gdb ]}"
|
||||
|
||||
Reference in New Issue
Block a user