From 779247691f0c1e54ca5fd70758faaef159716856 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 3 Oct 2023 10:00:34 +0200 Subject: [PATCH] Add metadata for Nanos6 --- pkgs/nanos6/default.nix | 8 ++++++++ pkgs/nanos6/jemalloc.nix | 3 +++ 2 files changed, 11 insertions(+) diff --git a/pkgs/nanos6/default.nix b/pkgs/nanos6/default.nix index ef27496..4bad276 100644 --- a/pkgs/nanos6/default.nix +++ b/pkgs/nanos6/default.nix @@ -105,4 +105,12 @@ in mkdir -p $out/nix-support echo "export NANOS6_HOME=$out" >> $out/nix-support/setup-hook ''; + + meta = with lib; { + homepage = "https://github.com/bsc-pm/nanos6"; + description = "Nanos6 runtime for OmpSs-2" + + optionalString (enableDebug) " (with debug symbols)"; + platforms = platforms.linux; + license = licenses.gpl3; + }; } diff --git a/pkgs/nanos6/jemalloc.nix b/pkgs/nanos6/jemalloc.nix index 3966130..59ee857 100644 --- a/pkgs/nanos6/jemalloc.nix +++ b/pkgs/nanos6/jemalloc.nix @@ -6,4 +6,7 @@ jemalloc.overrideAttrs (old: { "--enable-stats" ]; hardeningDisable = [ "all" ]; + meta = old.meta // { + description = old.meta.description + " (for Nanos6)"; + }; })