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
librecad: add .desktop file and icon #60008
Conversation
Nice, thanks! I didn't check whether the icons show up but the directories are correct. Just an optional suggestion, you could use |
Thanks, I'll probably do that going forward (I've been adding XDG files to a bunch of packages which are missing them). If you'd rather see this switched over to use |
I personally think it's clearer and less cluttery. You can immediately see that the file is copied to the directory you're creating. |
Use the .desktop file and app icon included in the source package.
531b093
to
2236fe0
Compare
Fair enough. I've updated it to use |
@@ -18,8 +18,11 @@ stdenv.mkDerivation rec { | |||
qmakeFlags = [ "MUPARSER_DIR=${muparser}" "BOOST_DIR=${boost.dev}" ]; | |||
|
|||
installPhase = '' | |||
mkdir -p $out/bin $out/share | |||
cp -R unix/librecad $out/bin |
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.
was there a single binary ? the new version just keeps bin/librecad.
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.
Yes there was, not sure why they used -R
before.
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.
Correct, the only file in bin
is librecad
.
built it into nix-review. Looked fine. I didn't how to check for the icon until I realized rofi supported it. I enabled the feature and it showed so merging. |
Motivation for this change
Use the .desktop file and app icon included in the source package.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)