Conversation
OPNA2608
left a comment
There was a problem hiding this comment.
Welcome to Nixpkgs. 👋
Please adjust your commits to the commit conventions (common and /pkgs-specific, employ squashing & rebasing), and check the suggestions.
OPNA2608
left a comment
There was a problem hiding this comment.
Result of nixpkgs-review pr 287497 run on x86_64-linux 1
1 package built:
- one-click-backup
Launches. Please see the suggestion I added, then squash as explained earlier. Expected order & format of commits is:
maintainers: add NISone-click-backup: init at 1.2.2.1
|
Squashing and rebasing is now done! I hope I have done everything correctly, this is my first time messing around with |
|
Doesn't look squashed to me, should show 2 commits instead of 22. Fails to build on Darwin: Maybe missing a meta = with lib; {
# <other attributes>
# error: implicit instantiation of undefined template 'std::basic_stringstream<char>'
broken = stdenv.hostPlatform.isDarwin;
}; |
If I change the code, is there some way for me to test if it builds on Darwin? If I can get it fixed, I will upload a new release, if not I will mark it as broken.
That I don't understand, I explicitely used "squash" everywhere when running |
Push a commit and fetch it as a patch. patches = [
# Maybe fix build on Darwin
# Remove when version > 1.2.2.1
(fetchpatch {
url = "https://gitlab.com/dev-nis/nis-one-click-backup-qt/-/commit/fbecc454871c79add00ff35d363b262d543cd2ed.patch";
hash = "";
})
];(replace with the commit's rev, fill in hash based on the hash mismatch error) |
Co-authored-by: Cosima Neidahl <opna2608@protonmail.com>
|
If you say everything is fine, I will squash the remaining commits |
|
qt6.qtbase is currently broken on Darwin, so can't test this: #288842 (comment) |
Actually, the program seems to build fine without |
|
I would expect |
Well, seems like you were right: Should I then just wait for this issue to get fixed? Or should I mark Darwin as broken for now? |
|
Give it a day or so and it should (hopefully) work again, fix has been merged. |
There was a problem hiding this comment.
extra-cmake-modules goes to nativeBuildInputs in my experience
There was a problem hiding this comment.
KDE's
extra-cmake-modulesis usually placed intonativeBuildInputs.strictDepssays that's wrong
Well, seems like you were right: Should I then just wait for this issue to get fixed? Or should I mark Darwin as broken for now?
Okay! How can I trigger a rebuild after a few days? |
|
@ofborg build one-click-backup one-click-backup.passthru.tests |
|
Seems like it still doesn't build on Darwin. I will mark "Darwin" as broken as soon as I can. |
|
All checks pass now, if you say everything is fine, I will squash the commits again. |
OPNA2608
left a comment
There was a problem hiding this comment.
Otherwise looks fine for squashing
Co-authored-by: Cosima Neidahl <opna2608@protonmail.com>
|
Squashed now! |
|
Great, thank's for all your comments and help! |


Description of changes
Add the new application "NIS One-Click-Backup" to nixpkgs. It is a simple program to backup folders to an external location by copying them. The source code can be found here
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.