Skip to content

Commit 209aaac

Browse files
authored
Merge pull request #2995 from input-output-hk/hotfix/-/darwin-nix-shell
Fix `nix-shell` on Darwin
2 parents 4de5d2c + 987ea76 commit 209aaac

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)