emacs: integrate macport into generic drv #155360
Conversation
8134570 to
b30af5f
Compare
|
I have no idea why the release checks fail. The attribute evals just fine when building. |
0023706 to
cc76c71
Compare
|
Result of 1 package marked as broken and skipped:
5 packages failed to build:
22 packages built:
The Agda build was killed manually because it takes so long. The other failures were already broken. Result of 1 package marked as broken and skipped:
2 packages failed to build:
31 packages built:
|
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
|
Quoting ofborg: You should probably switch to an HTTP URL, preferably with a European or US domain. There's also merge conflicts now. |
|
I don't think the tarball is available through any other means. We could build from source instead of the patches but I wanted to preserve the previous status-quo as much as possible. Is that what causes the basic eval checks? Because the URL is unchanged, it was like this before too. The only thing I did change was go from |
|
Alright, I just tried using the exact same The same ftp server is also used with fetchTarball inside the drv and the eval checks don't complain about that when I comment out the problematic patches fetcher. What gives? |
|
Should I just give up and build from source instead? |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
YES |
|
In my not so humble opinion, looking at the huge size of this patch, I think the macport should stay separated. |
It's not very big IMO. In fact, it removes more code than it adds.
It's one or the other.
Many were already present for the upstream NS port of emacs which is different from the macport.
I disagree. It's trivial to ignore everything guarded behind things like The problem with keeping the macport separated is that most of the drv is the same as regular emacs. The only difference would be that you wouldn't have to cater towards Linux toolkits in the macport drv and vice versa. As macport is being developed with a 28.1 base now, integrating native-comp would mean maintaining even more duplicate code. |
|
Okay then. |
|
I'll get to that tomorrow hopefully. |
|
this is a great patch! it is sad that it hasn't been merged yet. Have you consider publishing it as an overlay? |
It can’t be merged because it has merge conflicts. The conflicts need to be resolved. |
|
It also can't be merged because there's an odd eval error that I need to get rid of first or rip out the tarball build. If anyone wants to pick this up, feel free because I'm going to have exams for the next few weeks. |
|
Drafting. |
cc76c71 to
bdcf263
Compare
|
Rebased and now building from source. I'll squash some of these together but the end-result will be the same. |
I added macport support to the generic drv and will maintain that part
Non-source macport builds require it
bdcf263 to
5dd7a6e
Compare
|
The high number of rebuilds are the emacsPackages, no need for staging. |
|
Thank you all! |
Motivation for this change
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes