nlopt: add passthru.updateScript
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
nix-update-script,
|
||||
# Optionally build Python bindings
|
||||
withPython ? false,
|
||||
python3,
|
||||
@@ -65,6 +66,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'INTERFACE_INCLUDE_DIRECTORIES "''${_IMPORT_PREFIX}/' 'INTERFACE_INCLUDE_DIRECTORIES "'
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
homepage = "https://nlopt.readthedocs.io/en/latest/";
|
||||
changelog = "https://github.com/stevengj/nlopt/releases/tag/v${finalAttrs.version}";
|
||||
|
||||
Reference in New Issue
Block a user