Skip to content

Commit eb8cee2

Browse files
committed
samsung-unified-linux-driver 4.01.17: fix library path
On x86-64, the executables were looking for libraries in `${lib.getLib stdenv.cc.cc}/lib64`, but that path apparently changed with 5e2e98f , resulting in a runtime error: > /nix/store/0z8gd4fmjknwswx0pp5kzqnrhj1k9q8x-samsung-UnifiedLinuxDriver-4.01.17/lib/cups/filter/rastertospl: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory Affected programs are `$out/lib/cups/filter/{ps,raster}tospl{,c}`. The commit at hand fixes the library lookup path.
1 parent 0b59ddc commit eb8cee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/misc/cups/drivers/samsung/4.01.17.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ let
3030
cups
3131
libusb-compat-0_1
3232
]
33-
+ ":$out/lib:${lib.getLib stdenv.cc.cc}/lib${appendPath}";
33+
+ ":$out/lib:${lib.getLib stdenv.cc.cc}/lib";
3434
in
3535
stdenv.mkDerivation (finalAttrs: {
3636
pname = "samsung-unified-linux-driver";

0 commit comments

Comments
 (0)