diff --git a/third_party/default.nix b/third_party/default.nix index e172ab0f4c..93b93e5f76 100644 --- a/third_party/default.nix +++ b/third_party/default.nix @@ -23,6 +23,12 @@ let rev = "e07af104b8e41d1cd7e41dc7ac3fdcdf4953efae"; hash = "sha256:07syygn1rc5n1big7hf42pzgm5wc1r0mzglzvlbcb7rkzgqqhbqx"; }; + naerskSrc = nixpkgs.fetchFromGitHub { + owner = "nmattia"; + repo = "naersk"; + rev = "e0fe990b478a66178a58c69cf53daec0478ca6f9"; + sha256 = "sha256:0qjyfmw5v7s6ynjns4a61vlyj9cghj7vbpgrp9147ngb1f8krz2c"; + }; in rec { inherit nixpkgsConfig nixpkgs; @@ -50,5 +56,13 @@ rec { readTree = import ./tvl/nix/readTree {}; gopkgs = readTree ch ./gopkgs; + bat_syntaxes = import ./tvl/third_party/bat_syntaxes { pkgs = ch.depot.pkgs; }; + cheddar = import ./tvl/tools/cheddar { + pkgs = ch.depot.pkgs // { + inherit naersk bat_syntaxes; + }; + }; + naersk = nixpkgs.callPackage naerskSrc {}; + crate2nix = import "${crate2nixSrc}" { pkgs = ch.depot.pkgs; }; }