Skip to content

Commit

Permalink
Build dynamic tezos binaries via nix
Browse files Browse the repository at this point in the history
Problem: Rust doesn't work well with musl on nix, see
NixOS/nixpkgs#71195.

Solution: Build dynamic binaries instead. It's fine since these
binaries aren't used in the releases and used only in our
internal infrastructure.
  • Loading branch information
rvem committed Dec 7, 2020
1 parent 84cb218 commit ccfacdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let
(import ./build/release-binaries.nix);
binaries = builtins.listToAttrs (map (meta: {
inherit (meta) name;
value = bin pkgs.pkgsMusl.ocamlPackages.${meta.name} // { inherit meta; };
value = bin pkgs.ocamlPackages.${meta.name} // { inherit meta; };
}) release-binaries);

# Bundle the contents of a package set together, leaving the original attrs intact
Expand Down

0 comments on commit ccfacdf

Please sign in to comment.