Merge pull request #177308 from risicle/ris-native-source-provenance-appimage
appimageTools.wrapAppImage: default produced derivations to `sourceProvenance` `binaryNativeCode`
This commit is contained in:
commit
0886438a2c
1 changed files with 11 additions and 1 deletions
|
@ -37,7 +37,13 @@ rec {
|
||||||
extractType2 = extract;
|
extractType2 = extract;
|
||||||
wrapType1 = wrapType2;
|
wrapType1 = wrapType2;
|
||||||
|
|
||||||
wrapAppImage = args@{ name ? "${args.pname}-${args.version}", src, extraPkgs, ... }: buildFHSUserEnv
|
wrapAppImage = args@{
|
||||||
|
name ? "${args.pname}-${args.version}",
|
||||||
|
src,
|
||||||
|
extraPkgs,
|
||||||
|
meta ? {},
|
||||||
|
...
|
||||||
|
}: buildFHSUserEnv
|
||||||
(defaultFhsEnvArgs // {
|
(defaultFhsEnvArgs // {
|
||||||
inherit name;
|
inherit name;
|
||||||
|
|
||||||
|
@ -45,6 +51,10 @@ rec {
|
||||||
++ defaultFhsEnvArgs.targetPkgs pkgs ++ extraPkgs pkgs;
|
++ defaultFhsEnvArgs.targetPkgs pkgs ++ extraPkgs pkgs;
|
||||||
|
|
||||||
runScript = "appimage-exec.sh -w ${src} --";
|
runScript = "appimage-exec.sh -w ${src} --";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||||
|
} // meta;
|
||||||
} // (removeAttrs args ([ "pname" "version" ] ++ (builtins.attrNames (builtins.functionArgs wrapAppImage)))));
|
} // (removeAttrs args ([ "pname" "version" ] ++ (builtins.attrNames (builtins.functionArgs wrapAppImage)))));
|
||||||
|
|
||||||
wrapType2 = args@{ name ? "${args.pname}-${args.version}", src, extraPkgs ? pkgs: [ ], ... }: wrapAppImage
|
wrapType2 = args@{ name ? "${args.pname}-${args.version}", src, extraPkgs ? pkgs: [ ], ... }: wrapAppImage
|
||||||
|
|
Loading…
Reference in a new issue