Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ndi: unpackPhase without interpolation of src
The `unpackPhase` as of the previous commit did interpolate the result of the `src` on a nix level. However for any overrides (`overrideAttrs`) to work on the source, for instance to update to a newer version locally, the `src` environment variable of `stdenv` must be used. Otherwise the old, upstream, version will still be pulled in as a dependency and ultimately used for building, which will fail if the old version is not present, or will just deploy the old version if the old version was already downloaded (`requireFile` causes special semi-non-idempotent issues here). Further information was provided in a GitHub comment: NixOS#219578 (comment) Signed-off-by: benaryorg <binary@benary.org>
- Loading branch information