octavePackages.dicom: Run autoconf to build the necessary C++
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
gdcm,
|
||||
autoreconfHook,
|
||||
pkg-config,
|
||||
cmake,
|
||||
nix-update-script,
|
||||
}:
|
||||
@@ -19,15 +21,26 @@ buildOctavePackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
autoreconfHook
|
||||
cmake
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
gdcm
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
preAutoreconf = ''
|
||||
pushd src
|
||||
# Removed these so autoreconf actually fires for our environment.
|
||||
rm config.*
|
||||
'';
|
||||
postAutoreconf = ''
|
||||
popd
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=release-(.*)" ]; };
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user