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
draftsight: 2018SP2 -> 2019SP0 #58666
Conversation
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/draftsight/versions
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.
Does not find dependency harfbuzz. Might be broken.
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.
Builds but looks broken indeed:
$ DraftSight
/nix/store/9dfz2x9crnl9b2slk05lrcn16yznkfh6-draftsight-2019SP0/draftsight/opt/dassault-systemes/DraftSight/Linux/DraftSight: error while loading shared libraries: libharfbuzz.so.0: cannot open shared object file: No such file or directory
@Hodapp87 would you possibly have time to take a look at this? |
I am looking at it now, but can't make any promises on how much time I'll have to do so |
I was able to get past the harfbuzz error merely with this: diff --git a/pkgs/applications/graphics/draftsight/default.nix b/pkgs/applications/graphics/draftsight/default.nix
index e22580646c4..0314168431a 100644
--- a/pkgs/applications/graphics/draftsight/default.nix
+++ b/pkgs/applications/graphics/draftsight/default.nix
@@ -2,7 +2,7 @@
dbus, alsaLib, cups, fontconfig, glib, icu, libpng12,
xkeyboard_config, zlib, libxslt, libxml2, sqlite, orc,
libX11, libXcursor, libXrandr, libxcb, libXi, libSM, libICE,
- libXrender, libXcomposite }:
+ libXrender, libXcomposite, harfbuzz }:
let version = "2019SP0"; in
stdenv.mkDerivation {
@@ -74,7 +74,7 @@ stdenv.mkDerivation {
dbus alsaLib cups.lib fontconfig glib icu libpng12
xkeyboard_config zlib libxslt libxml2 sqlite orc libX11
libXcursor libXrandr libxcb libXi libSM libICE libXrender
- libXcomposite ];
+ libXcomposite harfbuzz ];
meta = with stdenv.lib; {
description = "2D design & drafting application, meant to be similar to AutoCAD"; but I am then stuck with this familiar error...
I have dealt with this before but I completely forget how I fixed it. |
@Hodapp87 A new version of |
This pull request has been mentioned on Nix community. There might be relevant details there: |
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/draftsight/versions.
meta.description for draftsight is: '"2D design & drafting application, meant to be similar to AutoCAD"'.
Checks done (click to expand)
Rebuild report (if merged into master) (click to expand)
1 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
draftsight
Instructions to test this update (click to expand)
Either download from Cachix:
(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
After you've downloaded or built it, look at the files and if there are any, run the binaries:
cc @Hodapp87 for testing.