During an installation of Package 1, which I’ll call
foo, I need to run
bar, Package 2, on a part of
foo’s contents effectively mutating the package at that point.
Here are the problems I have run into:
- I am unable to call my own
barduring a modified call to
- I am unable to make a
bar.nixbecause yarn2nix doesn’t handle
Here’s the flow of what I’m trying to do:
foo’s tarball and extract it
- Continue the installation of
barpulls from data inside of the JS project directory
barneeds to be updated its package.json updates, but if none occurs
fooin the new package should still update
How should I go about writing this? What parts of the nixpkg documentation should I be looking at?