Skip to content

Commit

Permalink
Add rust-overlay to please mithril
Browse files Browse the repository at this point in the history
  • Loading branch information
v0d1ch committed Dec 12, 2024
1 parent b564f8d commit 9465bf5
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
37 changes: 36 additions & 1 deletion flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
cardano-node.url = "github:intersectmbo/cardano-node/10.1.2";
mithril.url = "github:input-output-hk/mithril/2442.0";
nix-npm-buildpackage.url = "github:serokell/nix-npm-buildpackage";
rust-overlay.url = "github:oxalica/rust-overlay";
};

outputs =
Expand All @@ -32,6 +33,7 @@
# TODO remove when haskellNix updated to newer nixpkgs
, nixpkgsLatest
, cardano-node
, rust-overlay
, ...
} @ inputs:
flake-parts.lib.mkFlake { inherit inputs; } {
Expand Down Expand Up @@ -69,6 +71,7 @@
# Custom static libs used for darwin build
(import ./nix/static-libs.nix)
inputs.nix-npm-buildpackage.overlays.default
(import rust-overlay)
# Specific versions of tools we require
(final: prev: {
aiken = inputs.aiken.packages.${system}.aiken;
Expand Down
1 change: 1 addition & 0 deletions nix/hydra/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ let
pkgs.yq
# Use latest jq in all shells, to avoid 1.6 bug with large integers.
pkgsLatest.jq
pkgs.rust-bin.beta.latest.default
];

libs = [
Expand Down

0 comments on commit 9465bf5

Please sign in to comment.