overlays/cross: tangram: document one route to upstreaming
This commit is contained in:
@@ -759,7 +759,12 @@ in with final; {
|
|||||||
|
|
||||||
# 2024/11/19: upstreaming is unblocked
|
# 2024/11/19: upstreaming is unblocked
|
||||||
tangram = prev.tangram.overrideAttrs (upstream: {
|
tangram = prev.tangram.overrideAttrs (upstream: {
|
||||||
# gsjpack has a shebang for the host gjs. patchShebangs --build doesn't fix that: just manually specify the build gjs
|
# gsjpack has a shebang for the host gjs. patchShebangs --build doesn't fix that: just manually specify the build gjs.
|
||||||
|
# the proper way to patch this for nixpkgs is:
|
||||||
|
# 1. split `gjspack` into its own package.
|
||||||
|
# - right now it's a submodule of all of sonnyp's repos,
|
||||||
|
# and each nix package re-builds it (forge-sparks, junction, tangram).
|
||||||
|
# 2. wrap `gjspack` the same way i did blueprint-compiler, and put it in nativeBuildInputs
|
||||||
postPatch = let
|
postPatch = let
|
||||||
gjspack' = buildPackages.writeShellScriptBin "gjspack" ''
|
gjspack' = buildPackages.writeShellScriptBin "gjspack" ''
|
||||||
export GI_TYPELIB_PATH=${typelibPath [ buildPackages.glib ]}:$GI_TYPELIB_PATH
|
export GI_TYPELIB_PATH=${typelibPath [ buildPackages.glib ]}:$GI_TYPELIB_PATH
|
||||||
|
Reference in New Issue
Block a user