Skip to content

Commit 987ea76

Browse files
committed
Fix nix-shell on Darwin
1 parent 4de5d2c commit 987ea76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shell.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ let
116116
ln -svf $(type -P cardano-cli)
117117
mkdir -p ${BUILDTYPE}/
118118
${let
119-
# XXX: right now we don’t build Debug/ versions on Linux (TODO: investigate why – @michalrus)
120-
sourceBUILDTYPE = if system == "x86_64-linux" then "Release" else BUILDTYPE;
119+
# (TODO: investigate why – @michalrus)
120+
sourceBUILDTYPE = "Release";
121121
in ''
122122
ln -svf $PWD/node_modules/usb/build/${sourceBUILDTYPE}/usb_bindings.node ${BUILDTYPE}/
123123
ln -svf $PWD/node_modules/node-hid/build/${sourceBUILDTYPE}/HID.node ${BUILDTYPE}/

0 commit comments

Comments
 (0)