From 8948fa503a2bfd2acae2210fcbcafa820c82b25e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Bon=C3=A9?= Date: Fri, 6 Mar 2026 15:18:19 +0100 Subject: [PATCH] Add meta with license to nix-portable --- pkgs/nix-portable/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/nix-portable/default.nix b/pkgs/nix-portable/default.nix index 032869df..d08bf5e7 100644 --- a/pkgs/nix-portable/default.nix +++ b/pkgs/nix-portable/default.nix @@ -604,7 +604,17 @@ let runtimeScriptEscaped = replaceStrings ["\""] ["\\\""] runtimeScript; - nixPortable = pkgs.runCommand pname {nativeBuildInputs = [unixtools.xxd unzip];} '' + nixPortable = pkgs.runCommand pname { + nativeBuildInputs = [unixtools.xxd unzip]; + + meta = { + homepage = "https://github.com/DavHau/nix-portable"; + description = "Nix - Static, Permissionless, Installation-free, Pre-configured for mn5"; + maintainers = with lib.maintainers.bsc; [ abonerib ]; + platforms = lib.platforms.linux; + license = lib.licenses.mit; + }; + } '' mkdir -p $out/bin echo "${runtimeScriptEscaped}" > $out/bin/nix-portable.zip xxd $out/bin/nix-portable.zip | tail