nix.dev icon indicating copy to clipboard operation
nix.dev copied to clipboard

Nix post-build hooks

Open fricklerhandwerk opened this issue 2 years ago • 11 comments

Migrate post-build-hook guide to nix.dev. This is a valuable guide that doesn't belong to the Nix reference manual, but should absolutely be preserved and maintained.

More information: https://github.com/NixOS/nix/pull/7979

Note: This is currently blocked on license incompatibility of LGPL and CC-BY-SA.

Blocked by: https://github.com/NixOS/nix.dev/issues/478

fricklerhandwerk avatar Mar 06 '23 15:03 fricklerhandwerk

The goal is to be able to present and maintain different types of documentation the appropriate contexts. One of the measures is to move that article to nix.dev, which requires re-licensing it.

@edolstra @grahamc @endgame @expipiplus1 @thufschmitt @kevinastock according to commit history here and here you are co-authors and therefore copyright holders of that document. Would you agree to re-license it to CC-BY-SA 4.0?

Background: There was early consensus (mid 2022) for moving in the direction of more cleanly separating documentation types and thus moving things around. November 2022 was another docs team meeting that solidified that understanding. In December 2022 the Nix team merged a change that refers to the Nix Reference Manual, which reflects that agreement across teams.

Edit: Or is re-licensing redundant if we can just refer to the original license in place?

fricklerhandwerk avatar Mar 22 '23 21:03 fricklerhandwerk

Happy to re-licence but my changes are absolutely trivial. They're only a handful of lines and even GNU would accept changes of that size without copyright paperwork.

endgame avatar Mar 22 '23 21:03 endgame

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2023-03-21-documentation-team-meeting-notes-34/26619/1

nixos-discourse avatar Mar 22 '23 21:03 nixos-discourse

The file used to be named post-build-hook.xml:

❯ git log --pretty="%an" -- doc/manual/advanced-topics/post-build-hook.xml | sort | uniq
Eelco Dolstra
Graham Christensen
Joe Hermaszewski
Kevin Stock
regnat

asymmetric avatar Mar 23 '23 12:03 asymmetric

and in @grahamc's case word of mouth

ref: https://github.com/nixos/nix/commit/7c5596734f65b30b250ea73a423b40a4ce513fdf

grahamc avatar Mar 23 '23 13:03 grahamc

Note that I am ok with CC-BY-SA but I don't agree with transferring the ownership which is required for contributing it to this repo.

grahamc avatar Mar 23 '23 13:03 grahamc

@grahamc Thanks! It looks like we'll remove the CLA soon: https://github.com/NixOS/nix.dev/issues/478, I blocked this issue on that.

fricklerhandwerk avatar Mar 23 '23 14:03 fricklerhandwerk

I'm fine with the re-licencing

thufschmitt avatar Mar 23 '23 15:03 thufschmitt

My change is very minimal, but I'm happy to re-license and/or transfer ownership.

kevinastock avatar Mar 23 '23 19:03 kevinastock

No problem by me

expipiplus1 avatar May 03 '23 15:05 expipiplus1

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2023-10-19-documentation-team-meeting-notes-87/34349/5

nixos-discourse avatar Oct 21 '23 19:10 nixos-discourse