New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
luckybackup: init at 0.5.0 #76682
luckybackup: init at 0.5.0 #76682
Conversation
sha256 = "0nwjsk1j33pm8882jbj8h6nxn6n5ab9dxqpqkay65pfbhcjay0g8"; | ||
}; | ||
|
||
buildInputs = with stdenv.lib; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That shouldn't be needed here, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. I will update my "templates"!
pkgs/top-level/all-packages.nix
Outdated
@@ -2926,6 +2926,11 @@ in | |||
|
|||
epubcheck = callPackage ../tools/text/epubcheck { }; | |||
|
|||
luckybackup = callPackage ../tools/backup/luckybackup { | |||
inherit (qt5) qmake; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use libsForQt5.callPackage
here. That makes it way easier to add further qt5 deps in the future if needed :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It still needs to declare qmake, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. Just a few small things.
sha256 = "0nwjsk1j33pm8882jbj8h6nxn6n5ab9dxqpqkay65pfbhcjay0g8"; | ||
}; | ||
|
||
buildInputs = [ pkgconfig libtool rsync ssh ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move pkgconfig
and libtool
to nativeBuildInputs
.
|
||
prePatch = '' | ||
for File in luckybackup.pro menu/luckybackup-pkexec \ | ||
menu/luckybackup-su.desktop menu/luckybackup.desktop \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please be consistent with spacing. I think 4 spaces from the prior line would be appropriate here.
platforms = platforms.linux; | ||
}; | ||
} | ||
# TODO: test in Darwin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove. If you need + want someone to test this we can ping some people and see if they will.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aanderse ping!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pinging me. Github didn't e-mail me about your push so I had no idea.
This is looking great! Just drop the one flag, I'll test this, and merge.
Thanks!
Done! |
Motivation for this change
New package
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)