Conversation
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/1631 |
AndersonTorres
left a comment
There was a problem hiding this comment.
17 changed files and you call this "almost untouched"??
|
I mean almost untouched from upstream (urbit build system) |
It is not because urbit uses Nix as build tool that we should copy-paste the Nix files they are using. Using the same tool does not imply to achieve the same goal. No one in pkgsrc project copy-pastes Makefiles merely because pkgsrc is made of Makefiles. |
|
Well, is not copy-paste, effectively upstream goal is much more wide: static binaries, cross build, release tarballs, debug builds, test networks and more. I have extracted only minimal for binary build. Mainly libs ( some urbit owned, some vendored and some other override from nixpkgs). |
Oh, sorry! You have copied only 5%, not the 100% of upstream git repo, so it is only a extraction, not a copy-paste! My imprecision shattered the whole critique! (or maybe only 5%, dunno...)
Including machine-generated files as if they were pristine sources is not "minimal". This is low quality code. |
|
Thanks for your review and your feedback. My only interest in extract "almost untouched" code was for an ease maintenance. But I understand this is more difficult to review then. So, following your guidelines I have removed generated sources.nix code and also some dead code for static or debug builds. |
SuperSandro2000
left a comment
There was a problem hiding this comment.
Please follow the contributing guide when naming your commits.
If packages are more complex and require patches then the nix file should be in the same directory as a default.nix
pkgs/misc/urbit/default.nix
Outdated
There was a problem hiding this comment.
Darwin support and avoid beta versions. Is it preferred to send PR upstream to add Darwin support? Otoh I'll try using the beta.
There was a problem hiding this comment.
Ok, I've checked and h2o stable (2.2.6) is required at the moment. I could try updating lib upstream, but it will be hard to get accepted due to the beta status of version 2.3.0. Would it make sense to have both versions in nixpkgs?
|
Hi @SuperSandro2000, I'm wondering if it would be better to refactor this and do a Pull Request for each library:
or do you prefer keep them into |
|
Closed because build system migrate to bazel upstream |
Description of changes
Bump up urbit binary, reusing own urbit nix build process code. Almost untouched.
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