Merge pull request #258163 from ereslibre/fix-spin

fermyon-spin: add mainProgram and fix build for darwin
This commit is contained in:
Nick Cao 2023-09-30 09:51:43 -04:00 committed by GitHub
commit 25e24b5446
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
};