mirror of
https://github.com/roc-lang/roc.git
synced 2024-10-03 21:57:31 +03:00
Fix lang-server nix package build crash
This commit is contained in:
parent
e4713ce2c5
commit
442121bfc7
@ -3,7 +3,7 @@ let
|
||||
inherit (compile-deps) zigPkg llvmPkgs llvmVersion llvmMajorMinorStr glibcPath libGccSPath;
|
||||
|
||||
subPackagePath = if subPackage != null then "crates/${subPackage}" else null;
|
||||
mainBin = if subPackage == "lang_srv" then "roc_language_server" else "roc";
|
||||
mainBin = if subPackage == "language_server" then "roc_language_server" else "roc";
|
||||
filteredSource = pkgs.callPackage ./fileFilter.nix { };
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
|
@ -18,7 +18,7 @@ let
|
||||
|
||||
# all rust crates in workspace.members of Cargo.toml
|
||||
roc-full = callPackage ./builder.nix { };
|
||||
roc-lang-server = callPackage ./builder.nix { subPackage = "lang_srv"; };
|
||||
roc-lang-server = callPackage ./builder.nix { subPackage = "language_server"; };
|
||||
# only the CLI crate = executable provided in nightly releases
|
||||
roc-cli = callPackage ./builder.nix { subPackage = "cli"; };
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user