1
0
Fork 0

lexical: remove from overlay
All checks were successful
Build / build-amd64-linux (push) Successful in 26s
Build / build-arm64-linux (push) Successful in 39s

This commit is contained in:
Daniel Kempkens 2024-06-20 14:42:57 +02:00
parent 398ae0b1fa
commit 2b51693bf9
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
3 changed files with 0 additions and 58 deletions

View file

@ -38,10 +38,6 @@ jobs:
run: | run: |
nix build '.#headscale-ui' nix build '.#headscale-ui'
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$') 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 - name: Build q
run: | run: |
nix build '.#q' nix build '.#q'
@ -78,10 +74,6 @@ jobs:
run: | run: |
nix build '.#fennel-ls' nix build '.#fennel-ls'
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$') 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 - name: Build q
run: | run: |
nix build '.#q' nix build '.#q'

View file

@ -38,7 +38,6 @@
discord-downloader-go = callPackage ./packages/discord-downloader-go.nix { }; discord-downloader-go = callPackage ./packages/discord-downloader-go.nix { };
fennel-ls = callPackage ./packages/fennel-ls.nix { }; fennel-ls = callPackage ./packages/fennel-ls.nix { };
headscale-ui = callPackage ./packages/headscale-ui.nix { }; headscale-ui = callPackage ./packages/headscale-ui.nix { };
lexical = callPackage ./packages/lexical.nix { };
q = callPackage ./packages/q.nix { }; q = callPackage ./packages/q.nix { };
redlib = callPackage ./packages/redlib.nix { }; redlib = callPackage ./packages/redlib.nix { };
rexit = callPackage ./packages/rexit.nix { }; rexit = callPackage ./packages/rexit.nix { };

View file

@ -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
'';
}