Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ofborg/src/maintainers.nix: look up files pointed by "pos" attribute
Sometimes most of attributes for a package are defined outside the file that defines it. Examples are `openjdk` and `nix`. At least `openjdk` defined `pos` attribute to guide `nix edit` to open the right file. Let's extend `ofborg` to do the same. Before the change (with `pos` applied to `nix_2_3`): $ printf '[["nix_2_3"]]' > attrs.json; \ printf '["pkgs/tools/package-management/nix/default.nix"]' > paths.json; \ nix-instantiate --eval maintainers.nix --arg changedattrsjson ./attrs.json --arg changedpathsjson ./paths.json { } After the change: $ printf '[["nix_2_3"]]' > attrs.json; \ printf '["pkgs/tools/package-management/nix/default.nix"]' > paths.json; \ nix-instantiate --eval maintainers.nix --arg changedattrsjson ./attrs.json --arg changedpathsjson ./paths.json { flokli = <CODE>; raitobezarius = <CODE>; }
- Loading branch information