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 ca44716 commit b8ae43c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Building and packaging tezos using nix

## Statically built binaries
## Dynamically built binaries

In order to build all binaries run:
```bash
Expand Down
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 b8ae43c

Please sign in to comment.