You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm very frustrated to have to aggregate two (2) PRs on input-output-hk/haskell.nix manually and on a fork.
manually is cumbersome, but if I was expected to go the extra mile I could do. (egoistic argument) — also consider the flake's diff's terseness when "healing" as PRs get merged.
on a fork is malign since a consumer of my flake can not easily infer that the quality of my fork is that of a work around for patch aggregation. (social argument of conserving public good faith)
# proposal-ish - please read while gracefully complementing & subsanating{inputs.nixpkgs={url=github:NixOS/nixpkgs/nixos-20.03;patches=["https://url.example.com/some.patch"# allow to use current "special url" syntax# but also fall back to proper flake-input-ish attribute sets{rev="abctgf657";}# same remote commit{ref="ref/pr/123";}# same remote PR{type="github";org="myfork";# different remoterepo="nixpkgs";ref="abctgf657";}{type= "file";# a single (patch) file from somwhereurL= "https://url.example.com/some.patch";flake=false;}];};}# evaluation fails, if merge fails# flake.lock pins patches (especially refs) as if they where regular inputs
How to resolve merge conflicts or a broken aggregate remains the user's problem. In that case user needs to step down from these facilities and fork (and just use plain git alongside).
Describe alternatives you've considered
Fork — it's a) cumbersome and b) misleading — see above
some nixery (whichery with nix) in the output body which is completely out of consideration because it would additionally impart:
cumber
initelligable - ness
semantically poor (patches to input's source trees are inputs themselves, sic!) - ness
My gut tells me the commonality threshold is reached so in order to offload those user's facilities to nix (cost-benefit-positive)
It positively impacts the terseness of flakes (see semantic gain above)
In case conflict resolution is required on a fork, a branch naming convention of say aggregate-whatever can increase semantic terseness beyond the limitations of this proposal (so do suggest a convention it in the docs)
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'm very frustrated to have to aggregate two (2) PRs on
input-output-hk/haskell.nix
manually and on a fork.nixpkgs
only] are "horrible" (search forpatch
in that file and discover how involve [and brittle] it is — basically re-triggers an evaluation ofnixpkgs
in the wrong circumstances).Describe the solution you'd like
How to resolve merge conflicts or a broken aggregate remains the user's problem. In that case user needs to step down from these facilities and fork (and just use plain
git
alongside).Describe alternatives you've considered
Additional context
nix
(cost-benefit-positive)aggregate-whatever
can increase semantic terseness beyond the limitations of this proposal (so do suggest a convention it in the docs)The text was updated successfully, but these errors were encountered: