We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ab6e11 commit dfd95dfCopy full SHA for dfd95df
1 file changed
flake.nix
@@ -31,6 +31,7 @@
31
32
common = {
33
packages = with pkgs; [
34
+ nix # HACK: to fix the side effect of the hack below, installing two instances of nix
35
gnumake
36
bun
37
nodejs-slim
@@ -47,6 +48,12 @@
47
48
PRISMA_QUERY_ENGINE_LIBRARY = "${prisma-engines}/lib/libquery_engine.node";
49
PRISMA_INTROSPECTION_ENGINE_BINARY = "${prisma-engines}/bin/introspection-engine";
50
PRISMA_FMT_BINARY = "${prisma-engines}/bin/prisma-fmt";
51
+
52
+ # HACK: sharp can't find libstdc++.so.6 on bun without this
53
+ # - hack because: setting this may break other packages
54
+ # - info: it can find libstdc++.so.6 on Node.js
55
+ # - info: NobbZ says it's because "We can not set an rpath for a scripting language"
56
+ LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib";
57
};
58
59
in {
0 commit comments