fermyon-spin: add mainProgram and fix build for darwin

This commit is contained in:
Rafael Fernández López 2023-09-30 10:17:43 +02:00
parent bf25d8782b
commit 453d64c9c2
No known key found for this signature in database
GPG Key ID: A07C55EEE4CCE570

View File

@ -33,7 +33,7 @@ in stdenv.mkDerivation rec {
sha256 = packageHash;
};
nativeBuildInputs = [
nativeBuildInputs = lib.optionals stdenv.isLinux [
autoPatchelfHook
];
@ -51,6 +51,7 @@ in stdenv.mkDerivation rec {
description = "Framework for building, deploying, and running fast, secure, and composable cloud microservices with WebAssembly.";
homepage = "https://github.com/fermyon/spin";
license = with licenses; [ asl20 ];
mainProgram = "spin";
maintainers = with maintainers; [ mglolenstine ];
platforms = platforms.linux ++ platforms.darwin;
};