Skip to content

Commit

Permalink
appimageTools.extract: add postExtract option (NixOS#261190)
Browse files Browse the repository at this point in the history
  • Loading branch information
gvolpe authored Oct 19, 2023
1 parent 2bbf67d commit 4a2788e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/build-support/appimage/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ rec {
];
};

extract = args@{ name ? "${args.pname}-${args.version}", src, ... }: pkgs.runCommand "${name}-extracted" {
extract = args@{ name ? "${args.pname}-${args.version}", postExtract ? "", src, ... }: pkgs.runCommand "${name}-extracted" {
buildInputs = [ appimage-exec ];
} ''
appimage-exec.sh -x $out ${src}
${postExtract}
'';

# for compatibility, deprecated
Expand Down

0 comments on commit 4a2788e

Please sign in to comment.