summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorThomas Watson <twatson52@icloud.com>2025-03-27 13:45:21 -0500
committerThomas Watson <twatson52@icloud.com>2025-03-27 13:50:33 -0500
commit438d311460ebcb961d80d24821690b40410eb8a4 (patch)
tree397c956a474b8d769e527a3cf45509e6e45f73a1 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parente9744551526f529cc6d15b58716b37373c6b5017 (diff)
mission-planner: reduce closure size
The release zip file doesn't contain a top level directory. The previous solution of `sourceRoot = "."` followed by an `installPhase` of `mv * $out/...` does install correctly. However, this grabs detritus from the Nix build sandbox root, in particular `env-vars`, resulting in an accidental run-time dependency on many build-time inputs. Fix by instead using a custom `unpackPhase` to change into an empty directory, then extracting the release and proceeding with the installation from there, so that only files from the release are installed. This reduces closure size by ~425M. Tested that Mission Planner opens and connects to a drone.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions