static-nix-shell: populate meta.mainProgram
This commit is contained in:
parent
9442a87311
commit
c668a895d4
|
@ -95,10 +95,14 @@ in rec {
|
|||
|
||||
runHook postInstall
|
||||
'';
|
||||
meta = {
|
||||
mainProgram = srcPath;
|
||||
} // (attrs.meta or {});
|
||||
} // extraDerivArgs // (removeAttrs attrs [
|
||||
"extraMakeWrapperArgs"
|
||||
"interpreter"
|
||||
"interpreterName"
|
||||
"meta"
|
||||
"nativeBuildInputs"
|
||||
"pkgExprs"
|
||||
"pkgsEnv"
|
||||
|
|
Loading…
Reference in New Issue