Commit Graph

29 Commits

Author SHA1 Message Date
Olivér Falvai
c26249be9a
lapce: format with nixfmt-rfc-style 2024-11-08 20:16:52 +01:00
Olivér Falvai
896db32853
lapce: unbreak x86_64-darwin 2024-11-08 20:16:04 +01:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
013943f1a9 lapce: 0.4.1 -> 0.4.2 2024-08-25 02:06:23 +00:00
R. Ryantm
fecc4a2679 lapce: 0.4.0 -> 0.4.1 2024-08-18 06:05:12 +00:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
Gaetan Lepage
a746d33489 lapce: 0.3.1 -> 0.4.0
Changelog: https://github.com/lapce/lapce/releases/tag/v0.4.0
2024-04-26 10:36:21 +02:00
Gaetan Lepage
f7c7f5d86c lapce: mark as broken on x86_64-darwin 2024-04-26 10:35:58 +02:00
a-n-n-a-l-e-e
ce789e7e35
llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043)
- merge libcxxabi into libcxx for LLVM 12, 13, 14, 15, 16, 17, and git.
- remove the link time workaround `-lc++ -lc++abi` from 58 packages as it is no longer required.
- fixes https://github.com/NixOS/nixpkgs/issues/166205
- provides alternative fixes for. https://github.com/NixOS/nixpkgs/issues/269548 https://github.com/NixOS/nix/issues/9640
- pkgsCross.x86_64-freebsd builds work again

This change can be represented in 3 stages
1. merge libcxxabi into libcxx -- files: pkgs/development/compilers/llvm/[12, git]/{libcxx, libcxxabi}
2. update stdenv to account for merge -- files: stdenv.{adapters, cc.wrapper, darwin}
3. remove all references to libcxxabi outside of llvm (about 58 packages modified)

### merging libcxxabi into libcxx
- take the union of the libcxxabi and libcxx cmake flags
- eliminate the libcxx-headers-only package - it was only needed to break libcxx <-> libcxxabi circular dependency
- libcxx.cxxabi is removed. external cxxabi (freebsd) will symlink headers / libs into libcxx.
- darwin will re-export the libcxxabi symbols into libcxx so linking `-lc++` is sufficient.
- linux/freebsd `libc++.so` is a linker script `LINK(libc++.so.1, -lc++abi)` making `-lc++` sufficient.
- libcxx/default.nix [12, 17] are identical except for patches and `LIBCXX_ADDITIONAL_LIBRARIES` (only used in 16+)
- git/libcxx/defaul.nix  does not link with -nostdlib when useLLVM is true so flag is removed. this is not much different than before as libcxxabi used -nostdlib where libcxx did not, so libc was linked in anyway.

### stdenv changes
- darwin bootstrap, remove references to libcxxabi and cxxabi
- cc-wrapper: remove c++ link workaround when libcxx.cxxabi doesn't exist (still exists for LLVM pre 12)
- adapter: update overrideLibcxx to account for a pkgs.stdenv that only has libcxx

### 58 package updates
- remove `NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}` as no longer needed
- swift, nodejs_v8 remove libcxxabi references in the clang override

https://github.com/NixOS/nixpkgs/pull/292043
2024-03-11 03:53:37 -07:00
Markus S. Wamser
936602b873 lapce: add meta.mainProgram 2024-01-19 09:08:55 +01:00
Elliot
81e926c88b
lapce: 0.2.8 -> 0.3.1 2023-12-15 13:24:31 +08:00
Wojciech Kordalski
aecf87df1c
lapce: fix derivation so that Lapce detects its version correctly
The build process of Lapce detects Lapce version
being built by reading `RELEASE_TAG_NAME`
environment variable.

It is then used, e.g., to download proper version
of `lapce-proxy` during remote development.

This commit sets this environment variable in
Lapce derivation.

Co-authored-by: Nick Cao <nickcao@nichi.co>
2023-12-08 23:59:08 +01:00
Martino Fontana
33c64b520a lapce: use upstream .desktop file 2023-07-09 15:29:32 +02:00
Philip Wilk
2e4f8554d2
lapce: disable updater 2023-06-23 04:13:07 +01:00
R. Ryantm
1df6f0d08a lapce: 0.2.7 -> 0.2.8 2023-06-06 00:37:50 +00:00
Tormod Gjeitnes Hellen
044c8c4a7d
lapce: 0.2.5 -> 0.2.7 2023-03-31 00:44:53 +02:00
Yureka
f8cbc3c281 tree-wide: convert rust with git deps to importCargoLock 2023-03-26 01:52:04 +01:00
figsoda
a211d94291 treewide: remove attrPath from nix-update-script calls
after https://github.com/Mic92/nix-update/pull/120 and https://github.com/NixOS/nixpkgs/pull/207703, `attrPath` can now be omitted when using `nix-update-script`
2022-12-26 12:39:21 -05:00
Aidan Gauland
9575b9ad90
lapce: 0.2.4 -> 0.2.5 2022-12-16 15:26:08 +13:00
Aidan Gauland
6620437660
lapce: Correct passthru.updateScript
gitUpdater does not handle cargoSha256.  Use nix-update-script instead.
2022-12-16 14:43:02 +13:00
Aidan Gauland
45ccb6df0e
lapce: Add passthru.updateScript 2022-11-25 18:33:01 +13:00
Aidan Gauland
47d50d7842
lapce: unstable-2022-09-21 -> 0.2.4 2022-11-25 18:31:19 +13:00
Sandro
f224b8a251
Apply suggestions from code review 2022-09-29 00:58:08 +02:00
tengkuizdihar
5d543bf696 Update lapce 0.1.2 -> unstable-2022-09-21 2022-09-24 08:08:14 +07:00
linsui
9884fac5df lapce: 0.1.0 -> 0.1.2 2022-06-29 19:59:37 +08:00
Mario Rodas
ebd2f4dea3 lapce: 0.0.12 -> 0.1.0
https://github.com/lapce/lapce/releases/tag/v0.1.0
2022-05-13 04:20:00 +00:00
Mario Rodas
55c3e3b030 lapce: fix build on darwin 2022-04-23 04:20:00 +00:00
Artturin
17867e6fbc lapce: 0.0.10 -> 0.0.12 2022-04-11 09:29:25 +03:00
Elliot
ceedfe8c21
lapce: init at 0.0.10
Update pkgs/applications/editors/lapce/default.nix

Co-authored-by: Leix b <abone9999@gmail.com>

Update pkgs/applications/editors/lapce/default.nix

Co-authored-by: Leix b <abone9999@gmail.com>

Update pkgs/applications/editors/lapce/default.nix

Co-authored-by: Leix b <abone9999@gmail.com>

Update pkgs/applications/editors/lapce/default.nix

Co-authored-by: Leix b <abone9999@gmail.com>

fix: undefined variables

Update pkgs/applications/editors/lapce/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

Update pkgs/applications/editors/lapce/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

Update pkgs/applications/editors/lapce/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

Update pkgs/applications/editors/lapce/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

Update pkgs/applications/editors/lapce/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

rename patch file
2022-03-16 19:28:46 +08:00