lexical: remove from overlay
This commit is contained in:
parent
398ae0b1fa
commit
2b51693bf9
3 changed files with 0 additions and 58 deletions
|
@ -38,10 +38,6 @@ jobs:
|
|||
run: |
|
||||
nix build '.#headscale-ui'
|
||||
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
||||
- name: Build lexical
|
||||
run: |
|
||||
nix build '.#lexical'
|
||||
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
||||
- name: Build q
|
||||
run: |
|
||||
nix build '.#q'
|
||||
|
@ -78,10 +74,6 @@ jobs:
|
|||
run: |
|
||||
nix build '.#fennel-ls'
|
||||
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
||||
- name: Build lexical
|
||||
run: |
|
||||
nix build '.#lexical'
|
||||
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
||||
- name: Build q
|
||||
run: |
|
||||
nix build '.#q'
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
discord-downloader-go = callPackage ./packages/discord-downloader-go.nix { };
|
||||
fennel-ls = callPackage ./packages/fennel-ls.nix { };
|
||||
headscale-ui = callPackage ./packages/headscale-ui.nix { };
|
||||
lexical = callPackage ./packages/lexical.nix { };
|
||||
q = callPackage ./packages/q.nix { };
|
||||
redlib = callPackage ./packages/redlib.nix { };
|
||||
rexit = callPackage ./packages/rexit.nix { };
|
||||
|
|
|
@ -1,49 +0,0 @@
|
|||
{ pkgs, lib }:
|
||||
|
||||
let
|
||||
erlang = pkgs.beam_nox.interpreters.erlang_26;
|
||||
beamPackages = pkgs.beam_nox.packagesWith erlang;
|
||||
in
|
||||
beamPackages.mixRelease rec {
|
||||
pname = "lexical";
|
||||
version = "0.6.0";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "lexical-lsp";
|
||||
repo = "lexical";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-20qfzYioR1PhA0ZBcft0nhcwxB95pw5L9zoPLWd7ZIE=";
|
||||
};
|
||||
|
||||
mixFodDeps = beamPackages.fetchMixDeps {
|
||||
pname = "mix-deps-${pname}";
|
||||
inherit src version;
|
||||
sha256 = "sha256-lcLANYM18NXvDL/T7eMm+0XDhXI7qo+GOJfxROUoTlo=";
|
||||
};
|
||||
|
||||
NAMESPACE = "1";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mix do compile --no-deps-check, package --path "$out"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
preFixup =
|
||||
let
|
||||
activate_version_manager = pkgs.writeScript "activate_version_manager.sh" ''
|
||||
true
|
||||
'';
|
||||
in
|
||||
''
|
||||
substituteInPlace "$out/bin/start_lexical.sh" --replace 'elixir_command=' 'elixir_command="${beamPackages.elixir}/bin/"'
|
||||
rm "$out/bin/activate_version_manager.sh"
|
||||
ln -s ${activate_version_manager} "$out/bin/activate_version_manager.sh"
|
||||
|
||||
mv "$out/bin" "$out/binsh"
|
||||
|
||||
makeWrapper "$out/binsh/start_lexical.sh" "$out/bin/lexical" --set RELEASE_COOKIE lexical
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue