Skip to content

Commit

Permalink
Fix nix build of jsbits
Browse files Browse the repository at this point in the history
  • Loading branch information
rvl committed Apr 15, 2021
1 parent 534aca2 commit 7c58ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/haskell.nix
Expand Up @@ -108,7 +108,7 @@ let
ln -s ${pkgs.srcOnly {name = "cryptonite-src"; src = config.packages.cryptonite.src;}}/cbits $script/cryptonite
ln -s ${pkgs.srcOnly {name = "cardano-crypto-src"; src = config.packages.cardano-crypto.src;}}/cbits $script/cardano-crypto
patchShebangs $script/build.sh
(cd $script && PATH=${pkgs.buildPackages.emscripten}/bin:${pkgs.buildPackages.buildPackages.closurecompiler}/bin:$PATH ./build.sh)
(cd $script && PATH=${lib.makeBinPath (with pkgs.buildPackages; [emscripten closurecompiler coreutils])}:$PATH ./build.sh)
mkdir -p jsbits
cp $script/cardano-crypto.js jsbits/cardano-crypto.js
'';
Expand Down

0 comments on commit 7c58ea4

Please sign in to comment.