Commit Graph

21 Commits

Author SHA1 Message Date
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