-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(nix): updates to use nixpkgs elixir 1.17 (#525)
* chore(nix): flake.lock: Update Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/57d6973abba7ea108bac64ae7629e7431e0199b6' (2024-06-12) → 'github:NixOS/nixpkgs/a71e967ef3694799d0c418c98332f7ff4cc5f6af' (2024-06-22) * chore(nix): use pkgs.elixir_1_17 and split package file
- Loading branch information
1 parent
164d3b2
commit 7086c78
Showing
4 changed files
with
43 additions
and
53 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
lib, | ||
beamPackages, | ||
elixir, | ||
}: | ||
|
||
beamPackages.mixRelease rec { | ||
pname = "next-ls"; | ||
src = ./.; | ||
mixEnv = "prod"; | ||
removeCookie = false; | ||
version = "0.23.0"; # x-release-please-version | ||
|
||
inherit elixir; | ||
inherit (beamPackages) erlang; | ||
|
||
mixFodDeps = beamPackages.fetchMixDeps { | ||
inherit src version elixir; | ||
pname = "next-ls-deps"; | ||
hash = "sha256-4Rt5Q0fX+fbncvxyXdpIhgEvn9VYX/QDxDdnbanT21Q="; | ||
mixEnv = "prod"; | ||
}; | ||
|
||
installPhase = '' | ||
mix release --no-deps-check --path $out plain | ||
echo "$out/bin/plain eval \"System.no_halt(true); Application.ensure_all_started(:next_ls)\" \"\$@\"" > "$out/bin/nextls" | ||
chmod +x "$out/bin/nextls" | ||
''; | ||
|
||
meta = with lib; { | ||
license = licenses.mit; | ||
homepage = "https://www.elixir-tools.dev/next-ls/"; | ||
description = "The language server for Elixir that just works"; | ||
mainProgram = "nextls"; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
"include-component-in-tag": false, | ||
"draft": true, | ||
"extra-files": [ | ||
"flake.nix" | ||
"package.nix" | ||
] | ||
} | ||
} | ||
|